diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2009-02-10 20:14:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-10 20:14:31 -0500 |
commit | a2bf4538714f83fc83ac175c4de296510ae596ae (patch) | |
tree | 945a42b6bed9a214bd6a7091142236851691d6bf /net/phonet | |
parent | 664f93b48aefeb44b42127fe1da534808e8e9494 (diff) |
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/phonet')
-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) | |||
207 | dev->name, err); | 207 | dev->name, err); |
208 | dev->stats.tx_aborted_errors++; | 208 | dev->stats.tx_aborted_errors++; |
209 | dev->stats.tx_errors++; | 209 | dev->stats.tx_errors++; |
210 | dev_kfree_skb(skb); | ||
211 | } else { | 210 | } else { |
212 | dev->stats.tx_packets++; | 211 | dev->stats.tx_packets++; |
213 | dev->stats.tx_bytes += len; | 212 | dev->stats.tx_bytes += len; |