cvs commit: src/sys/net if.c if_var.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Nov 11 05:49:00 PST 2008


sephe       2008/11/11 05:48:01 PST

DragonFly src repository

  Modified files:
    sys/net              if.c if_var.h 
  Log:
  Record number of valid ifaddr containers in ifaddr, so we could use
  atomic_fetchadd_int() to avoid N->0 race instead of using thread based
  serialization.  Remove the netmsg embedded in ifaddr_container; it is
  no longer needed/used.
  
  Revision  Changes    Path
  1.82      +12 -27    src/sys/net/if.c
  1.69      +1 -12     src/sys/net/if_var.h


http://www.dragonflybsd.org/cvsweb/src/sys/net/if.c.diff?r1=1.81&r2=1.82&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.68&r2=1.69&f=u





More information about the Commits mailing list