cvs commit: src/sys/net/tap if_tap.c if_tapvar.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat May 17 22:13:02 PDT 2008


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





More information about the Commits mailing list