net: sun: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
dev_consume_skb_irq() should be called when skb xmit done. It makes drop profiles(dropwatch, perf) more friendly. Signed-off-by: Yang Wei <yang.wei9@zte.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
7c3850adbc
commit
98fcd70b64
@@ -1962,7 +1962,7 @@ static void happy_meal_tx(struct happy_meal *hp)
|
||||
this = &txbase[elem];
|
||||
}
|
||||
|
||||
dev_kfree_skb_irq(skb);
|
||||
dev_consume_skb_irq(skb);
|
||||
dev->stats.tx_packets++;
|
||||
}
|
||||
hp->tx_old = elem;
|
||||
|
Reference in New Issue
Block a user