diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2024-06-11 10:06:36 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2024-06-11 10:06:36 +0000 |
commit | 2d136e3283fed8b40687ef31977156d743d8ec66 (patch) | |
tree | 73b5c5d420d79d27ca62764a6e7186d0a165df10 /usr.sbin/authpf | |
parent | d832d96befcba4665ad7f8fb368195b273447042 (diff) |
Make sure qwx(4) always calls refcnt_init() before other refcnt functions.
I recently enabled automatic recovery from firmware crashes. if loading
firmware at boot would fail with a firmware error then the init task would
call refcnt_finalize() via qwx_stop() before refcnt_init() was called and
trigger a KASSERT in the refcnt code.
ok patrick@, who also reported the problem to me and tested the fix
Diffstat (limited to 'usr.sbin/authpf')
0 files changed, 0 insertions, 0 deletions