cvs commit: src/sys/net if_vlan.c

Yar Tikhiy yar at FreeBSD.org
Fri Sep 16 04:44:44 PDT 2005


yar         2005-09-16 11:44:43 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_vlan.c 
  Log:
  Test the new M_VLANTAG packet flag before calling
  m_tag_locate().  This adds little overhead of a simple
  bitwise operation in case hardware VLAN acceleration
  is on, yet saves the more expensive function call if
  the acceleration is off.
  
  Reviewed by:    ru, glebius
  X-MFC-after:    6.0
  
  Revision  Changes    Path
  1.84      +5 -2      src/sys/net/if_vlan.c


More information about the cvs-src mailing list