From: Stephen Hemminger Date: Tue, 4 Dec 2007 01:02:17 +0000 (-0800) Subject: sky2: recovery deadlock fix X-Git-Tag: v2.6.24-rc5~106^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cfcbe998aa0459e20bbad61376f81c1715b25d6;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed