[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160323.220820.1513725139701314911.davem@davemloft.net>
Date: Wed, 23 Mar 2016 22:08:20 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: herbert@...dor.apana.org.au, subashab@...eaurora.org,
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
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 23 Mar 2016 18:39:57 -0700
> 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.
Anyways this patch needs to be redone because it is corrupted by the
submitter's email client.
I'll queue it up and make sure e9e4dd3267d0c5234c5c0f47440456b10875dec9
ends up in -stable where needed.
Thanks.
Powered by blists - more mailing lists