cvs commit: src/sys/net if_vlan.c
Yar Tikhiy
yar at FreeBSD.org
Mon Jul 26 07:46:04 PDT 2004
yar 2004-07-26 14:46:04 UTC
FreeBSD src repository
Modified files:
sys/net if_vlan.c
Log:
Stop tinkering with the parent's VLAN_MTU capability.
Now it is user-controlled through ifconfig(8).
The former ``automagic'' way of operation created more
trouble than good. First, VLAN_MTU consumers other than
vlan(4) had appeared, e.g., ng_vlan(4). Second, there was
no way to disable VLAN_MTU manually if it were causing
trouble, e.g., data corruption.
Dropping the ``automagic'' should be completely invisible
to the user since
a) all the drivers supporting VLAN_MTU
have it enabled by default, and in the first place
b) there is only one driver that can really toggle VLAN_MTU
in the hardware under its control (it's fxp(4), to which
I added VLAN_MTU controls to illustrate the principle.)
Revision Changes Path
1.72 +7 -27 src/sys/net/if_vlan.c
More information about the cvs-src
mailing list