Re: [Bridge] RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

2008-03-31 Thread Joakim Tjernlund
On Mon, 2008-03-31 at 12:55 +0530, Srinivas M.A. wrote: Ahh, I didn't copy bridge-stp to /sbin because I didn't think it was needed. Just to test I blindly copied it to /sbin and did: brclt addbr br0 brctl addif br0 eth0 brctl stp br0 and it hung my board :( What did

[Bridge] Bridge sysfs port_no overflow

2008-03-31 Thread Osama Abu Elsorour
All We are running a setup with a large number of bridge ports that reaches the 900 ports. After switching to recent kernel and brctl- utils that uses the sysfs interface, we started noticing that the port numbers are mis-reported when issues the command: brctl showmacs br1 After tracing the

Re: [Bridge] Bridge sysfs port_no overflow

2008-03-31 Thread Stephen Hemminger
On Mon, 31 Mar 2008 09:11:31 +0200 Osama Abu Elsorour [EMAIL PROTECTED] wrote: All We are running a setup with a large number of bridge ports that reaches the 900 ports. After switching to recent kernel and brctl- utils that uses the sysfs interface, we started noticing that the port

Re: [Bridge] RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

2008-03-31 Thread Srinivas M.A.
So I both get a SEGV and the kernel thinks userspace is running STP, not ideal. Segfault is fixed by this: diff --git a/log.h b/log.h index ce0d94e..2fcdcfb 100644 --- a/log.h +++ b/log.h @@ -63,7 +63,7 @@ extern int log_level; #ifdef NO_DAEMON #define ERROR(_fmt, _args...) \ -

Re: [Bridge] RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

2008-03-31 Thread Joakim Tjernlund
-Original Message- From: Stephen Hemminger [mailto:[EMAIL PROTECTED] Sent: den 31 mars 2008 19:09 To: [EMAIL PROTECTED] Cc: Bridge@lists.linux-foundation.org Subject: Re: [Bridge] RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems On Mon,

Re: [Bridge] RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

2008-03-31 Thread Srinivas M.A.
I don't like the bridge-stp bridge start/stop interface. Why would bridge-stp know what bridge to run RTSP on? A more natural way, IMHO, would to extend brctl with a rstp on method. Why is there one rstpctl tool and one brctl tool? I wrote rstpctl to just control the rstp daemon. Should