diff options
author | Patrick McHardy <kaber@trash.net> | 2007-02-27 18:57:37 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-28 18:42:14 +0100 |
commit | b08d5840d2c5a6ac0bce172f4c861974d718e34b (patch) | |
tree | 8f9423bc255d312269065623fcb136fc661b8bc1 /net/xfrm/xfrm_user.c | |
parent | [NET]: Handle disabled preemption in gfp_any() (diff) | |
download | linux-b08d5840d2c5a6ac0bce172f4c861974d718e34b.tar.xz linux-b08d5840d2c5a6ac0bce172f4c861974d718e34b.zip |
[NET]: Fix kfree(skb)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/xfrm/xfrm_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 924a2fefcd94..956cfe0ff7f8 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -1401,7 +1401,7 @@ static int xfrm_get_ae(struct sk_buff *skb, struct nlmsghdr *nlh, x = xfrm_state_lookup(&id->daddr, id->spi, id->proto, id->family); if (x == NULL) { - kfree(r_skb); + kfree_skb(r_skb); return -ESRCH; } |