RDMA/cma: Fix accessing invalid private data for UD
authorSean Hefty <sean.hefty@intel.com>
Wed, 24 Jul 2013 22:06:08 +0000 (15:06 -0700)
committerRoland Dreier <roland@purestorage.com>
Wed, 31 Jul 2013 07:50:40 +0000 (00:50 -0700)
If a application is using AF_IB with a UD QP, but does not provide any
private data, we will end up accessing invalid memory.  Check for this
case and handle it appropriately.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found