diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-24 22:03:14 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-24 22:03:14 +0100 |
commit | 0acd2201920d0968919f4f5797d63f7b6f2b19d4 (patch) | |
tree | 9b241d264f42eff3ff4eeffb67616fca0490e460 /net/sunrpc | |
parent | NFS: Determine initial mount security (diff) | |
parent | Cleanup XDR parsing for LAYOUTGET, GETDEVICEINFO (diff) | |
download | linux-0acd2201920d0968919f4f5797d63f7b6f2b19d4.tar.xz linux-0acd2201920d0968919f4f5797d63f7b6f2b19d4.zip |
Merge branch 'nfs-for-2.6.39' into nfs-for-next
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/xprtsock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index be96d429b475..1e336a06d3e6 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -710,6 +710,8 @@ 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; |