aboutsummaryrefslogtreecommitdiff
path: root/fs/compat.c
diff options
context:
space:
mode:
authorTrond Myklebust2015-06-19 16:17:57 -0400
committerTrond Myklebust2015-06-19 19:20:12 -0400
commit4876cc779ff525b9c2376d8076edf47815e71f2c (patch)
tree9e9eecb8c4cc2c79a19104e4a9846d4f330ed40d /fs/compat.c
parent3832591e6fa53d8126d5e21446f225cda278d91a (diff)
SUNRPC: Ensure we release the TCP socket once it has been closed
This fixes a regression introduced by commit caf4ccd4e88cf2 ("SUNRPC: Make xs_tcp_close() do a socket shutdown rather than a sock_release"). Prior to that commit, the autoclose feature would ensure that an idle connection would result in the socket being both disconnected and released, whereas now only gets disconnected. While the current behaviour is harmless, it does leave the port bound until either RPC traffic resumes or the RPC client is shut down. Reported-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions