]> 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)
commitdacc495f23ea3719bc98a8a6c148771d5097caf0
tree4b3715465e5fbbc65460a5c47049ba42e48710f2
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>
src/rsocket.c