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

cvs commit: src/sys/net if_var.h src/sys/net/vlan if_vlan.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Mar 2008 08:30:20 -0700 (PDT)

sephe       2008/03/16 08:30:20 PDT

DragonFly src repository

  Modified files:
    sys/net              if_var.h 
    sys/net/vlan         if_vlan.c 
  Log:
  Rework vlan configuration processing:
  - vlan config, unconfig and multicast filter programming is now serialized
    by netisr0, so that no one could sneak in when a vlan interface's
    serializer is released during configuration.
  - vlan's serializer is released before reprogramming parent interface's
    multicast filter to avoid possible dead lock.
  - Factor out vlan_clrmulti() from vlan_unconfig() and vlan_setmulti().
  - Register vlan module for the ifnet_detach_event
  - Create per-cpu vlan trunk on parent interface.  Creating and destroying
    of these trunks is serialized by netisr0.  Add a "staw man" vlan trunk
    implementation using linked list. (*)
  - Turn on vlan's IFF_RUNNING only if we are asked to do so.
  - White space and minor style changes.
  
  # (*) is not used on input path yet
  
  Revision  Changes    Path
  1.46      +2 -2      src/sys/net/if_var.h
  1.30      +502 -163  src/sys/net/vlan/if_vlan.c


http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.45&r2=1.46&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/vlan/if_vlan.c.diff?r1=1.29&r2=1.30&f=u



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