Skip to content

Commit

Permalink
Phonet: fix double free in GPRS outbound packet error path
Browse files Browse the repository at this point in the history
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Rémi Denis-Courmont authored and David S. Miller committed Feb 11, 2009
1 parent 664f93b commit a2bf453
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/phonet/pep-gprs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a2bf453

Please sign in to comment.