]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[DECNET]: fix SIGPIPE
authorPatrick Caulfield <patrick@tykepenguin.com>
Fri, 11 Nov 2005 20:04:28 +0000 (12:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Nov 2005 20:04:28 +0000 (12:04 -0800)
commit9eb5c94ef217d61d974f384b29b7298490b0a4d9
tree3ebe183f50a90c64834f1f836e541e509979e856
parent388f7ef720a982f49925e7b4e96f216f208f8c03
[DECNET]: fix SIGPIPE

Currently recvmsg generates SIGPIPE whereas sendmsg does not; for the
other stacks it seems to be the other way round!

It also fixes the bug where reading from a socket whose peer has shutdown
returned -EINVAL rather than 0.

Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/af_decnet.c