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

2016-11-16 Thread David Miller
From: Eric Dumazet Date: Wed, 16 Nov 2016 06:19:02 -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] cxgb4: 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: Hariprasad S --- drivers/net/ethernet/