lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 13 May 2009 10:44:49 -0700
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Karl Hiramoto <karl@...amoto.org>
Cc:	netdev@...r.kernel.org
Subject: Re: loosing connections on bridge topology changes

On Wed, 13 May 2009 17:13:41 +0200
Karl Hiramoto <karl@...amoto.org> wrote:

> 
> Hi,
> 
> I have a user space application, that puts eth0 into bridge br0.  At 
> this moment all connections seem frozen. Telnet, HTTP, and NFS.
> 
> For development i have nfs root fs.
> 
> There is a ioctl() that does the equivalent of "brctl addif br0 eth0"
> 
> That cuts all the connections for a few seconds.
> 
> nfs: server 192.168.10.51 not responding, still trying
> br0: topology change detected, propagating           
> br0: port 1(eth0) entering forwarding state          
> nfs: server 192.168.10.51 not responding, still trying
> nfs: server 192.168.10.51 OK                         
> nfs: server 192.168.10.51 OK  
> 
> 
> Then everything is OK..
> 
> Is there anyway i can fix this, so my applicaion goes ahead at full speed?
> 
> 
> using libnl i tried flushing the ARP cache on all devices, but it didn't 
> seem to help.
> 
> 
> Thanks
> --
> 
> Karl.

turn off forwarding delay (unless you are using STP).
 brctl setfd br0 0

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ