diff options
author | Li Zhang <zhlcindy@gmail.com> | 2013-08-13 20:42:58 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-08-22 11:33:20 +0200 |
commit | e8c254c5feb92c5b9a6950bc7351e2b1b7b09b93 (patch) | |
tree | 610e063e33db35281e7a27f908e75708bc077eb5 /fs/dlm/lock.h | |
parent | e1000e: Add code to check for failure of pci_disable_link_state call (diff) | |
download | linux-e8c254c5feb92c5b9a6950bc7351e2b1b7b09b93.tar.xz linux-e8c254c5feb92c5b9a6950bc7351e2b1b7b09b93.zip |
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 'fs/dlm/lock.h')
0 files changed, 0 insertions, 0 deletions