linux_dsm_epyc7002/drivers/net/ixgbe
Anton Blanchard e44d38e1b7 ixgbe: Fix ixgbe_tx_map error path
Commit e5a43549f7 (ixgbe: remove
skb_dma_map/unmap calls from driver) looks to have introduced a bug in
ixgbe_tx_map. If we get an error from a PCI DMA call, we loop backwards
through count until it becomes -1 and return that.

The caller of ixgbe_tx_map expects 0 on error, so return that instead.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-03 19:17:16 -08:00
..
ixgbe_82598.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_82599.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_common.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_common.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb_82598.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb_82598.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb_82599.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb_82599.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb_nl.c ixgbe: if ixgbe_copy_dcb_cfg is going to fail learn about it early 2010-01-28 05:55:54 -08:00
ixgbe_dcb.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_ethtool.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_fcoe.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_fcoe.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_main.c ixgbe: Fix ixgbe_tx_map error path 2010-02-03 19:17:16 -08:00
ixgbe_phy.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_phy.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_type.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
Makefile ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00