SUNRPC: Move reset of TCP state variables into the reconnect code
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 13 Aug 2018 20:50:49 +0000 (16:50 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:14 +0000 (15:35 -0400)
commite1806c7bfb803408df4dc53dfe502ffab0f46a67
tree24cc00d32ad47196207beaf69a4d06419c36fc71
parentd1109aa56c71e19fc117e75bff11384fc7279a3b
SUNRPC: Move reset of TCP state variables into the reconnect code

Rather than resetting state variables in socket state_change() callback,
do it in the sunrpc TCP connect function itself.

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