From: jamal <hadi@cyberus.ca>
To: Andy Gospodarek <andy@greyhouse.net>
Cc: netdev@vger.kernel.org, bridge@osdl.org,
"David S. Miller" <davem@davemloft.net>,
Stephen Hemminger <shemminger@osdl.org>
Subject: Re: [Bridge] [PATCH] bridge: flush forwarding table when device carrier off
Date: Thu, 12 Oct 2006 17:30:33 -0400 [thread overview]
Message-ID: <1160688633.5047.5.camel@jzny2> (raw)
In-Reply-To: <20061012201043.GA29253@gospo.rdu.redhat.com>
On Thu, 2006-12-10 at 16:10 -0400, Andy Gospodarek wrote:
> 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 <shemminger@osdl.org>
> >
>
> Stephen,
>
> This is an excellent idea
I am on the other extreme - this is problematic if you have a large
table already learnt. Agrevate that with an unstable link and it gets a
lot worse. Both of which dont sound unrealistic in say a wireless AP.
A more sane policy i have seen is a timer that flushes the table after a
programmed period; this way you counter a flipflop-ing link.
IOW, the best place is to have this in some user space daemon. If it has
to be in the kernel, can you add a systcl to disable it?
cheers,
jamal
WARNING: multiple messages have this Message-ID (diff)
From: jamal <hadi@cyberus.ca>
To: Andy Gospodarek <andy@greyhouse.net>
Cc: Stephen Hemminger <shemminger@osdl.org>,
"David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, bridge@osdl.org
Subject: Re: [PATCH] bridge: flush forwarding table when device carrier off
Date: Thu, 12 Oct 2006 17:30:33 -0400 [thread overview]
Message-ID: <1160688633.5047.5.camel@jzny2> (raw)
In-Reply-To: <20061012201043.GA29253@gospo.rdu.redhat.com>
On Thu, 2006-12-10 at 16:10 -0400, Andy Gospodarek wrote:
> 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 <shemminger@osdl.org>
> >
>
> Stephen,
>
> This is an excellent idea
I am on the other extreme - this is problematic if you have a large
table already learnt. Agrevate that with an unstable link and it gets a
lot worse. Both of which dont sound unrealistic in say a wireless AP.
A more sane policy i have seen is a timer that flushes the table after a
programmed period; this way you counter a flipflop-ing link.
IOW, the best place is to have this in some user space daemon. If it has
to be in the kernel, can you add a systcl to disable it?
cheers,
jamal
next prev parent reply other threads:[~2006-10-12 21:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-12 18:24 [Bridge] [PATCH] bridge: flush forwarding table when device carrier off Stephen Hemminger
2006-10-12 18:24 ` Stephen Hemminger
2006-10-12 20:10 ` [Bridge] " Andy Gospodarek
2006-10-12 20:10 ` Andy Gospodarek
2006-10-12 20:31 ` [Bridge] " Stephen Hemminger
2006-10-12 20:31 ` Stephen Hemminger
2006-10-12 21:30 ` jamal [this message]
2006-10-12 21:30 ` jamal
2006-10-12 21:32 ` [Bridge] " Stephen Hemminger
2006-10-12 21:32 ` Stephen Hemminger
2006-10-12 21:47 ` [Bridge] " jamal
2006-10-12 21:47 ` jamal
2006-10-12 21:48 ` [Bridge] " David Miller
2006-10-12 21:48 ` David Miller
2006-10-24 7:39 ` [Bridge] " ArcosCom Linux User
2006-10-24 7:39 ` ArcosCom Linux User
2006-10-24 8:29 ` David Miller
2006-10-24 8:29 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1160688633.5047.5.camel@jzny2 \
--to=hadi@cyberus.ca \
--cc=andy@greyhouse.net \
--cc=bridge@osdl.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=shemminger@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.