linux-kernel-test/drivers/net/ixgbe
Jesse Brandeburg 4f57ca6e17 ixgbe: fix unmap length bug
This patch addresses three WARN_ON statements from DMA-API debug code

ixgbe is mapping more than it unmaps, reduce the length of the map call and
remove the "used once" local variable.

found by Joerg Roedel <joerg.roedel@amd.com> in 2.6.30, so is a candidate
for -stable.

in addition, fix missing ->dma = 0 after unmap to prevent double free with
pci_unmap_single

and lastly, don't unmap (half) pages that aren't mapped.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-06-30 19:46:54 -07:00
..
ixgbe_82598.c ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_82599.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.h ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb_82598.c ixgbe: Allow link flow control in DCB mode for 82599 adapters 2009-05-17 21:04:13 -07:00
ixgbe_dcb_82598.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb_82599.c ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb_82599.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_nl.c ixgbe: Don't reset the hardware when switching between LFC and PFC 2009-05-17 21:04:14 -07:00
ixgbe_dcb.c ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_ethtool.c ixgbe: Fix device capabilities of 82599 single speed fiber NICs. 2009-06-30 19:46:53 -07:00
ixgbe_fcoe.c convert some DMA_nnBIT_MASK() callers 2009-06-19 16:46:06 -07:00
ixgbe_fcoe.h ixgbe: Include offloaded FCoE data into total rx/tx statistics for 82599 2009-06-09 05:25:37 -07:00
ixgbe_main.c ixgbe: fix unmap length bug 2009-06-30 19:46:54 -07:00
ixgbe_phy.c ixgbe: Harden the 82599 multispeed fiber autotry mechanism 2009-06-07 05:20:18 -07:00
ixgbe_phy.h ixgbe: Change Direct Attach Twinax cable detection for SFP+ NICs 2009-05-19 15:36:14 -07:00
ixgbe_type.h ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe.h ixgbe: Re-adjust ring layouts to have better cacheline efficiency 2009-06-07 05:20:25 -07:00
Makefile ixgbe: Implement FCoE Tx side offload features in base driver of 82599 2009-05-17 12:00:04 -07:00