- Add devq which stores mbuf dequeued from ifnet.if_snd during ifnet.if_sart.
commit7fbd95bcf27c686a31c337ec5e22462a1e23df8a
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 18 May 2008 05:12:08 +0000 (18 05:12 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 18 May 2008 05:12:08 +0000 (18 05:12 +0000)
tree92e80e0a2165e9fc892020c5acef1a40c04fc07f
parent50ed307f6fe14f06833d3e780701dea9010882b5
- 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.
sys/net/tap/if_tap.c
sys/net/tap/if_tapvar.h