]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: xs_sock_mark_closed() does not need to trigger socket autoclose
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 18 Sep 2015 13:52:07 +0000 (09:52 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 19 Sep 2015 20:38:35 +0000 (16:38 -0400)
commita5d02a19c0109971149145e7cef65b39771f6c8c
tree644e6f46e2cd6b16ac9dedca34c54f8314081325
parent15cf12a13b852a8b9e98a9613313694be7c7c503
SUNRPC: xs_sock_mark_closed() does not need to trigger socket autoclose

Under all conditions, it should be quite sufficient just to mark
the socket as disconnected. It will then be closed by the
transport shutdown or reconnect code.

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