]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: fix panic while dumping packets on Tx hang with IOMMU
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 1 Aug 2012 08:12:21 +0000 (08:12 +0000)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Thu, 9 Aug 2012 09:36:05 +0000 (02:36 -0700)
commit0801621d81c62d79d241c51dec4a8bdd363dc574
tree292f9eef98bcbd2ec2aa359c6ef50517b0f624d6
parent8cb02f1facf9bd28561067c4d713bfe4d7bf5889
e1000e: 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 avoids phys_to_virt() by using skb->data and the address of the
pages allocated for Rx.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c