net_native: lots of fixes
authorBrett Gordon <beretta42@gmail.com>
Sun, 28 Aug 2016 16:10:38 +0000 (17:10 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 28 Aug 2016 16:13:18 +0000 (17:13 +0100)
commitcb5721b82a2d3e25585473629eea7fea90cbee9e
tree312c6ccd79647705ac7c0c545ba504203ad399eb
parent855d99b86b981568dd8d4c29f829788feff457d9
net_native: lots of fixes

Merge a load of fixes from Brett Gordon into the net_native code. With these
applied it might even be usable!

There are a couple of changes from Brett's original - we want to report EOF
not EPIPE on reads of a closed socket, and we want to assume that the shutdown
flags will be set by the daemon rather than add extra closed socket checks.
Kernel/dev/net/net_native.c