cvs commit: src/sys/sys mbuf.h src/sys/net if_ethersubr.c if_vlan.c if_vlan_var.h

Ruslan Ermilov ru at FreeBSD.org
Fri Feb 18 22:31:19 GMT 2005


ru          2005-02-18 22:31:19 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              mbuf.h 
    sys/net              if_ethersubr.c if_vlan.c if_vlan_var.h 
  Log:
  Allocate the M_VLANTAG m_pkthdr flag, and use it to indicate that
  a packet has VLAN mbuf tag attached.  This is faster to check than
  m_tag_locate(), and allows us to use the tags in non-vlan(4) VLAN
  producers.
  
  The first argument to VLAN_OUTPUT_TAG() is now unused but retained
  for backward compatibility.
  
  While here, embellish a fix in rev. 1.174 of if_ethersubr.c -- it
  now checks for packets with VLAN (mbuf) tags, and it should now
  be possible to bridge(4) on vlan(4)'s whose parent interfaces
  support VLAN decapsulation in hardware.
  
  Reviewed by:    sam
  
  Revision  Changes    Path
  1.185     +4 -4      src/sys/net/if_ethersubr.c
  1.77      +1 -0      src/sys/net/if_vlan.c
  1.21      +4 -3      src/sys/net/if_vlan_var.h
  1.166     +3 -1      src/sys/sys/mbuf.h


More information about the cvs-all mailing list