[Bridge] [PATCH] bridge: flush forwarding table when device carrier off

David Miller davem at davemloft.net
Thu Oct 12 14:48:15 PDT 2006


From: Stephen Hemminger <shemminger at osdl.org>
Date: Thu, 12 Oct 2006 11:24:31 -0700

> 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 at osdl.org>
 ...
> +			if (f->is_static & !do_all)
> +				continue;

Applied with "&" changed to "&&" as mentioned elsewhere :)



More information about the Bridge mailing list