aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/b44.h
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2009-06-30 11:44:56 +0000
committerDavid S. Miller <davem@davemloft.net>2009-06-30 19:46:54 -0700
commit4f57ca6e17edfc56ddde5c87eb893e47e0d2d343 (patch)
treed8ac9019f317daae33e02e77bbd04f94fc79073b /drivers/net/b44.h
parenta1f25324b93ecdab1cbb27d3e9c4cafecb06ceda (diff)
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>
Diffstat (limited to 'drivers/net/b44.h')
0 files changed, 0 insertions, 0 deletions