Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: bcmgenet: Be drop monitor friendly
There are 3 spots where we call dev_kfree_skb() but we are actually just doing a normal SKB consumption: __bcmgenet_tx_reclaim() for normal TX reclamation, bcmgenet_alloc_rx_buffers() during the initial RX ring setup and bcmgenet_free_rx_buffers() during RX ring cleanup. Fixes: d6707be ("net: bcmgenet: rewrite bcmgenet_rx_refill()") Fixes: f48bed1 ("net: bcmgenet: Free skb after last Tx frag") Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information