[BRIDGE]: flush forwarding table when device carrier off
authorStephen Hemminger <shemminger@osdl.org>
Thu, 12 Oct 2006 21:45:38 +0000 (14:45 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 16 Oct 2006 06:14:13 +0000 (23:14 -0700)
commit1a620698c29b5e18150ec04ace0609fb07d08d3e
treec63d5aaa4bfbed335cd7aeb594ad66c3182e086b
parent9ea8cfd6aa74e710f0cb0731ecb9dee53fbebfb9
[BRIDGE]: flush forwarding table when device carrier off

Flush the forwarding table when carrier is lost. This helps for
availability because we don't want to forward to a downed device and
new packets may come in on other links.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c
net/bridge/br_if.c
net/bridge/br_private.h
net/bridge/br_stp_if.c