[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1485454484.5145.148.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Thu, 26 Jan 2017 10:14:44 -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 10:00 -0800, Eric Dumazet wrote:
> 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() ;)
Oh well, I obviously did not parse properly your suggestion.
Powered by blists - more mailing lists