]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Make sure no in-flight joins while leaving that mcast
authorErez Shitrit <erezsh@mellanox.com>
Wed, 12 Jul 2017 10:11:54 +0000 (13:11 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 23 Jul 2017 06:45:11 +0000 (09:45 +0300)
commitb4ccbca406af9749a49238ae83e6cbfbff39541c
treea9062a0fc6836e5df1f9495a41c60eaacafed1b3
parent6c3b7a37037f1ca333fe5ed33ae2d065f51c1a7e
IB/ipoib: Make sure no in-flight joins while leaving that mcast

While cleaning neighs and there is a send-only mcast neigh, the driver
should wait to finish its join process before trying to remove it.

Without this patch, we will see messages like: "ipoib_mcast_leave on an
in-flight join" and unexpected results in the join_complete.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/ulp/ipoib/ipoib_multicast.c