git: inet6: Restore ND6_LLINFO_WAITDELETE
Roy Marples
roy at crater.dragonflybsd.org
Wed Sep 11 08:11:38 PDT 2019
commit d5c61e7cdb8fceb3e092a669e8e8972ff82dfe9f
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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d5c61e7cdb8fceb3e092a669e8e8972ff82dfe9f
--
DragonFly BSD source repository
More information about the Commits
mailing list