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
| ||
|
Date: Fri, 1 Jul 2011 12:08:33 +0200 From: David Lamparter <equinox@...c24.net> To: Stephen Hemminger <shemminger@...ux-foundation.org> Cc: Alexander Stein <alexander.stein@...tec-electronic.com>, "David S. Miller" <davem@...emloft.net>, bridge@...ts.linux-foundation.org, netdev@...r.kernel.org Subject: Re: possible bridge regression in "bridge: implement [add/del]_slave ops"? On Thu, Jun 30, 2011 at 10:08:19AM -0700, Stephen Hemminger wrote: > On Thu, 30 Jun 2011 10:33:23 +0200 > Alexander Stein <alexander.stein@...tec-electronic.com> wrote: > > > * echo $(pgrep rstpd) > /var/run/rstpd.pid > > * brctl addbr br1 > > * echo 1 > /sys/class/net/br1/bridge/stp_state > > This bogus. You are running both kernel and spanning > tree daemon at the same time! > > Doing the echo of 1 to stp_state forces kernel spanning > tree. You want 2 which is what is supposed to be use for user > mode spanning tree. I just tested this on my box, you can't echo 2 into that sysfs file (it reads back as 1). That you can change this variable at all when an userspace stp implementation is running is a bug anyway, IMHO. rstpd should do all the required settings and the kernel should prevent them from being changed while rstpd has the bridge under its control. -David -- 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