]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rsocket: Return -1 from raccept in case of EAGAIN error
authorSasha Kotchubievsky <sashakot@mellanox.com>
Tue, 10 Feb 2015 20:23:52 +0000 (12:23 -0800)
committerSean Hefty <sean.hefty@intel.com>
Tue, 10 Feb 2015 20:23:52 +0000 (12:23 -0800)
commit8d5251952074622e8be0c9828d5eb573b4a1c6d2
tree46d8983575845f36b314a540a1a90fb03a15cd1e
parent5e78ef2974ae364cf7682919e5120a1e1bc2a807
rsocket: Return -1 from raccept in case of EAGAIN error

If no pending connections are present for the rsocket
marked as nonblocknig, raccept should fail with the error
EAGAIN or EWOULDBLOCK.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/rsocket.c