Date: Thu, 9 Sep 2004 16:57:33 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_vlan.c if_vlan_var.h Message-ID: <200409091657.i89GvXDW017464@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2004-09-09 16:57:33 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_4)
sys/net if_vlan.c if_vlan_var.h
Log:
MFC:
Apply EVL_VLANOFTAG() to a tag passed to vlan_input_tag() by a
VLAN-supporting Ethernet interface so the irrelevant bits (priority
etc) are cleared. Otherwise frames with non-zero dot1q priority
would not be directed to the right vlan interface if the parent
Ethernet interface didn't mask off the irrelevant bits by itself.
Refuse to configure a bogus VLAN ID on a vlan(4) interface.
Revision Changes Path
1.15.2.14 +5 -1 src/sys/net/if_vlan.c
1.5.2.4 +2 -1 src/sys/net/if_vlan_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409091657.i89GvXDW017464>
