diff options
author | 2014-11-10 18:55:43 +0000 | |
---|---|---|
committer | 2014-11-10 18:55:43 +0000 | |
commit | cdfc9b6e951ad128612ac0f674925e89130f1249 (patch) | |
tree | 3f6f7bce1371da202c46d56e3c823ab512091eac /lib/libc | |
parent | Split the logic for the ICMP and ICMP6 case in pf_get_sport(). The (diff) | |
download | wireguard-openbsd-cdfc9b6e951ad128612ac0f674925e89130f1249.tar.xz wireguard-openbsd-cdfc9b6e951ad128612ac0f674925e89130f1249.zip |
Grab the pool mutex in sysctl_dopool(), but only for pools for which
pool_setipl(9) has been called. This avoids the panic introduced in rev 1.139
(which was subsequently backed out) while still effectively guaranteeing a
consistent snapshot. Pools used from interrupt handlers should use the
appropriate pool IPL.
ok dlg@, deraadt@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions