]> 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)
commitfb6e3a43151d66b1430add6f551fea935b341d09
tree47317f7bc68dc06ad06735eb7c9ba4e271dcd793
parent44ab285e911ee6fcb5c1b1567c029b7efdc5daf3
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