summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-24 22:03:14 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-24 22:03:14 +0100
commit0acd2201920d0968919f4f5797d63f7b6f2b19d4 (patch)
tree9b241d264f42eff3ff4eeffb67616fca0490e460 /net/sunrpc
parentNFS: Determine initial mount security (diff)
parentCleanup XDR parsing for LAYOUTGET, GETDEVICEINFO (diff)
downloadlinux-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.c2
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;