aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlabel/netlabel_unlabeled.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-02-27 12:57:37 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-28 12:42:14 -0500
commitb08d5840d2c5a6ac0bce172f4c861974d718e34b (patch)
tree8f9423bc255d312269065623fcb136fc661b8bc1 /net/netlabel/netlabel_unlabeled.c
parent4498121ca3acbf928681b71261227d28dc29b6f6 (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/netlabel/netlabel_unlabeled.c')
-rw-r--r--net/netlabel/netlabel_unlabeled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlabel/netlabel_unlabeled.c b/net/netlabel/netlabel_unlabeled.c
index 5bc37181662e..b931edee4b8b 100644
--- a/net/netlabel/netlabel_unlabeled.c
+++ b/net/netlabel/netlabel_unlabeled.c
@@ -173,7 +173,7 @@ static int netlbl_unlabel_list(struct sk_buff *skb, struct genl_info *info)
173 return 0; 173 return 0;
174 174
175list_failure: 175list_failure:
176 kfree(ans_skb); 176 kfree_skb(ans_skb);
177 return ret_val; 177 return ret_val;
178} 178}
179 179