git: inet: Don't mark cloned route as RTF_REJECT on RTM_MISS

Roy Marples roy at crater.dragonflybsd.org
Mon Sep 9 09:26:03 PDT 2019


commit 25966042bdf034a8d395abae7b7d357f35c90cea
Author: Roy Marples <roy at marples.name>
Date:   Mon Sep 9 17:20:29 2019 +0100

    inet: Don't mark cloned route as RTF_REJECT on RTM_MISS
    
    With the current behaviour, the cloned route is marked as
    RTF_REJECT which means subsequent use is delayed until either an
    ARP reply comes in or the ARP entry times out and resolution
    can then begin again.
    
    Instead, no longer mark the route for RTF_REJECT and allow more
    ARP requests to go out if something really wants to use it.
    This mirror the current behaviour for inet6.

Summary of changes:
 sys/netinet/if_ether.c | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/25966042bdf034a8d395abae7b7d357f35c90cea


-- 
DragonFly BSD source repository



More information about the Commits mailing list