]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: Allow enabling reuseaddr in any state
authorSean Hefty <sean.hefty@intel.com>
Wed, 29 May 2013 17:09:08 +0000 (10:09 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 20 Jun 2013 20:08:01 +0000 (13:08 -0700)
commitc105f8dedd45a75fc1fb2627b55a6d407545e111
treeb58838819bc28a904549e96e5a58127aea39b0fb
parent879115a75830598bb437c1ab63bec0b70baf590a
RDMA/cma: Allow enabling reuseaddr in any state

The rdma_cm only allows setting reuseaddr if the corresponding
rdma_cm_id is in the idle state.  Allow setting this value in other
states.  This brings the behavior more inline with sockets.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cma.c