]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitf0c5dadff3fbda77a65b8577fee437c3d771233d
tree292f9eef98bcbd2ec2aa359c6ef50517b0f624d6
parentb669588abaceb5c6d70699b6c009e5cedc42449b
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