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: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a2bf4538714f83fc83ac175c4de296510ae596ae;p=linux-2.6-omap-h63xx.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 6a91a32a80c..4aa888584d2 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;