diff options
author | 2015-12-09 09:23:08 +0000 | |
---|---|---|
committer | 2015-12-09 09:23:08 +0000 | |
commit | 822e1b8b525a6a15a25ee01aae338294d0a0ba23 (patch) | |
tree | 157b01248ce1a0272a76f476ac2c698fa5a33615 /lib/libutil | |
parent | Do not trigger a KASSERT() when destroying/detaching an interface with (diff) | |
download | wireguard-openbsd-822e1b8b525a6a15a25ee01aae338294d0a0ba23.tar.xz wireguard-openbsd-822e1b8b525a6a15a25ee01aae338294d0a0ba23.zip |
Do not trigger a KASSERT() if the route we're trying to remove does not
exist and we get another matching one instead.
This bug has been here since the KAME area and recently exposed by a
refactoring at n2k15. The problem is that rtrequest(9) does not check
on which interface the route entry is attached when issuing a RTM_DELETE.
So the kernel would end up deleting the route attached on a different ifp
when in_ifinit() fails.
This fix is currently a workaround, a better fix is in the pipeline.
Reported by Laurence Tratt <laurie AT tratt DOT net>, thanks!
Diffstat (limited to 'lib/libutil')
0 files changed, 0 insertions, 0 deletions