]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] IPoIB: Don't flush workqueue from within workqueue
authorRoland Dreier <rolandd@cisco.com>
Tue, 20 Sep 2005 17:52:04 +0000 (10:52 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 20 Sep 2005 17:52:04 +0000 (10:52 -0700)
commitf6e5e41a025da20f442dc1ebbca92c3468f18b8b
tree6e166a94e5f581c683d2b29e792665082b21afd5
parent3da7f656325146adb0289df968981f8ba54f9f85
[PATCH] IPoIB: Don't flush workqueue from within workqueue

ipoib_mcast_restart_task() is always called from within the
single-threaded IPoIB workqueue, so flushing the workqueue from within
the function can lead to a recursion overflow.  But since we're
running in a single-threaded workqueue, we're already synchronized
against other items in the workqueue, so just get rid of the flush in
ipoib_mcast_restart_task().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_ib.c
drivers/infiniband/ulp/ipoib/ipoib_multicast.c