linux/drivers/infiniband/ulp/ipoib
Erez Shitrit a9c8ba5884 IPoIB: Fix usage of uninitialized multicast objects
The driver should avoid calling ib_sa_free_multicast on the mcast->mc
object until it finishes its initialization state.  Otherwise we can
crash when ipoib_mcast_dev_flush() attempts to use the uninitialized
multicast object.

Instead, only call wait_for_completion() for multicast entries that
started the join process, meaning that ib_sa_join_multicast() finished.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2013-11-08 14:42:49 -08:00
..
ipoib_cm.c IPoIB: Change CM skb memory allocation to be non-atomic during init 2013-11-08 14:42:48 -08:00
ipoib_ethtool.c IPoIB: Add version and firmware info to ethtool reporting 2013-02-19 08:21:36 -08:00
ipoib_fs.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
ipoib_ib.c IPoIB: Avoid flushing the driver workqueue on dev_down 2013-11-08 14:42:49 -08:00
ipoib_main.c IPoIB: Fix deadlock between dev_change_flags() and __ipoib_dev_flush() 2013-11-08 14:42:49 -08:00
ipoib_multicast.c IPoIB: Fix usage of uninitialized multicast objects 2013-11-08 14:42:49 -08:00
ipoib_netlink.c IPoIB: Fix deadlock between dev_change_flags() and __ipoib_dev_flush() 2013-11-08 14:42:49 -08:00
ipoib_verbs.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ipoib_vlan.c IPoIB: Fix deadlock between dev_change_flags() and __ipoib_dev_flush() 2013-11-08 14:42:49 -08:00
ipoib.h IPoIB: Fix usage of uninitialized multicast objects 2013-11-08 14:42:49 -08:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile IB/ipoib: Add rtnl_link_ops support 2012-09-20 16:49:17 -04:00