]> git.baikalelectronics.ru Git - kernel.git/commit
net: ti: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <yang.wei9@zte.com.cn>
Mon, 28 Jan 2019 23:40:10 +0000 (07:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jan 2019 07:09:19 +0000 (23:09 -0800)
commit4be4e93849c94d680501b4ea640215c7c2ba752f
tree59ad803911d484e1e4bfdc8f8108b4b6560938bf
parentf871401f97cd5b363fa6835e7f31111245c82efa
net: ti: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in cpmac_end_xmit() when
xmit done. It makes drop profiles more friendly.

Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpmac.c