aboutsummaryrefslogtreecommitdiff
path: root/lldb
diff options
context:
space:
mode:
authorAndriy Voskoboinyk <avos@FreeBSD.org>2026-09-13 02:26:53 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2026-09-13 02:26:53 +0000
commitf616f8a83ba1bf8aa41003837c11a0f0955efed8 (patch)
treea4533a01abb96ab0c62381cbfc25edffa3b66212 /lldb
parent741cd29526e0033c5b8282f79cae828bf2ad12a8 (diff)
iwx: fix kernel panic on module unload with assertions enabledHEADmain
When interface is up and running 'kldunload if_iwx' stops the device and executes RUN -> INIT state transition. Since the device is already stopped iwx_run_stop fails to stop the device again and returns non-zero exit code from iv_newstate callback which triggers 'INIT state change failed' assertion. I reused IWX_FLAG_SHUTDOWN flag to: a) set it in iwx_detach b) check it in iwx_newstate_sub - when it is set all custom state transition logic is skipped Accidentally found while experimenting with iwlwifi / iwx drivers Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D59624
Diffstat (limited to 'lldb')
0 files changed, 0 insertions, 0 deletions