diff options
author | 2017-11-21 12:05:09 +0000 | |
---|---|---|
committer | 2017-11-21 12:05:09 +0000 | |
commit | c0384984d415ce73678db483328ee504b1393278 (patch) | |
tree | 4893200045d8a10339f0e711fec4671816ed9584 /lib/libc | |
parent | Move the addrhook disestablish from carpdetach() to carp_clone_destroy() (diff) | |
download | wireguard-openbsd-c0384984d415ce73678db483328ee504b1393278.tar.xz wireguard-openbsd-c0384984d415ce73678db483328ee504b1393278.zip |
Do not assume if_get(9) returns a non NULL ifp when using a route
interface index.
This assumption is true for the moment iff the route lookup *and* the
if_get() are done under KERNEL_LOCK(). This is not the case here.
Found the hardway by Hrvoje Popovski.
ok florian@, visa@, bluhm@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions