net: Use chan flag O_NONBLOCK for nonblocking
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 30 Mar 2016 22:37:42 +0000 (18:37 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 5 Apr 2016 19:42:18 +0000 (15:42 -0400)
commit9de5d74e7e3bff2da7308e26525dba46cb0b7105
tree6841b37b14df61a32f827c9bc45d64d09cc47d73
parent821d21664e64d1de814273f9586c9da2e79aae66
net: Use chan flag O_NONBLOCK for nonblocking

Instead of setting the entire conversation (and thus the queues underneath)
to nonblocking, we now use the chan flag.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/ip.h
kern/src/net/devip.c