]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
After all the relevant drivers have been fixed, fix vlan(4) itself
authoryar <yar@FreeBSD.org>
Tue, 25 May 2004 14:30:12 +0000 (14:30 +0000)
committeryar <yar@FreeBSD.org>
Tue, 25 May 2004 14:30:12 +0000 (14:30 +0000)
commitbd82e3f62a435a5344e625c8f159c51f44e6a16c
tree3f2b0a83b3ed903462f906ee4d7ebb96b15a804e
parentc1fe0e4c6c5ef780884fb08a839394690ee9223b
After all the relevant drivers have been fixed, fix vlan(4) itself
WRT manipulating capabilities of the parent interface:

- use ioctl(SIOCSIFCAP) to toggle VLAN_MTU (the way that was done
  before was just wrong);

- use the right order of conditional clauses to set the MTU fudge
  (that is logically independent from toggling VLAN_MTU.)
sys/net/if_vlan.c