git: network: Don't report deletion of cloned routes

Roy Marples roy at crater.dragonflybsd.org
Fri Sep 20 02:13:17 PDT 2019


commit 4f4fafdebd80f00d3b2ae991d8e6b61b969c314c
Author: Roy Marples <roy at marples.name>
Date:   Fri Sep 20 10:09:46 2019 +0100

    network: Don't report deletion of cloned routes
    
    ARP and ND6 expiration works around one big timer vs timers
    per address. As such, when expiry happens a flood of RTM_DELETE
    messages can easily overflow the route(4) socket.
    
    Now that RTM_MISS is reported for any unresolvable address via
    these protocols, the reporting of the address expiring or being
    maually deleted becomes questionable for any use cases pertaining
    to it.
    
    If we do want to report this in the future, we should move to
    per address timers rather than one big timer.

Summary of changes:
 sys/netinet/if_ether.c | 16 +++++++++-------
 sys/netinet6/nd6.c     | 17 ++++++-----------
 2 files changed, 15 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4f4fafdebd80f00d3b2ae991d8e6b61b969c314c


-- 
DragonFly BSD source repository


More information about the Commits mailing list