Displaying 20 results from an estimated 200 matches similar to: "[Bridge] [PATCH 2.6] Fix message age in bridge STP config packets"
2007 Apr 18
1
[Bridge] [PATCH 2.4] Bridge STP message age
This is the 2.4 version which incorporates the observations from Kishore
about 2.6. The existing 2.4 code set the age properly, but did not increment
correctly for HZ=1000 and could send a stale (expired) configuration.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff -Nru a/net/bridge/br_stp.c b/net/bridge/br_stp.c
--- a/net/bridge/br_stp.c 2004-06-29 15:30:32 -07:00
+++
2007 Apr 18
4
[Bridge] [Patch] [2.6.7] Bridge - Fix BPDU message_age
Fixes message_age field update in config BPDUs. Also checks whether the BPDU
message age has exceeded bridge max age before transmitting config BPDUs.
Signed-off-by: Kishore A K <KishoreAK@myw.ltindia.com>
Index: linux-2.6.7/net/bridge/br_stp.c
=============================================================
--- linux-2.6.7/net/bridge/br_stp.c.orig 2004-06-17 20:17:27.000000000 +0530
+++
2007 Apr 18
0
[Bridge] STP Explanation
Hi,
I'm trying to modify the stp kernel files in order to implements the RSTP. I've already modify the bpdu format like this :
------------------------------------------------------------------------------------------------------------------------------------
typedef struct
{
int topo_change = 0;
int proposal = 0;
int port_role[2] = {0,0} ; //role du port ?metteur du BPDU
2007 Apr 18
1
[Bridge] STP Explanation (2)
I saw some big mistakes, here's the correct version :
--------------------------------------------------------------------
void br_send_config_bpdu(struct net_bridge_port *p, struct bpdu *bpdu)
{
unsigned char buf[42];
buf[0] = bpdu->bpdu_header.protocol[0]; //0x00
buf[1] = bpdu->bpdu_header.protocol[1]; //0x00
buf[2] = bpdu->bpdu_header.version; //0x02
buf[3] =
2013 Sep 09
3
[Bridge] [PATCH 1/1] bridge: fix message_age_timer calculation
This changes the message_age_timer calculation to use the BPDU's max age as opposed to the local bridge's max age. This is in accordance with section 8.6.2.3.2 Step 2 of the 802.1D-1998 sprecification.
With the current implementation, when running with very large bridge diameters, convergance will not always occur even if a root bridge is configured to have a longer max age.
Tested
2007 Apr 18
0
[Bridge] [PATCH] typo in br_stp.c: propgating -> propagating
Hi. I'm not subscribed, so please Cc: me.
This trivial patch fixes a typo that irritates me every time I boot..
--- linux-2.5.orig/net/bridge/br_stp.c 2004-07-19 14:43:44.000000000 +0300
+++ linux-2.5/net/bridge/br_stp.c 2004-07-19 14:53:15.000000000 +0300
@@ -299,7 +299,7 @@
int isroot = br_is_root_bridge(br);
pr_info("%s: topology change detected, %s\n",
2007 Apr 18
0
[Bridge] Timer problem
Hi all,
I try to reduce the time of link break detection for the STP. I want to make a timer who detect a link failure
within a few times instead of waiting max age timeout. The problem is that my timer isn't take in account by the bride and i really don't know why, can someone help me ?
Here's what I've done :
in file br_stp_timer.c :
/* called under bridge lock */
static
2024 Mar 18
0
[PATCH] add option to skip files based on age/mtime
I've added the options --min-age=SECONDS and --max-age=SECONDS to allow
rsync to skip files based on how recently they were modified.
Setting --min-age=30 (for example) would cause rsync to skip files that
had been modified within the last 30 seconds.
Setting --max-age=7776000 would cause rsync to skip files that had been
modified more than 90 days ago (7776000 == 60*60*24*90).
I realize
2007 Apr 18
0
[Bridge] [PATCH] (4/11) bridge - ioctl cleanup and consolidation
Merge the ioctl stub calls that just end up calling the sub-function
to do the actual ioctl. Move br_get_XXX_ifindices into the ioctl file
as well where they can be static.
diff -Nru a/net/bridge/br_device.c b/net/bridge/br_device.c
--- a/net/bridge/br_device.c 2004-05-20 10:51:05 -07:00
+++ b/net/bridge/br_device.c 2004-05-20 10:51:05 -07:00
@@ -19,21 +19,6 @@
#include <asm/uaccess.h>
2007 Apr 18
2
[Bridge] [RFC] bridge kernel API change
Here is the proposed revision to the bridge utilities
interface to the kernel. The driving force is that the
existing interface can't easily be converted to 32/64 bit
compat. Right now, the bridge-utils (brctl) tries to handle
32bit command on 64 bit kernel, but the code is limited to sparc
and wrong.
Here is what I am thinking.
get version - not needed?
get bridges -
2007 Apr 18
0
[Bridge] BPDU Hello time
Hi,
I tried to send the BDPU at less than 1 second in a STP implementation.
When I look at STP info with brctl in tells me that the bpdu are send under the second
but in fact it's "only" every second. Is it because we can't send BPDU less than 1 second
or something else ?
Thanks for your response
HENRY Simon
------------------------------------------
Faites un voeu et
2008 Apr 09
0
[Bridge] STP on hardware switch
Hi all,
I work on a SOC based on Micrel/Kendin KS8695 based on ARM9. (
http://micrel.com/page.do?page=product-info/sys_on_chip.jsp)
This component has 2 network interfaces. One is connected to a 5 ports
switch.
eth0
eth1 => switch port1,2,3,4
I want to make a bridge with these 5 ports but my problem is that the
network driver only install 2 interfaces.
The KS8695 network switch can be
2007 Apr 18
1
[Bridge] BPDU's not passing through bridge when STP is disabled
I have noticed a change in the linux bridge implementation between
2.1.15 and 2.1.17. Specifically, I do not think BPDU's (generated from
another bridge) are passed across the bridge when STP is disabled. I
think this relates to the LLC handling of BPDU's directly invoking
br_bpdu_rcv.
In 2.6.15, the br_handle_frame function would pass a BPDU to the
br_handle_frame_finish function
2007 Apr 18
1
[Bridge] Spanning Tree Source Code
Hi ,
Im new in this list, and Im trying to find a Spanning Tree source code, the
kind that runs in bridges and switches.
Does anybody know wher I can find it? Any help would be appreciated.
Thanks,
--
Francisco Trindade
fmtrindade@inf.ufrgs.br
2007 Apr 18
1
[Bridge] Spanning tree code
Hi
I'm looking for code that implements the 802.1d spanning tree.
Do you have an idea where can I download this code?
Thanks
Yossi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20050818/692b471a/attachment-0002.htm
2012 Dec 24
0
[Bridge] Does linux support per vlan stp
Hi,
I want to connect two pc`s on a redundant way with each other. On
those pc`s a 64 bit ubuntu 11.10 is running with kernel version
3.0.0-16-generic.
Setup1:
----------
PC1:
PC2:
br0
br1
|
|
-- eth0.1000 ---------------------------------------------------eth0.1000
|
|
__eth1.1001
2015 Jan 25
0
VLAN issue
OK... but why does it need to be a trunk port?
Boris.
On Sat, Jan 24, 2015 at 6:53 PM, SilverTip257 <silvertip257 at gmail.com>
wrote:
> Andrew and Dennis are spot on.
> Their conclusions about your server being connected to an access port and
> not a trunk port would be my conclusion as well.
>
> On Sat, Jan 24, 2015 at 9:11 AM, Dennis Jacobfeuerborn <
> dennisml at
2023 Jul 12
0
[Bridge] [PATCH v1 net] bridge: Return an error when enabling STP in netns.
On 12/07/2023 02:54, Kuniyuki Iwashima wrote:
> When we create an L2 loop on a bridge in netns, we will see packets storm
> even if STP is enabled.
>
> # unshare -n
> # ip link add br0 type bridge
> # ip link add veth0 type veth peer name veth1
> # ip link set veth0 master br0 up
> # ip link set veth1 master br0 up
> # ip link set br0 type bridge stp_state 1
2007 Apr 18
0
[Bridge] Re: [VLAN] newbie problems
Thanks for the reply.
You are quite right about the routing, and i've advanced to the bridging
part.
But it will not work. I've finaly gotten access to the switch it's
connected to and from the logs i've got this output:
Jan 26 16:49:56: %SPANTREE-2-RECV_PVID_ERR: Received BPDU with
inconsistent peer vlan id 4 on GigabitEthernet0/1 VLAN40.
Jan 26 16:49:56:
2023 Jul 11
3
[Bridge] [PATCH v1 net] bridge: Return an error when enabling STP in netns.
When we create an L2 loop on a bridge in netns, we will see packets storm
even if STP is enabled.
# unshare -n
# ip link add br0 type bridge
# ip link add veth0 type veth peer name veth1
# ip link set veth0 master br0 up
# ip link set veth1 master br0 up
# ip link set br0 type bridge stp_state 1
# ip link set br0 up
# sleep 30
# ip -s link show br0
2: br0: