[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241105174403.850330-1-edumazet@google.com>
Date: Tue, 5 Nov 2024 17:43:56 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/7] net: add debug checks to skb_reset_xxx_header()
Add debug checks (only enabled for CONFIG_DEBUG_NET=y builds),
to catch bugs earlier.
Eric Dumazet (7):
net: skb_reset_mac_len() must check if mac_header was set
net: add debug check in skb_reset_inner_transport_header()
net: add debug check in skb_reset_inner_network_header()
net: add debug check in skb_reset_inner_mac_header()
net: add debug check in skb_reset_transport_header()
net: add debug check in skb_reset_network_header()
net: add debug check in skb_reset_mac_header()
include/linux/skbuff.h | 47 +++++++++++++++++++++++++++++++-----------
1 file changed, 35 insertions(+), 12 deletions(-)
--
2.47.0.199.ga7371fff76-goog
Powered by blists - more mailing lists