]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: bcmgenet: Be drop monitor friendly while re-allocating headroom
authorDoug Berger <opendmb@gmail.com>
Wed, 18 Dec 2019 00:51:14 +0000 (16:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2019 02:11:10 +0000 (18:11 -0800)
commite3fa85883d1566d788960c0f31866a26c898c070
treebf45409a2f02010ae0c30d77a691f7c850c309db
parentae895c49905cd99aca24d23361b72ed559b30f4f
net: bcmgenet: Be drop monitor friendly while re-allocating headroom

During bcmgenet_put_tx_csum() make sure we differentiate a SKB
headroom re-allocation failure from the normal swap and replace
path.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c