]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix panic while dumping packets on Tx hang with IOMMU
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 26 Jul 2012 01:21:24 +0000 (01:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jul 2012 21:29:51 +0000 (14:29 -0700)
commit399aeaeedf48a97d633ae621c8801a768ca965ca
treebd85aaf1b89ec65b6034aa2675f0051bc816e838
parentb70c746f09c44d432d43dccbc7d7467f48ed3ff4
ixgbe: fix panic while dumping packets on Tx hang with IOMMU

This patch resolves a "BUG: unable to handle kernel paging request at ..."
oops while dumping packet data. The issue occurs with IOMMU enabled due to
the address provided by phys_to_virt().

This patch makes use of skb->data on Tx and the virtual address of the pages
allocated for Rx.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c