summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/e1000e/mac.h
diff options
context:
space:
mode:
authorLi Zhang <zhlcindy@gmail.com>2013-08-13 18:42:58 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-08-22 02:33:20 -0700
commite8c254c5feb92c5b9a6950bc7351e2b1b7b09b93 (patch)
tree610e063e33db35281e7a27f908e75708bc077eb5 /drivers/net/ethernet/intel/e1000e/mac.h
parent13129d9b6183bf93b005ed9ad0eb46122794fe21 (diff)
e1000e: Avoid kernel crash during shutdown
While doing shutdown on the PCI device, the corresponding callback function e1000e_shutdown() is trying to clear those correctable errors on the upstream P2P bridge. Unfortunately, we don't have the upstream P2P bridge under some cases (e.g. PCI-passthrou for KVM on Power). That leads to kernel crash eventually. The patch adds one more check on that to avoid kernel crash. Signed-off-by: Li Zhang <zhlcindy@gmail.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/mac.h')
0 files changed, 0 insertions, 0 deletions