All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@enneenne.com>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] rstpd & 2.4
Date: Fri, 2 Jul 2010 21:22:46 +0200	[thread overview]
Message-ID: <20100702192246.GH3826@enneenne.com> (raw)
In-Reply-To: <20100702092148.5d5a4e57@nehalam>

On Fri, Jul 02, 2010 at 09:21:48AM -0700, Stephen Hemminger wrote:
> On Fri, 2 Jul 2010 15:56:41 +0200
> Rodolfo Giometti <giometti@enneenne.com> 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 mechanism is not implemented so should I backport some
> > kernel code or I can just disable the STP by using the
> > BRCTL_SET_BRIDGE_STP_STATE ioctl command? There are any drawbacks in
> > doing so?
> 
> 
> 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,

These could be added...

> and the spanning tree packets may not be visible to user space
> application either.

Neither using a packet sniffer?

> Sigh, 2.4 is at least 5 years old by now.

I see but I need to update an old product... what do you suggest to
me? It could be easier to add missing code to kernel 2.4 or just
trying to port rstp in kernel-land? In the latter case, have you some
URLs to suggest to me? :)

Thanks in advance,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti@enneenne.com
Linux Device Driver                          giometti@linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it

  reply	other threads:[~2010-07-02 19:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02 13:56 [Bridge] rstpd & 2.4 Rodolfo Giometti
2010-07-02 16:21 ` Stephen Hemminger
2010-07-02 19:22   ` Rodolfo Giometti [this message]
2010-07-27  9:26   ` Rodolfo Giometti
2010-07-27 15:38     ` Stephen Hemminger
2010-07-27 17:20       ` Rodolfo Giometti
2010-07-29 15:39     ` Rodolfo Giometti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100702192246.GH3826@enneenne.com \
    --to=giometti@enneenne.com \
    --cc=bridge@lists.linux-foundation.org \
    --cc=shemminger@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.