Re: [PATCH net] be2net: do not call napi_hash_del()

2016-11-16 Thread David Miller
From: Eric Dumazet Date: Wed, 16 Nov 2016 06:12:42 -0800 > From: Eric Dumazet > > Calling napi_hash_del() before netif_napi_del() is dangerous > if a synchronize_rcu() is not enforced before NAPI struct freeing. > > Lets leave this detail to core networking stack and feel > more comfortable. >

[PATCH net] be2net: do not call napi_hash_del()

2016-11-16 Thread Eric Dumazet
From: Eric Dumazet Calling napi_hash_del() before netif_napi_del() is dangerous if a synchronize_rcu() is not enforced before NAPI struct freeing. Lets leave this detail to core networking stack and feel more comfortable. Signed-off-by: Eric Dumazet Cc: Sathya Perla Cc: Ajit Khaparde Cc: Sri