aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/mlx4/en_rx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-04-14 19:47:46 -0700
committerDavid S. Miller <davem@davemloft.net>2009-04-14 19:47:46 -0700
commit718cff1eec595ce6ab0635b8160a51ee37d9268d (patch)
treeee512c3d6d6370586b3219e92e5451475a7413b7 /drivers/net/mlx4/en_rx.c
parent2690f8d62e98779c71625dba9a0fd525d8b2263d (diff)
sfc: Match calls to netif_napi_add() and netif_napi_del()
sfc could call netif_napi_add() multiple times for the same napi_struct, corrupting the list of napi_structs for the associated device and leading to a busy-loop on device removal. Move the call to netif_napi_add() and add a call to netif_napi_del() in the obvious places. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/en_rx.c')
0 files changed, 0 insertions, 0 deletions