aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/brocade/bna/bfi_cna.h
diff options
context:
space:
mode:
authorDavid L Stevens <david.stevens@oracle.com>2015-02-19 13:15:49 -0500
committerDavid S. Miller <davem@davemloft.net>2015-02-20 17:44:24 -0500
commitbb39b7433d1c652b3699a7b335e0ad91181b2b05 (patch)
tree9ad50479aa75ee459384223e1557f6c2012ad968 /drivers/net/ethernet/brocade/bna/bfi_cna.h
parentbonding: simple code refactor (diff)
downloadlinux-dev-bb39b7433d1c652b3699a7b335e0ad91181b2b05.tar.xz
linux-dev-bb39b7433d1c652b3699a7b335e0ad91181b2b05.zip
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>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/bfi_cna.h')
0 files changed, 0 insertions, 0 deletions