atheros: atl2: replace dev_kfree_skb_any() by dev_consume_skb_any()
authorYang Wei <albin_yang@163.com>
Thu, 24 Jan 2019 14:45:38 +0000 (22:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jan 2019 23:09:13 +0000 (15:09 -0800)
commit7304720d70a223186d192d766e9b5d25470a705d
tree96a730bfc6d51284d9afe2cdb51966051c6e722f
parenta4b829949326eef58e49b00160620a32833a3c0c
atheros: atl2: replace dev_kfree_skb_any() by dev_consume_skb_any()

atl2_xmit_frame() should call dev_consume_skb_any() when the
transmission is successful. It makes drop profiles more friendly.

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