]> Pileus Git - ~andy/linux/commit
igb: fix panic while dumping packets on Tx hang with IOMMU
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 28 Jul 2012 05:07:48 +0000 (05:07 +0000)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Thu, 9 Aug 2012 09:36:05 +0000 (02:36 -0700)
commitb669588abaceb5c6d70699b6c009e5cedc42449b
treeb268a3acb349a5cae8efd16b80a2d04efc5fc428
parent36471012e2ae28ca3178f84d4687a2d88a36593e
igb: 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 making 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/igb/igb_main.c