diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-04-15 01:39:03 +0100 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2009-04-27 10:37:01 -0700 |
commit | 926e66275ddb852a4a4686df9b6b0f760746c7a3 (patch) | |
tree | 1428aa80a492cf929cad2a226d32313813318b22 /sound | |
parent | 9feb2c00e5d5b267912846454d7d0c85b6abd434 (diff) |
sfc: Match calls to netif_napi_add() and netif_napi_del()
upstream commit: 718cff1eec595ce6ab0635b8160a51ee37d9268d
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.
[bhutchings: backport to 2.6.29]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions