diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2019-01-30 18:51:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-01 14:45:45 -0800 |
commit | 51c5aba3b672c4285fca052817f34b22dc79dda7 (patch) | |
tree | 7a53022bef0acdf4f2d067a9140eb9a3bbaea271 /tools/vm | |
parent | 6889b36da78a21a312d8b462c1fa25a03c2ff192 (diff) | |
download | linux-51c5aba3b672c4285fca052817f34b22dc79dda7.tar.gz linux-51c5aba3b672c4285fca052817f34b22dc79dda7.tar.bz2 linux-51c5aba3b672c4285fca052817f34b22dc79dda7.zip |
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>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions