diff options
author | Patrick McHardy <kaber@trash.net> | 2007-02-27 12:57:37 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-28 12:42:14 -0500 |
commit | b08d5840d2c5a6ac0bce172f4c861974d718e34b (patch) | |
tree | 8f9423bc255d312269065623fcb136fc661b8bc1 /net/core/skbuff.c | |
parent | 4498121ca3acbf928681b71261227d28dc29b6f6 (diff) |
[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 'net/core/skbuff.c')
-rw-r--r-- | net/core/skbuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index f89ff151cfab..820761f9eeef 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -2037,7 +2037,7 @@ struct sk_buff *skb_segment(struct sk_buff *skb, int features) | |||
2037 | err: | 2037 | err: |
2038 | while ((skb = segs)) { | 2038 | while ((skb = segs)) { |
2039 | segs = skb->next; | 2039 | segs = skb->next; |
2040 | kfree(skb); | 2040 | kfree_skb(skb); |
2041 | } | 2041 | } |
2042 | return ERR_PTR(err); | 2042 | return ERR_PTR(err); |
2043 | } | 2043 | } |