Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134761
b: refs/heads/master
c: 91744f6
h: refs/heads/master
i:
  134759: 239c114
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Feb 27, 2009
1 parent 7ddc641 commit e412b67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 40d44446cf10d9d118e8f0132c94e1f25ea3be97
refs/heads/master: 91744f6559393697e13bf0f9f3f35f884e2520f9
6 changes: 2 additions & 4 deletions trunk/net/netlink/af_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,7 @@ int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, u32 pid,

netlink_unlock_table();

if (info.skb2)
kfree_skb(info.skb2);
kfree_skb(info.skb2);

if (info.delivery_failure)
return -ENOBUFS;
Expand Down Expand Up @@ -1542,8 +1541,7 @@ EXPORT_SYMBOL(netlink_set_nonroot);

static void netlink_destroy_callback(struct netlink_callback *cb)
{
if (cb->skb)
kfree_skb(cb->skb);
kfree_skb(cb->skb);
kfree(cb);
}

Expand Down

0 comments on commit e412b67

Please sign in to comment.