[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zypc3LDteksSMZ87@LQ3V64L9R2>
Date: Tue, 5 Nov 2024 09:58:52 -0800
From: Joe Damato <jdamato@...tly.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next 6/7] net: add debug check in
skb_reset_network_header()
On Tue, Nov 05, 2024 at 05:44:02PM +0000, Eric Dumazet wrote:
> Make sure (skb->data - skb->head) can fit in skb->network_header
>
> This needs CONFIG_DEBUG_NET=y.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> include/linux/skbuff.h | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Reviewed-by: Joe Damato <jdamato@...tly.com>
Powered by blists - more mailing lists