]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Fix RoCE v1 multicast join logic issue
authorAlex Vesker <valex@mellanox.com>
Wed, 22 Jun 2016 14:27:23 +0000 (17:27 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 14:03:57 +0000 (10:03 -0400)
commit68c1938eeb4a96ac0eeec826dc0371f017095288
tree9db865f1f2b54ebfcccf6aa761cbdd86a3f51b2d
parent7d0ffbbebad7eab52f9bd638a17117050642cc5c
IB/core: Fix RoCE v1 multicast join logic issue

During multicast join of RoCEv1, IGMP join state and max hop limit
were updated incorrectly. IGMP join should be sent and marked as
joined only on RoCEv2 after a successful join. Max hops should be
updated to the hop limit on RoCEv2 regardless of the join state.

Fixes: e90ba47bf2df ('IB/cma: Join and leave multicast groups...')
Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c