android_kernel_motorola_sm6225/drivers/infiniband/ulp/ipoib
Michael S. Tsirkin 479a079663 IPoIB: Don't start send-only joins while multicast thread is stopped
Fix the following race scenario:
  - Device is up.
  - Port event or set mcast list triggers ipoib_mcast_stop_thread,
    this cancels the query and waits on mcast "done" completion.
  - Completion is called and "done" is set.
  - Meanwhile, ipoib_mcast_send arrives and starts a new query,
    re-initializing "done".

Fix this by adding a "multicast started" bit and checking it before
starting a send-only join.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-02-07 16:37:08 -08:00
..
ipoib.h IPoIB: Don't start send-only joins while multicast thread is stopped 2006-02-07 16:37:08 -08:00
ipoib_fs.c [IPoIB] add path record information in debugfs 2005-11-10 10:22:49 -08:00
ipoib_ib.c IB: convert from semaphores to mutexes 2006-01-13 14:51:39 -08:00
ipoib_main.c IPoIB: Make sure path is fully initialized before using it 2006-01-17 09:22:05 -08:00
ipoib_multicast.c IPoIB: Don't start send-only joins while multicast thread is stopped 2006-02-07 16:37:08 -08:00
ipoib_verbs.c IB: convert from semaphores to mutexes 2006-01-13 14:51:39 -08:00
ipoib_vlan.c IB: convert from semaphores to mutexes 2006-01-13 14:51:39 -08:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00