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