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.