[Bridge] [PATCH] Bridge allows the userspace to configure the bridge parameters with values not defined in the IEEE 802.1D std

2011-03-26 Thread Sasikanth V
Signed-off-by: Sasikanth V --- include/linux/if_bridge.h | 28 +++ net/bridge/br_ioctl.c | 35 +++--- net/bridge/br_private.h |7 +++- net/bridge/br_stp_if.c|7 +++- net/bridge/br_sysfs_br.c | 83 - net

Re: [Bridge] [PATCH] Bridge allows the userspace to configure the bridge parameters with values not defined in the IEEE 802.1D std

2011-03-26 Thread Sasikanth V
On Sat, Mar 26, 2011 at 9:25 PM, Stephen Hemminger < shemmin...@linux-foundation.org> wrote: > On Sat, 26 Mar 2011 20:19:57 +0530 > Sasikanth V wrote: > > > > > Signed-off-by: Sasikanth V > > --- > > I will clean this up. There are things l

Re: [Bridge] [PATCH] Bridge allows the userspace to configure the bridge parameters with values not defined in the IEEE 802.1D std

2011-03-29 Thread Sasikanth V
On Sun, Mar 27, 2011 at 12:01 AM, Sasikanth V wrote: > > > On Sat, Mar 26, 2011 at 9:25 PM, Stephen Hemminger < > shemmin...@linux-foundation.org> wrote: > >> On Sat, 26 Mar 2011 20:19:57 +0530 >> Sasikanth V wrote: >> >> > >> > Signed

[Bridge] [PATCH] Bridge: Removed unwanted check and improper usage of bridge locks

2011-03-29 Thread Sasikanth V
Signed-off-by: Sasikanth V --- net/bridge/br_device.c|5 - net/bridge/br_stp_if.c|2 -- net/bridge/br_stp_timer.c |3 --- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 21e5901..6cc612b 100644 --- a

[Bridge] [PATCH] BRIDGE: As per 802.1D clause 9.3.4 Added support to prevent processing port's own BPDU (If a loopback condition exists)

2011-03-30 Thread Sasikanth V
Signed-off-by: Sasikanth V --- net/bridge/br_private.h |1 + net/bridge/br_stp.c | 20 ++-- net/bridge/br_stp_if.c|2 ++ net/bridge/br_stp_timer.c |1 + 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/net/bridge/br_private.h b/net/bridge

Re: [Bridge] [PATCH] BRIDGE: As per 802.1D clause 9.3.4 Added support to prevent processing port's own BPDU (If a loopback condition exists)

2011-03-30 Thread Sasikanth V
On Wed, Mar 30, 2011 at 9:55 PM, Stephen Hemminger wrote: > On Wed, 30 Mar 2011 21:03:36 +0530 > Sasikanth V wrote: > > > > > Signed-off-by: Sasikanth V > > --- > > net/bridge/br_private.h |1 + > > net/bridge/br_stp.c | 20 +

Re: [Bridge] [PATCH] net/bridge: Fix wrong return-no-vaule

2011-04-01 Thread Sasikanth V
It is already fixed and applied On 4/1/11, namei.u...@gmail.com wrote: > From: Liu Yuan > > In br_stp_if.c/br_stp_recalculate_bridge_id, it should return > false, which indicates that there is no change when we find > that user has chosen a value. > > Signed-off-by: Liu Yuan > --- > net/bridge

Re: [Bridge] mind-boggling questions

2011-04-25 Thread Sasikanth V
2011/4/25 Ireneusz Szcześniak > Hi, > > I have a few questions on the Linux bridge, and I would appreciate it > if someone could answer them. > > 1. Why does a bridge have a MAC address? A bridge doesn't need a MAC > address. I understand that a Linux box might offer more than a regular > switch