[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZypcqaOdDgTV0fLL@LQ3V64L9R2>
Date: Tue, 5 Nov 2024 09:58:01 -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 4/7] net: add debug check in
skb_reset_inner_mac_header()
On Tue, Nov 05, 2024 at 05:44:00PM +0000, Eric Dumazet wrote:
> Make sure (skb->data - skb->head) can fit in skb->inner_mac_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