]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit8d2cae0651502028bf64844508ab18528bbd65c2
tree6e166a94e5f581c683d2b29e792665082b21afd5
parenteff4c654b1a4a5e5493fbdc3affa6dd48765c085
[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