diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2009-02-11 04:14:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-11 04:14:31 +0300 |
commit | a2bf4538714f83fc83ac175c4de296510ae596ae (patch) | |
tree | 945a42b6bed9a214bd6a7091142236851691d6bf /net | |
parent | 664f93b48aefeb44b42127fe1da534808e8e9494 (diff) | |
download | linux-a2bf4538714f83fc83ac175c4de296510ae596ae.tar.xz |
Phonet: fix double free in GPRS outbound packet error path
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/phonet/pep-gprs.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |