]> 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)
commitbb8c7a321102a77a1d0b8e361f166fa00fc57c03
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.