git: route: ensure RTM_IFINFO is sent first when bring interface down/up

Roy Marples roy at crater.dragonflybsd.org
Fri Sep 6 09:40:13 PDT 2019


commit 4d2ff05c2312656571e4796caa0e464221e25f35
Author: Roy Marples <roy at marples.name>
Date:   Fri Sep 6 17:36:13 2019 +0100

    route: ensure RTM_IFINFO is sent first when bring interface down/up
    
    Taking an interface down can generate a lot of route messages.
    This can overflow the route socket, so ensure that the most
    important message is sent first - that of the interface state.
    
    While here, these functions can be made static.

Summary of changes:
 sys/net/if.c     | 12 +++++++-----
 sys/net/if_var.h |  2 --
 2 files changed, 7 insertions(+), 7 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list