Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242404
b: refs/heads/master
c: 246408d
h: refs/heads/master
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Mar 22, 2011
1 parent 5e5f36b commit b463023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b8413f98f997bb3ed7327e6d7117e7e91ce010c3
refs/heads/master: 246408dcd5dfeef2df437ccb0ef4d6ee87805f58
2 changes: 2 additions & 0 deletions trunk/net/sunrpc/xprtsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b463023

Please sign in to comment.