Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131189
b: refs/heads/master
c: 15bde72
h: refs/heads/master
i:
  131187: 4517987
v: v3
  • Loading branch information
David Howells authored and David S. Miller committed Feb 7, 2009
1 parent 5070c31 commit 6ad97fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 355423d0849f4506bc71ab2738d38cb74429aaef
refs/heads/master: 15bde72738f373aa060ececeda8e064e4f924360
5 changes: 3 additions & 2 deletions trunk/net/rxrpc/af_rxrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,13 @@ struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock,
if (IS_ERR(trans)) {
call = ERR_CAST(trans);
trans = NULL;
goto out;
goto out_notrans;
}
} else {
trans = rx->trans;
if (!trans) {
call = ERR_PTR(-ENOTCONN);
goto out;
goto out_notrans;
}
atomic_inc(&trans->usage);
}
Expand All @@ -315,6 +315,7 @@ struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock,
rxrpc_put_bundle(trans, bundle);
out:
rxrpc_put_transport(trans);
out_notrans:
release_sock(&rx->sk);
_leave(" = %p", call);
return call;
Expand Down

0 comments on commit 6ad97fb

Please sign in to comment.