commit | 0f0ed8282e5bfdc87cdd562e58f3d90d893e7ee5 | [log] [tgz] |
---|---|---|
author | Yang Wei <yang.wei9@zte.com.cn> | Tue Jan 29 23:04:40 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 29 10:11:42 2019 -0800 |
tree | eb7caaba610ef05ebb79c09fdbbf701cad5d103a | |
parent | e339f8631eb70fb48b2801e9e66a267c9a730a6a [diff] |
net: b44: replace dev_kfree_skb_xxx by dev_consume_skb_xxx for drop profiles The skb should be freed by dev_consume_skb_any() in b44_start_xmit() when bounce_skb is used. The skb is be replaced by bounce_skb, so the original skb should be consumed(not drop). dev_consume_skb_irq() should be called in b44_tx() 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>