commit | 51c5aba3b672c4285fca052817f34b22dc79dda7 | [log] [tgz] |
---|---|---|
author | Karsten Graul <kgraul@linux.ibm.com> | Wed Jan 30 18:51:04 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 01 14:45:45 2019 -0800 |
tree | 7a53022bef0acdf4f2d067a9140eb9a3bbaea271 | |
parent | 6889b36da78a21a312d8b462c1fa25a03c2ff192 [diff] |
net/smc: recvmsg and splice_read should return 0 after shutdown When a socket was connected and is now shut down for read, return 0 to indicate end of data in recvmsg and splice_read (like TCP) and do not return ENOTCONN. This behavior is required by the socket api. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>