DragonFly BSD
DragonFly commits List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Apr 2006 23:59:36 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]