summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc911x.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-12-03 17:02:17 -0800
committerJeff Garzik <jeff@garzik.org>2007-12-04 14:53:22 -0500
commit8cfcbe998aa0459e20bbad61376f81c1715b25d6 (patch)
tree828292f0360481a8d6e1f9b3386321ec6fba788d /drivers/net/smc911x.c
parent4c537e6371a9510c82eb96fb7e1e66017e0e2053 (diff)
downloadblackbird-op-linux-8cfcbe998aa0459e20bbad61376f81c1715b25d6.tar.gz
blackbird-op-linux-8cfcbe998aa0459e20bbad61376f81c1715b25d6.zip
sky2: recovery deadlock fix
Prevent deadlock in sky2 recovery logic. sky2_down calls napi_synchronize which gets stuck if napi was already disabled. Fix by rearranging slightly and not calling napi_disable until after both ports are stopped. The napi_disable probably is being overly paranoid, but it is safe now. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/smc911x.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud