Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134758
b: refs/heads/master
c: 6f96106
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Feb 27, 2009
1 parent f651c50 commit 8f9fb2f
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: fbbfb986a8a3dfb42cd4cae7b1c7f822792823af
refs/heads/master: 6f961068671698c242f1828960485fef1392916f
6 changes: 2 additions & 4 deletions trunk/net/key/af_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ static int pfkey_broadcast(struct sk_buff *skb, gfp_t allocation,
if (one_sk != NULL)
err = pfkey_broadcast_one(skb, &skb2, allocation, one_sk);

if (skb2)
kfree_skb(skb2);
kfree_skb(skb2);
kfree_skb(skb);
return err;
}
Expand Down Expand Up @@ -3573,8 +3572,7 @@ static int pfkey_sendmsg(struct kiocb *kiocb,
out:
if (err && hdr && pfkey_error(hdr, err, sk) == 0)
err = 0;
if (skb)
kfree_skb(skb);
kfree_skb(skb);

return err ? : len;
}
Expand Down

0 comments on commit 8f9fb2f

Please sign in to comment.