summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-12-09 09:02:02 +0000
committermpi <mpi@openbsd.org>2015-12-09 09:02:02 +0000
commit3da73d243d9732dd2f727eb67b21d8b5141f1efc (patch)
tree891fb6f06d42f039d58471be3e2651e52229a595 /lib/libutil
parent- pvbus on vmm(4) guests prints "OpenBSD", not vmm(4). (diff)
downloadwireguard-openbsd-3da73d243d9732dd2f727eb67b21d8b5141f1efc.tar.xz
wireguard-openbsd-3da73d243d9732dd2f727eb67b21d8b5141f1efc.zip
Do not trigger a KASSERT() when destroying/detaching an interface with
RTF_CLONED routes attached. In thise case if_get(9) can return NULL inside rtflushclone1() because ifdetach() starts by clearing the interface pointer in the index map. So it is perfectly correct to bail and we're not going to leak any route entry because we're garbage collecting all of them. Reported by daniel@ and Aaron Miller <aaron DOT miller04 AT gmail DOT com>
Diffstat (limited to 'lib/libutil')
0 files changed, 0 insertions, 0 deletions