]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: xs_reset_transport must mark the connection as disconnected
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 29 Aug 2015 20:36:30 +0000 (13:36 -0700)
committerZefan Li <lizefan@huawei.com>
Wed, 27 Apr 2016 10:55:16 +0000 (18:55 +0800)
commit84c2e63639a79e81cbe82e9f7c5a958cc39f0abd
treebb3b70ebdca3c0d7cd5551443b715db4a24dccd4
parent5b59369813efb1bb78fc360546a2b657cb957fe1
SUNRPC: xs_reset_transport must mark the connection as disconnected

commit 0c78789e3a030615c6650fde89546cadf40ec2cc upstream.

In case the reconnection attempt fails.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
[lizf: Backported to 3.4: add definition of variable xprt]
Signed-off-by: Zefan Li <lizefan@huawei.com>
net/sunrpc/xprtsock.c