summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2014-11-10 18:55:43 +0000
committerkettenis <kettenis@openbsd.org>2014-11-10 18:55:43 +0000
commitcdfc9b6e951ad128612ac0f674925e89130f1249 (patch)
tree3f6f7bce1371da202c46d56e3c823ab512091eac /lib/libc
parentSplit the logic for the ICMP and ICMP6 case in pf_get_sport(). The (diff)
downloadwireguard-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