[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1485453601.5145.142.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Thu, 26 Jan 2017 10:00:01 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Florian Westphal <fw@...len.de>
Cc: Roy Keene <lkml@...ene.org>, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org
Subject: Re: ip_rcv_finish() NULL pointer kernel panic
On Thu, 2017-01-26 at 17:24 +0100, Florian Westphal wrote:
> I think it makes sense to set dst->incoming
> to a stub in br_netfilter_rtable_init() to just kfree_skb()+
> WARN_ON_ONCE(), no need to add code to ip stack or crash kernel
> due to brnf bug.
Just kfree_skb() would hide bugs.
Dropping packets is not uncommon in networking...
I would rather use at least a WARN_ON_ONCE() before the kfree_skb() ;)
Powered by blists - more mailing lists