]> git.baikalelectronics.ru Git - kernel.git/commit
net: caif: call dev_consume_skb_any when skb xmit done
authorYang Wei <yang.wei9@zte.com.cn>
Tue, 29 Jan 2019 15:32:22 +0000 (23:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jan 2019 18:09:28 +0000 (10:09 -0800)
commite54272ef52a6a8f98d555355dc004adc325f7ed4
tree8b42e09e746ebb55784da8be31cb8a9264a5a677
parentb3e4efa2437054378639b74f94dc342e3fd8b993
net: caif: call dev_consume_skb_any when skb xmit done

The skb shouled be consumed when xmit done, it makes drop profiles
(dropwatch, perf) more friendly.
dev_kfree_skb_irq()/kfree_skb() shouled be replaced by
dev_consume_skb_any(), it makes code cleaner.

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