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
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]