From: Rémi Denis-Courmont Date: Wed, 11 Feb 2009 01:14:31 +0000 (-0800) Subject: Phonet: fix double free in GPRS outbound packet error path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2bf4538714f83fc83ac175c4de296510ae596ae;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git Phonet: fix double free in GPRS outbound packet error path Signed-off-by: Rémi Denis-Courmont Signed-off-by: David S. Miller --- diff --git a/net/phonet/pep-gprs.c b/net/phonet/pep-gprs.c index 6a91a32a80c1..4aa888584d20 100644 --- a/net/phonet/pep-gprs.c +++ b/net/phonet/pep-gprs.c @@ -207,7 +207,6 @@ static int gprs_xmit(struct sk_buff *skb, struct net_device *dev) dev->name, err); dev->stats.tx_aborted_errors++; dev->stats.tx_errors++; - dev_kfree_skb(skb); } else { dev->stats.tx_packets++; dev->stats.tx_bytes += len;