cvs commit: src/sys/netinet in_rmx.c src/sys/net route.c route.h

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Apr 11 00:06:25 PDT 2006


dillon      2006/04/10 23:59:36 PDT

DragonFly src repository

  Modified files:
    sys/netinet          in_rmx.c 
    sys/net              route.c route.h 
  Log:
  in_ifadown() was only cleaning up the route table on the originating cpu,
  it needs to clean up the route table on ALL cpus.  This routine is
  called when an interface is brought down, typically during a reinitialization
  of the interface's IP address(es).  An example of this would be if
  DHCP were re-run on an interface by killing dhclient and re-running it.
  
  Change in_ifadown() to iterate over all cpu's route tables.
  
  Reported-by: multiple people
  
  Revision  Changes    Path
  1.14      +25 -5     src/sys/netinet/in_rmx.c
  1.25      +176 -1    src/sys/net/route.c
  1.16      +4 -0      src/sys/net/route.h


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/in_rmx.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/route.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/route.h.diff?r1=1.15&r2=1.16&f=u





More information about the Commits mailing list