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

Matthew Dillon dillon at
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 
  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

More information about the Commits mailing list