diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-12-09 09:23:09 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-12-09 09:23:09 +0000 |
commit | edd7413029d4af0825d8737c05ef5ec3162ab202 (patch) | |
tree | 8da4e94a7e182427a424f5692d03a8c20f8555c0 /sys/miscfs/deadfs | |
parent | 816cc1ea4a069a761e7320a34750e7b7cce27542 (diff) |
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 'sys/miscfs/deadfs')
0 files changed, 0 insertions, 0 deletions