Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2bf4538 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by David S. Miller
Browse files

Phonet: fix double free in GPRS outbound packet error path

parent 664f93b4
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -207,7 +207,6 @@ static int gprs_xmit(struct sk_buff *skb, struct net_device *dev)
				dev->name, err);
				dev->name, err);
		dev->stats.tx_aborted_errors++;
		dev->stats.tx_aborted_errors++;
		dev->stats.tx_errors++;
		dev->stats.tx_errors++;
		dev_kfree_skb(skb);
	} else {
	} else {
		dev->stats.tx_packets++;
		dev->stats.tx_packets++;
		dev->stats.tx_bytes += len;
		dev->stats.tx_bytes += len;