[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iLqE1XUvb1nt1vU_YtHqmeqPqVTDrn=FSGFx4FUm2ajNw@mail.gmail.com>
Date: Wed, 11 May 2022 10:30:19 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>, Paolo Abeni <pabeni@...hat.com>,
Menglong Dong <imagedong@...cent.com>
Subject: Re: [PATCH net-next] skbuff: replace a BUG_ON() with the new DEBUG_NET_WARN_ON_ONCE()
On Wed, May 11, 2022 at 10:23 AM Jakub Kicinski <kuba@...nel.org> wrote:
>
> Very few drivers actually have Kconfig knobs for adding
> -DDEBUG. 8 according to a quick grep, while there are
> 93 users of skb_checksum_none_assert(). Switch to the
> new DEBUG_NET_WARN_ON_ONCE() to catch bad skbs.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists