net: Fixup iplib based on the O_NONBLOCK rules
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 30 Mar 2016 22:42:19 +0000 (18:42 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 5 Apr 2016 19:42:18 +0000 (15:42 -0400)
commit40a551349ae0d4f664bc27e9acda8c6bc2d277bf
tree101f65ece6c0271898ae726d10aface0b92472ef
parent9de5d74e7e3bff2da7308e26525dba46cb0b7105
net: Fixup iplib based on the O_NONBLOCK rules

Previously, we could open the CTL with O_NONBLOCK, and that would set the
entire conversation non-blocking.  O_NONBLOCK is now a per-chan thing.  Now
there's no reason to open the CTLs non-blocking when making a conversation,
but we do need to open the DATAs O_NONBLOCK.  We still need to open the
LISTENs O_NONBLOCK (which returns a CTL fd...).

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tests/epoll_server.c
tests/select_server.c
user/iplib/announce.c
user/iplib/dial.c