2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00
linux-next/drivers/net/ethernet/sun
David L Stevens bb39b7433d sunvnet: failed trigger should not cause BUG_ON()
An error return from __vnet_tx_trigger() sets the TX descriptor to
VIO_DESC_FREE while leaving port->tx_bufs[txi].skb set. This leads
to a BUG_ON() the next time this descriptor is used.

This patch frees the pending skb when getting a trigger error to
match the VIO_DESC_FREE state.

Signed-off-by: David L Stevens <david.stevens@oracle.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-20 17:44:24 -05:00
..
cassini.c net: cassini: Deletion of an unnecessary check before the function call "vfree" 2014-12-05 21:14:19 -08:00
cassini.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
Kconfig Merge branch 'akpm' (incoming from Andrew) 2013-02-21 17:38:49 -08:00
Makefile
niu.c niu: remove one compound_head() call 2015-01-17 23:58:37 -05:00
niu.h
sunbmac.c net: ethernet: sun: drop owner assignment from platform_drivers 2014-10-20 16:21:13 +02:00
sunbmac.h
sungem.c sungem: Fix global namespace pollution of phy accessors. 2014-08-27 23:07:12 -07:00
sungem.h
sunhme.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
sunhme.h sunhme: stop using net_device.{base_addr, irq}. 2012-04-07 11:47:03 +02:00
sunqe.c net: ethernet: sun: drop owner assignment from platform_drivers 2014-10-20 16:21:13 +02:00
sunqe.h
sunvnet.c sunvnet: failed trigger should not cause BUG_ON() 2015-02-20 17:44:24 -05:00
sunvnet.h sunvnet: add TSO support 2014-12-08 21:19:04 -05:00