Date: Wed, 29 Aug 2007 14:27:44 -0700 (PDT) From: wang dengyi Subject: Re: [Bridge] bridge problem when one interface is in blocking mode In-Reply-To: <20070823112321.41991a9e@freepuppy.rosehill.hemminger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <465348.90860.qm@web51908.mail.re2.yahoo.com> List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stephen Hemminger Cc: bridge@lists.linux-foundation.org --- Stephen Hemminger wrote: > On Thu, 23 Aug 2007 11:17:44 -0700 (PDT) > wang dengyi wrote: > > > Hi Stephen, > > > > Here is the detail > > kernel version: 2.6.14 > > architecture: PPC > > ehternet: from the processor mpc5200b > > wifi manufactor: Netgate 5004 MP, Atheros chipset > > wifi driver: madwifi 0.91 > > WDS on wifi: enabled. > > > > I guess it's an issue combined by ethernet > driver/wifi > > driver and bridge. Is there anything you suspect > that > > I can check? > > > > I believe the 2 actions: updating forwarding > database > > when a stp package is received and delivering the > > package based on the forwarding database, are > correct. > > I must miss something. For example, STP detection > set > > an interface as blocking and remove it from the > > forwarding database? It's just my wild guess. > > > > By the way, I found Bartek reported the same issue > on > > 2.6.11.12 and 2.6.13.2. Here is the link: > > > https://lists.linux-foundation.org/pipermail/bridge/2005-October/004710.html > > He has 3 ethernet nic for each machine and his fix > is > > to update the forwarding database only when the > port > > is in learning or forwarding state. > > > > There was a bug fix in later kernel (2.6.19) that > causes the forwarding > database to be purged when STP decides not to use > interface. > Hi Stephen, I merged the bridge code from the kernel source tree 2.6.19. But it's the same thing: packages are sent through the blocking interface. Anyway, I am worried that something is missing when I merged the code. Could you give me more information about the patch? If it's possible, please send me your patch for 2.6.19? Thank you very much. At the same time, I am looking for the relationship between blocking interface and the forwarding table from the stp source code. No luck until now. Any hint? Regards, Dengyi ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/