]> git.openfabrics.org - ~shefty/librdmacm.git/commit
Retrieve SGID after calling rdma_bind_addr
authorSean Hefty <sean.hefty@intel.com>
Mon, 11 Nov 2013 18:24:54 +0000 (10:24 -0800)
committerSean Hefty <sean.hefty@intel.com>
Mon, 11 Nov 2013 18:24:54 +0000 (10:24 -0800)
commitc38d43aa2d5dc39dd98f813749dfa496875ad2e1
tree3f0f755cc697431003b30643243d3810ff2c40fe
parentfaafeac08920a37994da19d72fd7ba1e64281f83
Retrieve SGID after calling rdma_bind_addr

A change was made to rdma_bind_addr when AF_IB is enabled
to only retrieve the resulting bound address.  Previously,
rdma_bind_addr would retrieve the corresponding SGID as
well.  This breaks some apps which were checking the
SGID after binding to an IP address.  Revert to the
previous behavior of also retrieving the SGID after
calling rdma_bind_addr.

Tested-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/cma.c