• Roland Dreier's avatar
    [PATCH] IPoIB: Don't flush workqueue from within workqueue · 8d2cae06
    Roland Dreier authored
    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: default avatarRoland Dreier <rolandd@cisco.com>
    8d2cae06
ipoib_ib.c 17.3 KB