[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1458754165.10868.41.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Wed, 23 Mar 2016 10:29:25 -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 Wed, 2016-03-23 at 21:29 +0800, Herbert Xu wrote:
> On Wed, Mar 23, 2016 at 06:25:47AM -0700, Eric Dumazet wrote:
> >
> > Wont this prevent device from being dismantled ?
>
> This is only held while the crypto processing is ongoing.
>
> > Where is this xfrm queue purged at device dismantle ?
>
> There is no way to cancel an ongoing crypto processing so you'll
> just have to wait it out.
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.
Thanks.
Powered by blists - more mailing lists