Yosef Etigin wrote: > I don't think it will work, because the lock is taken way before your > flag is set. > If the lock is taken (by rtnl that calls ipoib_stop) and the flag is > not set yet, > ipoib_mcast_join_task() will still try to take the lock, and we have a deadlock. > Can you test it? Tziporet > >