Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203959
b: refs/heads/master
c: e2e0c7c
h: refs/heads/master
i:
  203957: 7a4a05e
  203955: 9681061
  203951: 8296ebf
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Aug 1, 2010
1 parent ead51c6 commit 4e5639d
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: 0fc48c37ff3969dde71a43fa7c8f176d4bd90a3e
refs/heads/master: e2e0c7c9ddbe6b79fe647aca5eea3a405d38ada4
4 changes: 3 additions & 1 deletion trunk/net/rose/rose_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ static int __must_check rose_add_node(struct rose_route_struct *rose_route,
init_timer(&rose_neigh->t0timer);

if (rose_route->ndigis != 0) {
if ((rose_neigh->digipeat = kmalloc(sizeof(ax25_digi), GFP_KERNEL)) == NULL) {
rose_neigh->digipeat =
kmalloc(sizeof(ax25_digi), GFP_ATOMIC);
if (rose_neigh->digipeat == NULL) {
kfree(rose_neigh);
res = -ENOMEM;
goto out;
Expand Down

0 comments on commit 4e5639d

Please sign in to comment.