]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: respect RFC2863 operational state
authorstephen hemminger <shemminger@vyatta.com>
Fri, 28 Dec 2012 18:15:22 +0000 (18:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Dec 2012 10:31:43 +0000 (02:31 -0800)
commit733e957924e6b62d6f80ad079df89c32f16a27e9
tree47317f7bc68dc06ad06735eb7c9ba4e271dcd793
parent20bce530948c00cab9e55f57ceefc622aa3325a1
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