[Bridge] RE: [PATCH] (3/4) bridge linkstate handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2004-07-29 at 12:36, Eble, Dan wrote:

> His patch ensures that when a port regains carrier, it is Blocked.
> Before the patch, a Forwarding port would remain Forwarding if the other
> end of the cable were unplugged and then plugged into some other place.

Ok, this is sensible. With a user space control you could probably do
more interesting things with that link info.

> 
> I think I see.  So then when an event happens that might affect the port
> state, the bridge should temporarily block traffic on the port (in case
> the policy daemon will tell it to start blocking) and wait for the
> daemon to respond with a "start blocking" or "continue forwarding"
> decision.  Is that the idea, or have I completely misunderstood?

Everything is still driven by the STP state machine. So no smartness on
the bridge itself; it is just told what to do and it transitions state.
On startup, the port is in blocked state. Only passes BPDUs to user
space. Based on BPDUs and other input (like link info of say unrelated
port) the port state is transitioned. Since all state control is in user
space i.e at one location, no loops should happen. Not sure if it makese
sense.

cheers,
jamal 



[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux