aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/ipoib/ipoib_vlan.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2009-01-14 14:55:41 -0800
committerRoland Dreier <rolandd@cisco.com>2009-01-14 14:55:41 -0800
commitb8a1b1ce14252b59b2d5c89de25b54f9bfd4cc5e (patch)
treeb3bf96fe0646bd30684391f1f9565347566cdd0c /drivers/infiniband/ulp/ipoib/ipoib_vlan.c
parentMerge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (diff)
downloadlinux-dev-b8a1b1ce14252b59b2d5c89de25b54f9bfd4cc5e.tar.xz
linux-dev-b8a1b1ce14252b59b2d5c89de25b54f9bfd4cc5e.zip
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 <yosefe@Voltaire.COM> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_vlan.c')
0 files changed, 0 insertions, 0 deletions