]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: fix bcmgenet_put_tx_csum()
authorPetri Gynther <pgynther@google.com>
Wed, 1 Oct 2014 18:30:01 +0000 (11:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Oct 2014 02:11:49 +0000 (22:11 -0400)
commit05d2a100087bb7793ff7109ad783b0357eb62fc4
tree03fc78818a9a373c65337d068252bb13193fbce2
parentc3305b433a033db2c69c2f8241ebbdfe60b3eb93
net: bcmgenet: fix bcmgenet_put_tx_csum()

bcmgenet_put_tx_csum() needs to return skb pointer back to the caller
because it reallocates a new one in case of lack of skb headroom.

Signed-off-by: Petri Gynther <pgynther@google.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c