Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188846
b: refs/heads/master
c: c3824d2
h: refs/heads/master
v: v3
  • Loading branch information
Tetsuo Handa authored and Linus Torvalds committed Mar 22, 2010
1 parent b84d0b5 commit 8e5fae6
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 99b437a9257cb6b267bf32adfb7675948dc6d485
refs/heads/master: c3824d21eb653fe7017476724257ccaa8bf3d9e1
6 changes: 6 additions & 0 deletions trunk/net/rxrpc/ar-accept.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ static int rxrpc_accept_incoming_call(struct rxrpc_local *local,

/* get a notification message to send to the server app */
notification = alloc_skb(0, GFP_NOFS);
if (!notification) {
_debug("no memory");
ret = -ENOMEM;
goto error_nofree;
}
rxrpc_new_skb(notification);
notification->mark = RXRPC_SKB_MARK_NEW_CALL;

Expand Down Expand Up @@ -189,6 +194,7 @@ static int rxrpc_accept_incoming_call(struct rxrpc_local *local,
ret = -ECONNREFUSED;
error:
rxrpc_free_skb(notification);
error_nofree:
_leave(" = %d", ret);
return ret;
}
Expand Down

0 comments on commit 8e5fae6

Please sign in to comment.