[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1458783597.10868.60.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Wed, 23 Mar 2016 18:39:57 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Subash Abhinov Kasiviswanathan <subashab@...eaurora.org>,
'Steffen Klassert' <steffen.klassert@...unet.com>,
netdev@...r.kernel.org, jeromes@...eaurora.org
Subject: Re: [PATCH net v2] xfrm: Fix crash observed during device
unregistration and decryption
On Thu, 2016-03-24 at 08:45 +0800, Herbert Xu wrote:
> On Wed, Mar 23, 2016 at 10:29:25AM -0700, Eric Dumazet wrote:
> >
> > OK, but before calling netif_rx() are we properly testing dev->flags
> > IFF_UP status ?
> >
> > Otherwise, we still allow packets being queued after flush_backlog() had
> > been called.
>
> That's the first thing enqueue_to_backlog tests.
>
> Cheers,
Seems to be very recent stuff ( commit
e9e4dd3267d0c5234c5c0f47440456b10875dec9 in linux-4.2)
In the old days the test was done in callers, since in most cases NIC
drivers do not need it.
Lets make sure this was backported to all stable trees.
And then we probably can cleanup some callers as well.
Powered by blists - more mailing lists