Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115400
b: refs/heads/master
c: 96165e2
h: refs/heads/master
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Oct 7, 2008
1 parent 4d58e71 commit 023316e
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: 9a4bd29fe8f6d3f015fe1c8e5450eb62cfebfcc9
refs/heads/master: 96165e2b7c4e2c82a0b60c766d4a2036444c21a0
4 changes: 3 additions & 1 deletion trunk/net/sunrpc/rpcb_clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ void rpcb_getport_async(struct rpc_task *task)
status = -ENOMEM;
dprintk("RPC: %5u %s: no memory available\n",
task->tk_pid, __func__);
goto bailout_nofree;
goto bailout_release_client;
}
map->r_prog = clnt->cl_prog;
map->r_vers = clnt->cl_vers;
Expand All @@ -605,6 +605,8 @@ void rpcb_getport_async(struct rpc_task *task)
rpc_put_task(child);
return;

bailout_release_client:
rpc_release_client(rpcb_clnt);
bailout_nofree:
rpcb_wake_rpcbind_waiters(xprt, status);
task->tk_status = status;
Expand Down

0 comments on commit 023316e

Please sign in to comment.