]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
SUNRPC: Don't force a redundant disconnection in xs_read_stream()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 3 Dec 2018 23:49:00 +0000 (18:49 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 5 Dec 2018 12:11:12 +0000 (07:11 -0500)
commit79462857eb547e5d17fc8445b9768615e02dc1cf
tree0f9dfe922df7ec9ca2160d6edda7eb1aac848e8b
parentdfcf0380858b4e760ae02665649d884d1baa50c9
SUNRPC: Don't force a redundant disconnection in xs_read_stream()

If the connection is broken, then xs_tcp_state_change() will take care
of scheduling the socket close as soon as appropriate. xs_read_stream()
just needs to report the error.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtsock.c