]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rsockets: Fix setting flags in rfctl
authorSean Hefty <sean.hefty@intel.com>
Fri, 6 Feb 2015 05:17:03 +0000 (21:17 -0800)
committerSean Hefty <sean.hefty@intel.com>
Fri, 6 Feb 2015 05:17:03 +0000 (21:17 -0800)
commit4589e78579e834b53d583ab1aee2f9566ea722d2
treebc6e27468c0f7e18f8977628c2581cff36914899
parent5c5bd081e37a5788defb0ca0bc907b588524fa44
rsockets: Fix setting flags in rfctl

The rfcntl() call to set rsocket flags merely OR's in
the updated flags with the existing ones, rather than
replacing them.  Also, it does not handle setting an
rsocket from nonblocking mode back to blocking mode.

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