bridge: respect RFC2863 operational state
commit576eb62598f10c8c7fd75703fe89010cdcfff596
authorstephen hemminger <shemminger@vyatta.com>
Fri, 28 Dec 2012 18:15:22 +0000 (28 18:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Dec 2012 10:31:43 +0000 (30 02:31 -0800)
tree47317f7bc68dc06ad06735eb7c9ba4e271dcd793
parentaa1113d9f85da59dcbdd32aeb5d71da566e46def
bridge: respect RFC2863 operational state

The bridge link detection should follow the operational state
of the lower device, rather than the carrier bit. This allows devices
like tunnels that are controlled by userspace control plane to work
with bridge STP link management.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Reviewed-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c
net/bridge/br_netlink.c
net/bridge/br_notify.c
net/bridge/br_stp_if.c