]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dscc4: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <yang.wei9@zte.com.cn>
Tue, 5 Feb 2019 16:07:03 +0000 (00:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2019 01:38:15 +0000 (17:38 -0800)
commit96d26503e1deba5d12e0e4b473336479cc0965af
tree146f025079d993a03501f97f309cc7891a516073
parent62d1a31cfb5d9291f4dd90c1b0ef5c22f3c235bf
net: dscc4: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in dscc4_tx_irq() 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>
drivers/net/wan/dscc4.c