diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2010-11-16 19:39:18 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2010-11-16 19:39:18 +0000 |
commit | 3417091b25f5d01016fd4ee96d191ee0e11d6082 (patch) | |
tree | 2e47eca449dfbcf7b930c3e38fed0f1551a4564e /bin | |
parent | 4c768aee5ffaedd689b6e05e31e1660c90fbfa79 (diff) |
If the interface address referenced by a cloning route did not point
to an interface any more, the kernel crashed with a null pointer
dereference. This situation could be created by a strange sequence
of route and ifconfig commands.
Now when a cloning route references a stale interface address and
rtrequest1(RTM_RESOLVE) has to create a cloned route, it does a
lookup for a valid interface address with the same ip address. The
new interface address and its interface are used for the new cloned
route and they replace the old ones at the cloning route.
ok claudio@, henning@
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions