]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: Use consistent component mask for IPoIB port space multicast joins
authorDotan Barak <dotanb@dev.mellanox.co.il>
Thu, 30 Aug 2012 09:09:55 +0000 (09:09 +0000)
committerRoland Dreier <roland@purestorage.com>
Mon, 1 Oct 2012 03:31:47 +0000 (20:31 -0700)
commitd8fe3c30b87405365b4f5dab50bc59086b86dd77
tree8c86b58f1b63d07430a0da4b24c6156939daeb5e
parent6a064aa42c76c4410b6620f3967d2695be5423f6
RDMA/cma: Use consistent component mask for IPoIB port space multicast joins

CMA multicast joins for the IPoIB port space need to use the same
component mask used by the ipoib driver.  Otherwise, it's possible for
the CMA to create a group to which a join made by ipoib will fail, or
vise-versa.  Some of the component mask fields set by ipoib weren't
set by the CMA, fix that.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cma.c