aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/geom/ConfCmp/a1b.conf
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-10-29 18:56:17 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-10-29 18:56:17 +0000
commit561571d480679933287a6d21c6929c39a7963857 (patch)
tree55541f4d1a34375a8e5c2783022ac8667e9e5b3d /tools/regression/geom/ConfCmp/a1b.conf
parent51e8e8b0f36933814b1be08913857727876aece5 (diff)
nhi: Fix a race with interrupt teardown during detachHEADmain
When nhi fails to attach on one of my systems (X1 Carbon 6th gen), an interrupt races with the teardown code such that the rings have been freed by nhi_detach() before an interrupt triggers. At the time of the crash, the thread invoking nhi_attach() is blocked in bus_teardown_intr() from nhi_pci_free() waiting for the interrupt thread to finish executing the handler. To fix, don't just disable the interrupts in nhi_detach(), but actually tear the handlers down and disable MSI-X before freeing the rings. Reviewed by: obiwac Differential Revision: https://reviews.freebsd.org/D53201
Diffstat (limited to 'tools/regression/geom/ConfCmp/a1b.conf')
0 files changed, 0 insertions, 0 deletions