recv*: return EAGAIN instead of EINVAL when no OOB data available
commit5a1ceeb3bfd622beddd0793b01517566246771ed
authorLauri Tirkkonen <lotheac@iki.fi>
Wed, 26 Oct 2016 12:52:28 +0000 (26 15:52 +0300)
committerLauri Tirkkonen <lotheac@iki.fi>
Wed, 26 Oct 2016 14:41:22 +0000 (26 17:41 +0300)
tree31df6b0182906b234558f96919f382d619f6fe39
parent9debbb81905b7ef22b4a091674cd0f59bdf27b38
recv*: return EAGAIN instead of EINVAL when no OOB data available

POSIX allows both, but EAGAIN is clearer
lib/libc/recv.2
usr/src/uts/common/fs/sockfs/sockcommon_subr.c