git: inet6: Restore ND6_LLINFO_WAITDELETE
roy at crater.dragonflybsd.org
Wed Sep 11 08:11:38 PDT 2019
Author: Roy Marples <roy at marples.name>
Date: Wed Sep 11 16:06:51 2019 +0100
inet6: Restore ND6_LLINFO_WAITDELETE
This predates DragonFlyBSD by quite a few years, but
ND6_LLINFO_WAITDELETE was removed in 2000 from all the BSD's.
This change brings it back so that if someone *really* wants
to resolve the unresolvable we don't constant delete
and add cloned routes which is just a waste of resources.
It also helps to return EHOSTDOWN more consistently to senders.
If we don't resolve the address during the normal wait cyckle OR
attempt to resolve it again while in the ND6_LLINFO_WAITDELETE
state, then then cloned route is then freed.
Summary of changes:
sys/netinet6/nd6.c | 24 +++++++++++++++---------
sys/netinet6/nd6.h | 9 +--------
2 files changed, 16 insertions(+), 17 deletions(-)
DragonFly BSD source repository
More information about the Commits