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

cvs commit: src/sys/net/bridge bridgestp.c if_bridge.c if_bridgevar.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Jun 2008 00:58:46 -0700 (PDT)

sephe       2008/06/14 00:58:46 PDT

DragonFly src repository

  Modified files:
    sys/net/bridge       bridgestp.c if_bridge.c if_bridgevar.h 
  Log:
  - Check cached ifnet.if_bridge again in bridge_{input,output}()
  - Pass cached ifnet.if_bridge to bstp_input()
  - Pass the located bif to bstp_input(), so we won't need to locate bif again
  
  These changes make it possible to use following sequence
      ifp->if_bridge = NULL;
      netmsg_service_sync();
  to protect ifnet.if_bridge
  
  Revision  Changes    Path
  1.5       +4 -12     src/sys/net/bridge/bridgestp.c
  1.32      +16 -4     src/sys/net/bridge/if_bridge.c
  1.4       +2 -1      src/sys/net/bridge/if_bridgevar.h


http://www.dragonflybsd.org/cvsweb/src/sys/net/bridge/bridgestp.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/bridge/if_bridge.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/bridge/if_bridgevar.h.diff?r1=1.3&r2=1.4&f=u



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