net: wan: sbni: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <yang.wei9@zte.com.cn>
Mon, 25 Feb 2019 15:03:40 +0000 (23:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 22:36:15 +0000 (14:36 -0800)
commit153d96bec5688fd563ed0569d61fa1367532b7c3
treeb32554ad21ac144fcfb556be391c01955be942dc
parent763284d4a5df1592d626334e2c0e206ca4aa07fa
net: wan: sbni: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in send_complete() 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/sbni.c