cxgb4: do not call napi_hash_del()
commit5f00a8d8a2c2fd99528ab1a3632f0e77f4d25202
authorEric Dumazet <edumazet@google.com>
Wed, 16 Nov 2016 14:19:02 +0000 (16 06:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 22:06:51 +0000 (16 17:06 -0500)
treee9f99669ffd7817c34d3bb0c77ec1a148f915414
parentea339343d64a14594d882ccb52e8619d42defe5e
cxgb4: do not call napi_hash_del()

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 <edumazet@google.com>
Cc: Hariprasad S <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c