From: Roland Dreier Date: Wed, 14 Jan 2009 22:55:41 +0000 (-0800) Subject: IPoIB: Fix hang in napi_disable() if P_Key is never found X-Git-Tag: v2.6.29-rc3~46^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8a1b1ce14252b59b2d5c89de25b54f9bfd4cc5e;p=pandora-kernel.git IPoIB: Fix hang in napi_disable() if P_Key is never found After commit fe25c561 ("IPoIB: Don't enable NAPI when it's already enabled"), if an interface is brought up but the corresponding P_Key never appears, then ipoib_stop() will hang in napi_disable(), because ipoib_open() returns before it does napi_enable(). Fix this by changing ipoib_open() to call napi_enable() even if the P_Key isn't present. Reported-by: Yossi Etigin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed