android_kernel_samsung_msm8976/drivers/infiniband/ulp
Yossi Etigin fe25c56190 IPoIB: Don't enable NAPI when it's already enabled
If a P_Key is not present when an interface is created, ipoib_open()
will return after doing napi_enable().  ipoib_open() will be called
again from ipoib_pkey_poll() when the P_Key appears, after NAPI has
already been enabled, and try to enable it again. This triggers a
BUG_ON() in napi_enable().

Fix this by moving the call to napi_enable() to after the test for
P_Key presence.

Signed-off-by: Yossi Etigin <yosefe@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-11-12 10:24:36 -08:00
..
ipoib IPoIB: Don't enable NAPI when it's already enabled 2008-11-12 10:24:36 -08:00
iser [SCSI] libiscsi: rename host reset to target reset 2008-10-13 09:28:59 -04:00
srp vfs: Use const for kernel parser table 2008-10-13 10:10:37 -07:00