diff options
author | Roland Dreier <rolandd@cisco.com> | 2009-01-14 14:55:41 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-01-14 14:55:41 -0800 |
commit | b8a1b1ce14252b59b2d5c89de25b54f9bfd4cc5e (patch) | |
tree | b3bf96fe0646bd30684391f1f9565347566cdd0c /drivers/pci | |
parent | e0b325d310a6b11f1538413fd557d2eb98f2fae5 (diff) |
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/pci')
0 files changed, 0 insertions, 0 deletions