]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
dapl: use private_data_len for mem copies
authorSean Hefty <sean.hefty@intel.com>
Sat, 23 Jan 2010 00:22:36 +0000 (16:22 -0800)
committerSean Hefty <sean.hefty@intel.com>
Sat, 23 Jan 2010 00:22:36 +0000 (16:22 -0800)
When copying private_data out of rdma_cm events, use the
reported private_data_len for the size, and not IB maximums.
This fixes a bug running over the librdmacm on windows, where
DAPL accessed invalid memory.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>

No differences found