RDMA/ucma: Allow user space to bind to AF_IB
authorSean Hefty <sean.hefty@intel.com>
Wed, 29 May 2013 17:09:31 +0000 (10:09 -0700)
committerRoland Dreier <roland@purestorage.com>
Fri, 21 Jun 2013 06:35:43 +0000 (23:35 -0700)
commiteebe4c3a62aadb64ba30bde97b96d656e369d934
treebee1a741899b80595855bfcbc0e67b4df24c0983
parent05ad94577ecd5a101889d04aa099b738ec5ee34f
RDMA/ucma: Allow user space to bind to AF_IB

Support user space binding to addresses using AF_IB.  Since
sockaddr_ib is larger than sockaddr_in6, we need to define a larger
structure when binding using AF_IB.  This time we use sockaddr_storage
to cover future cases.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/ucma.c
include/uapi/rdma/rdma_user_cm.h