cvs commit: src/sys/net if_vlan.c if_vlan_var.h
Yar Tikhiy
yar at FreeBSD.org
Thu Sep 9 09:57:34 PDT 2004
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
More information about the cvs-src
mailing list