aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorNiklas Schnelle <[email protected]>2025-06-25 09:28:28 +0000
committerAlexander Gordeev <[email protected]>2025-06-28 16:58:59 +0000
commit45537926dd2aaa9190ac0fac5a0fbeefcadfea95 (patch)
tree99dac10febd94bdf257eaa402429feaf1096ca77 /drivers/net/ethernet/intel/igc/igc_main.c
parents390/ptrace: Fix pointer dereferencing in regs_get_kernel_stack_nth() (diff)
downloadkernel-45537926dd2aaa9190ac0fac5a0fbeefcadfea95.tar.gz
kernel-45537926dd2aaa9190ac0fac5a0fbeefcadfea95.zip
s390/pci: Fix stale function handles in error handling
The error event information for PCI error events contains a function handle for the respective function. This handle is generally captured at the time the error event was recorded. Due to delays in processing or cascading issues, it may happen that during firmware recovery multiple events are generated. When processing these events in order Linux may already have recovered an affected function making the event information stale. Fix this by doing an unconditional CLP List PCI function retrieving the current function handle with the zdev->state_lock held and ignoring the event if its function handle is stale. Cc: [email protected] Fixes: 4cdf2f4e24ff ("s390/pci: implement minimal PCI error recovery") Reviewed-by: Julian Ruess <[email protected]> Reviewed-by: Gerd Bayer <[email protected]> Reviewed-by: Farhan Ali <[email protected]> Signed-off-by: Niklas Schnelle <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions