DragonFly commits List (threaded) for 2008-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/net/tap if_tap.c if_tapvar.h
sephe 2008/05/17 22:12:08 PDT
DragonFly src repository
Modified files:
sys/net/tap if_tap.c if_tapvar.h
Log:
- Add devq which stores mbuf dequeued from ifnet.if_snd during ifnet.if_sart.
This is mainly used to avoid confusing functions scheduling ifnet.if_start
- Add tapifstop() which drains devq and clear IFF_RUNNING and IFF_OACTIVE.
- In tapopen(), move TAP_OPEN flag testing before announcing ifnet_attach_event
- Remove ifnet.if_serializer holding around ifq operation.
- White space and minor style changes.
Revision Changes Path
1.40 +71 -34 src/sys/net/tap/if_tap.c
1.5 +2 -1 src/sys/net/tap/if_tapvar.h
http://www.dragonflybsd.org/cvsweb/src/sys/net/tap/if_tap.c.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/tap/if_tapvar.h.diff?r1=1.4&r2=1.5&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]