summaryrefslogtreecommitdiff
path: root/net/smc/smc_tx.c
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2019-01-30 20:51:04 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-02 01:45:45 +0300
commit51c5aba3b672c4285fca052817f34b22dc79dda7 (patch)
tree7a53022bef0acdf4f2d067a9140eb9a3bbaea271 /net/smc/smc_tx.c
parent6889b36da78a21a312d8b462c1fa25a03c2ff192 (diff)
downloadlinux-51c5aba3b672c4285fca052817f34b22dc79dda7.tar.xz
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 'net/smc/smc_tx.c')
0 files changed, 0 insertions, 0 deletions