diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2025-10-29 18:56:17 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2025-10-29 18:56:17 +0000 |
| commit | 561571d480679933287a6d21c6929c39a7963857 (patch) | |
| tree | 55541f4d1a34375a8e5c2783022ac8667e9e5b3d /share/msgdef/el_GR.ISO8859-7.src | |
| parent | 51e8e8b0f36933814b1be08913857727876aece5 (diff) | |
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 'share/msgdef/el_GR.ISO8859-7.src')
0 files changed, 0 insertions, 0 deletions
