diff options
| author | 2013-08-13 18:42:58 +0000 | |
|---|---|---|
| committer | 2013-08-22 02:33:20 -0700 | |
| commit | e8c254c5feb92c5b9a6950bc7351e2b1b7b09b93 (patch) | |
| tree | 610e063e33db35281e7a27f908e75708bc077eb5 /include/linux/stackprotector.h | |
| parent | e1000e: Add code to check for failure of pci_disable_link_state call (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 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
