Re: [Bridge] rstpd & 2.4

2010-07-29 Thread Rodolfo Giometti
On Tue, Jul 27, 2010 at 11:26:55AM +0200, Rodolfo Giometti wrote: > Regarding the bridge controls I can add to the current sysfs interface > the old ioctl interface as the old bridge-utils did. Hello, I ported almost everything but I'm stuck on function STP_OUT_flush_lt (file bridge_track.c). In

Re: [Bridge] rstpd & 2.4

2010-07-27 Thread Rodolfo Giometti
On Tue, Jul 27, 2010 at 08:38:15AM -0700, Stephen Hemminger wrote: > On Tue, 27 Jul 2010 11:26:55 +0200 > Rodolfo Giometti wrote: > > > On Fri, Jul 02, 2010 at 09:21:48AM -0700, Stephen Hemminger wrote: > > > > > The 2.4 kernel is missing all the hooks to provide user level STP. > > > The startu

Re: [Bridge] rstpd & 2.4

2010-07-27 Thread Stephen Hemminger
On Tue, 27 Jul 2010 11:26:55 +0200 Rodolfo Giometti wrote: > On Fri, Jul 02, 2010 at 09:21:48AM -0700, Stephen Hemminger wrote: > > > The 2.4 kernel is missing all the hooks to provide user level STP. > > The startup is not the big issue, the real problem is that the > > kernel doesn't have hook

Re: [Bridge] rstpd & 2.4

2010-07-27 Thread Rodolfo Giometti
On Fri, Jul 02, 2010 at 09:21:48AM -0700, Stephen Hemminger wrote: > The 2.4 kernel is missing all the hooks to provide user level STP. > The startup is not the big issue, the real problem is that the > kernel doesn't have hooks to control port state from user space, > and the spanning tree packet

Re: [Bridge] rstpd & 2.4

2010-07-02 Thread Rodolfo Giometti
On Fri, Jul 02, 2010 at 09:21:48AM -0700, Stephen Hemminger wrote: > On Fri, 2 Jul 2010 15:56:41 +0200 > Rodolfo Giometti wrote: > > > Hello, > > > > project rstpd at > > http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git can work > > if default kernel stp is disabled by calling users

Re: [Bridge] rstpd & 2.4

2010-07-02 Thread Stephen Hemminger
On Fri, 2 Jul 2010 15:56:41 +0200 Rodolfo Giometti wrote: > Hello, > > project rstpd at > http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git can work > if default kernel stp is disabled by calling userspace program > /sbin/bridge-stp and checking the return code. > > On 2.4.27 such m

[Bridge] rstpd & 2.4

2010-07-02 Thread Rodolfo Giometti
Hello, project rstpd at http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git can work if default kernel stp is disabled by calling userspace program /sbin/bridge-stp and checking the return code. On 2.4.27 such mechanism is not implemented so should I backport some kernel code or I can j