]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 19 Sep 2012 04:51:02 +0000 (21:51 -0700)
commit45a60df0b1f8afcb57f95941be17a91674d5d9a5
tree94e036886618546f6fdb2940e8c45f698f90807e
parent5993a560f0e7dcaae0e9e7ed2cb976670f655d16
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