android_kernel_xiaomi_sm8350/drivers/infiniband/ulp/ipoib
Roland Dreier 2767840a5c IPoIB: Always initialize poll_timer to avoid crash on unload
ipoib_ib_dev_stop() does del_timer_sync(&priv->poll_timer), but if a
P_key for an interface is not found, poll_timer is not initialized, so
this leads to a crash or hang.  Fix this by moving where poll_timer is
initialized to ipoib_ib_dev_init(), which is always called.

This fixes <https://bugs.openfabrics.org/show_bug.cgi?id=1172>.

Debugged-by: Yosef Etigin <yosefe@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-10-10 15:58:52 -07: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: add LRO support 2008-07-14 23:48:48 -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: Use netif_tx_lock() and get rid of private tx_lock, LLTX 2008-09-30 10:36:21 -07: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 RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
ipoib.h IPoIB: Use netif_tx_lock() and get rid of private tx_lock, LLTX 2008-09-30 10:36:21 -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