skmsg: convert struct sk_msg_sg::copy to a bitmap
authorEric Dumazet <edumazet@google.com>
Sat, 5 Feb 2022 04:56:14 +0000 (20:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Feb 2022 15:34:47 +0000 (15:34 +0000)
commit5a8fb33e530512ee67a11b30f3451a4f030f4b01
tree5cfef7703978a16f1d0720a3fd47f883f90569ae
parentd2692eee05b8502dbe4c480405feec79f4efbb55
skmsg: convert struct sk_msg_sg::copy to a bitmap

We have plans for increasing MAX_SKB_FRAGS, but sk_msg_sg::copy
is currently an unsigned long, limiting MAX_SKB_FRAGS to 30 on 32bit arches.

Convert it to a bitmap, as Jakub suggested.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skmsg.h
net/core/filter.c