From: Jay Vosburgh Date: Sun, 26 Apr 2009 01:03:35 +0000 (-0700) Subject: vlan: update vlan carrier state for admin up/down X-Git-Tag: v2.6.30-rc4~3^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adc667e84f086aa110d810f3476c494e48eaabaa;p=pandora-kernel.git vlan: update vlan carrier state for admin up/down Currently, the VLAN event handler does not adjust the VLAN device's carrier state when the real device or the VLAN device is set administratively up or down. The following patch adds a transfer of operating state from the real device to the VLAN device when the real device is administratively set up or down, and sets the carrier state up or down during init, open and close of the VLAN device. This permits observers above the VLAN device that care about the carrier state (bonding's link monitor, for example) to receive updates for administrative changes by more closely mimicing the behavior of real devices. Signed-off-by: Jay Vosburgh Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed