cvs commit: src/sys/net if_vlan.c

Gleb Smirnoff glebius at FreeBSD.org
Tue Sep 20 06:44:37 PDT 2005


glebius     2005-09-20 13:44:36 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if_vlan.c 
  Log:
  MFC 1.84 by yar:
    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
  
  Approved by:    re (kensmith)
  
  Revision  Changes    Path
  1.79.2.4  +5 -2      src/sys/net/if_vlan.c


More information about the cvs-src mailing list