]> git.karo-electronics.de Git - karo-tx-linux.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)
commitbc23333ba11fb7f959b7e87e121122f5a0fbbca8
tree03fc78818a9a373c65337d068252bb13193fbce2
parent38b2cf2982dc73d3f07fe84fec8cc4ed9f64c1c5
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