summaryrefslogtreecommitdiffstats
path: root/net/ethernet
diff options
context:
space:
mode:
authorMike Manning <mmanning@vyatta.att-mail.com>2019-04-18 19:35:35 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-19 22:58:17 +0200
commit8e1acd4fc552f5590e9d5ff6e5cb5eeafd638d30 (patch)
treeba9d30159bb848eb705fa8d3c88e31b819e3921f /net/ethernet
parentbridge: update vlan dev state when port added to or deleted from vlan (diff)
downloadlinux-8e1acd4fc552f5590e9d5ff6e5cb5eeafd638d30.tar.xz
linux-8e1acd4fc552f5590e9d5ff6e5cb5eeafd638d30.zip
bridge: update vlan dev link state for bridge netdev changes
If vlan bridge binding is enabled, then the link state of a vlan device that is an upper device of the bridge tracks the state of bridge ports that are members of that vlan. But this can only be done when the link state of the bridge is up. If it is down, then the link state of the vlan devices must also be down. This is to maintain existing behavior for when STP is enabled and there are no live ports, in which case the link state for the bridge and any vlan devices is down. Signed-off-by: Mike Manning <mmanning@vyatta.att-mail.com> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions