Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352959
b: refs/heads/master
c: 3dc0da2
h: refs/heads/master
i:
  352957: c9a0684
  352955: 3ae9de4
  352951: a06e788
  352943: 37e62bc
  352927: 9502594
  352895: e61a585
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Feb 1, 2013
1 parent 4f4d7e8 commit 1a4448f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b092092bf0e2e8b7af1c2a03f615b4e60b05d47
refs/heads/master: 3dc0da278e2b26fa8e353b3a962b2c89e184d353
4 changes: 3 additions & 1 deletion trunk/net/sunrpc/xprtsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,9 @@ static int xs_bind(struct sock_xprt *transport, struct socket *sock)
*/
static void xs_local_rpcbind(struct rpc_task *task)
{
xprt_set_bound(task->tk_xprt);
rcu_read_lock();
xprt_set_bound(rcu_dereference(task->tk_client->cl_xprt));
rcu_read_unlock();
}

static void xs_local_set_port(struct rpc_xprt *xprt, unsigned short port)
Expand Down

0 comments on commit 1a4448f

Please sign in to comment.