Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265724
b: refs/heads/master
c: dc00fd4
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Sep 15, 2011
1 parent 3bb2604 commit d9cd65c
Show file tree
Hide file tree
Showing 2 changed files with 5 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: aec9db355ce2b930358ade5a71cc00ac258e1b3f
refs/heads/master: dc00fd44413e9d4310d0dc6bcc3bd8e57ba8f064
5 changes: 4 additions & 1 deletion trunk/net/ieee802154/6lowpan.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,11 @@ static int lowpan_newlink(struct net *src_net, struct net_device *dev,
mutex_init(&lowpan_dev_info(dev)->dev_list_mtx);

entry = kzalloc(sizeof(struct lowpan_dev_record), GFP_KERNEL);
if (!entry)
if (!entry) {
dev_put(real_dev);
lowpan_dev_info(dev)->real_dev = NULL;
return -ENOMEM;
}

entry->ldev = dev;

Expand Down

0 comments on commit d9cd65c

Please sign in to comment.