linux_dsm_epyc7002/drivers/infiniband/ulp/ipoib
Sean Hefty e07832b662 IPoIB: Fix race in detaching from mcast group before attaching
There's a race between ipoib_mcast_leave() and ipoib_mcast_join_finish()
where we can try to detach from a multicast group before we've
attached to it.  Fix this by reordering the code in ipoib_mcast_leave
to free the multicast group first, which waits for the multicast
callback thread (which calls ipoib_mcast_join_finish()) to complete
before detaching from the group.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-03-22 14:32:09 -07:00
..
ipoib_cm.c IPoIB/cm: Fix reaping of stale connections 2007-03-22 14:32:09 -07:00
ipoib_fs.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipoib_ib.c IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
ipoib_main.c IPoIB: Correct debugging output when path record lookup fails 2007-02-26 12:57:08 -08:00
ipoib_multicast.c IPoIB: Fix race in detaching from mcast group before attaching 2007-03-22 14:32:09 -07:00
ipoib_verbs.c IPoIB: Only handle async events for one port 2007-02-27 07:37:49 -08:00
ipoib_vlan.c IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
ipoib.h IPoIB: Remove unused local_rate tracking 2007-02-21 20:28:05 -08:00
Kconfig IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
Makefile IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00