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)
commite339f8631eb70fb48b2801e9e66a267c9a730a6a
tree8b42e09e746ebb55784da8be31cb8a9264a5a677
parent896cebc0e261a29a6f0b20ab21d1bfc06959e91d
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