linux/drivers/infiniband/ulp
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 IPoIB: Fix usage of uninitialized multicast objects 2013-11-08 14:42:49 -08:00
iser Main batch of InfiniBand/RDMA changes for 3.12 merge window: 2013-09-05 09:39:27 -07:00
isert iser-target: check device before dereferencing its variable 2013-10-23 21:42:33 -07:00
srp IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline 2013-07-11 16:43:48 -07:00
srpt ib_srpt: always set response for task management 2013-10-03 04:23:17 -07:00