]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: mv643xx_eth: Be drop monitor friendly
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 25 Aug 2017 03:55:40 +0000 (20:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Aug 2017 04:27:09 +0000 (21:27 -0700)
commit43cee2d2465cab8289dc1d9206b90fcf975a604f
tree1841b5a9a13935fde70db56bea515100dae88474
parent1e9d8e7ad3acd379d071e276f930f39bdebe3727
net: mv643xx_eth: Be drop monitor friendly

txq_reclaim() does the normal transmit queue reclamation and
rxq_deinit() does the RX ring cleanup, none of these are packet drops,
so use dev_consume_skb() for both locations.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c