linux/drivers/infiniband/ulp/ipoib
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_cm.c IPoIB: Use netif_tx_lock() and get rid of private tx_lock, LLTX 2008-09-30 10:36:21 -07:00
ipoib_ethtool.c IPoIB: Clean up ethtool support 2008-10-22 15:49:29 -07:00
ipoib_fs.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
ipoib_ib.c IPoIB: Always initialize poll_timer to avoid crash on unload 2008-10-10 15:58:52 -07:00
ipoib_main.c IPoIB: Don't enable NAPI when it's already enabled 2008-11-12 10:24:36 -08:00
ipoib_multicast.c IPoIB: Use netif_tx_lock() and get rid of private tx_lock, LLTX 2008-09-30 10:36:21 -07:00
ipoib_verbs.c IPoIB: Get rid of ipoib_mcast_detach() wrapper 2008-07-14 23:48:50 -07:00
ipoib_vlan.c IPoIB: Set netdev offload features properly for child (VLAN) interfaces 2008-10-22 15:49:49 -07:00
ipoib.h IPoIB: Set netdev offload features properly for child (VLAN) interfaces 2008-10-22 15:49:49 -07:00
Kconfig IPoIB: Correct help text for INFINIBAND_IPOIB_DEBUG 2008-07-24 20:37:25 -07:00
Makefile IPoIB: Add basic ethtool support 2008-04-16 21:09:32 -07:00