]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: fix bcm_sysport_insert_tsb()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 2 Oct 2014 16:43:16 +0000 (09:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Oct 2014 00:30:04 +0000 (20:30 -0400)
commit6bfe93327e6ea03295eb69e46a14649f96829df8
treec9872e881550b36863d96f590a63ad7cf10a9a99
parent4c4511547d4f2045fd3e2a07043594ef77d85456
net: systemport: fix bcm_sysport_insert_tsb()

Similar to commit 6d5ee3330ac1f4929cfa6bad4371ed7bf8b40533 ("net:
bcmgenet: fix bcmgenet_put_tx_csum()"), we need to return the skb
pointer in case we had to reallocate the SKB headroom.

Fixes: 9b2572ce82c38 ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c