On Thu, Oct 12, 2006 at 11:24:31AM -0700, Stephen Hemminger wrote:
> 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 <[EMAIL PROTECTED]>
> 

Stephen,

This is an excellent idea and all looks good except this check

+                       if (f->is_static & !do_all)
+                               continue;

should be this: 

+                       if (f->is_static && !do_all)
+                               continue;

I'll ACK a repost with that change.

-andy


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to