Date: Fri, 18 Feb 2005 22:31:19 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys mbuf.h src/sys/net if_ethersubr.c if_vlan.c if_vlan_var.h Message-ID: <200502182231.j1IMVJvt052637@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502182231.j1IMVJvt052637>