diff options
author | Jay Vosburgh <fubar@us.ibm.com> | 2009-04-26 03:03:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-26 03:03:35 +0200 |
commit | adc667e84f086aa110d810f3476c494e48eaabaa (patch) | |
tree | 4a1267f1d2aa44893e2dc6c779ae686a01db409d /net/tipc/zone.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/... (diff) | |
download | linux-adc667e84f086aa110d810f3476c494e48eaabaa.tar.xz linux-adc667e84f086aa110d810f3476c494e48eaabaa.zip |
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 <fubar@us.ibm.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/tipc/zone.c')
0 files changed, 0 insertions, 0 deletions