diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-08 21:28:58 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-09 02:47:28 (GMT) |
commit | 76698b2358de466d23f44eaa1b0c9ebe8206099a (patch) | |
tree | c70493f12ebbf6dcca93c6237ac4f110f76a5fce /net/sunrpc/xprtsock.c | |
parent | 3913c78c3ab61500ddf7c2c9617cc4f8e2c583e0 (diff) | |
download | linux-76698b2358de466d23f44eaa1b0c9ebe8206099a.tar.xz |
SUNRPC: Do not clear the source port in xs_reset_transport
Now that we can reuse bound ports after a close, we never really want to
clear the transport's source port after it has been set. Doing so really
messes up the NFSv3 DRC on the server.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r-- | net/sunrpc/xprtsock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 20f25a8..ea1882f 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -811,8 +811,6 @@ static void xs_reset_transport(struct sock_xprt *transport) if (sk == NULL) return; - transport->srcport = 0; - write_lock_bh(&sk->sk_callback_lock); transport->inet = NULL; transport->sock = NULL; |