From: Ben Hutchings Date: Wed, 15 Apr 2009 02:47:46 +0000 (-0700) Subject: sfc: Match calls to netif_napi_add() and netif_napi_del() X-Git-Tag: v2.6.30-rc3~78^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=718cff1eec595ce6ab0635b8160a51ee37d9268d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed