diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-12-09 09:02:03 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-12-09 09:02:03 +0000 |
commit | 816cc1ea4a069a761e7320a34750e7b7cce27542 (patch) | |
tree | defd19ac9b44d744ffa4214c3b85154b63a1e64a /usr.bin/less | |
parent | 28cba98c93dc1557517753580fce354d9f7a24bd (diff) |
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 'usr.bin/less')
0 files changed, 0 insertions, 0 deletions