[PATCH v2 net-next 0/2] skbuff: Switch structure bounds to struct_group()

From: Kees Cook
Date: Sat Nov 20 2021 - 19:32:14 EST


Hi,

This is a pair of patches to add struct_group() to struct sk_buff. The
first is needed to work around sparse-specific complaints, and is new
for v2. The second patch is the same as originally sent as v1.

-Kees

Kees Cook (2):
skbuff: Move conditional preprocessor directives out of struct sk_buff
skbuff: Switch structure bounds to struct_group()

drivers/net/wireguard/queueing.h | 4 +--
include/linux/skbuff.h | 46 +++++++++++++++-----------------
net/core/filter.c | 10 +++----
net/core/skbuff.c | 14 ++++------
4 files changed, 33 insertions(+), 41 deletions(-)

--
2.30.2