From: Lendacky, Thomas Date: Wed, 2 Jul 2014 18:04:40 +0000 (-0500) Subject: amd-xgbe: Call netif_napi_del on ndo_stop operation X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~216^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff42606eed00bc065365f55269d558c06b968594;p=pandora-kernel.git amd-xgbe: Call netif_napi_del on ndo_stop operation Currently the napi context is added using netif_napi_add each time the ndo_open operation is called. However, there is not a corresponding netif_napi_del call during the ndo_stop operation. If the device ndo_open operation was called more than once an infinite loop occurs during module unload. Add a call to netif_napi_del during the ndo_stop operation. Signed-off-by: Tom Lendacky Signed-off-by: David S. Miller --- Reading git-diff-tree failed