Displaying 20 results from an estimated 400 matches similar to: "[Bridge] [PATCH] typo in br_stp.c: propgating -> propagating"
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
0
[Bridge] [PATCH 2.6] Fix message age in bridge STP config packets
This is a revised version of Kishore's patch to set message age appropriately
in STP configuration packets.
Signed-off-by: Kishore A K <KishoreAK@myw.ltindia.com>
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 14:45:50 -07:00
+++ b/net/bridge/br_stp.c 2004-06-29 14:45:50 -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
+++
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] 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] eth2.100: received packet with own address as source address
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a machine running 2.6.18-rc3 with a bridge config that looks like
this:
cr1:~# brctl show
bridge name bridge id STP enabled interfaces
vlan100 36b0.0007e90f40c1 yes eth0.100
eth2.100
vlan101 5dc0.0007e90f40c1 yes
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] =
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
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>
2008 Oct 20
2
[LLVMdev] TableGen Hacking Help
Ok, this is really complicated. I need some TableGen experts to help here.
I need a little help doing a final bit of tblgen hacking.
I've hacked tblgen to handle patterns like this:
let AddedComplexity = 40 in {
def : Pat<(vector_shuffle (v2f64 (scalar_to_vector (loadf64 addr:$src1))),
(v2f64 (scalar_to_vector (loadf64 addr:$src2))),
2018 Apr 10
1
[RFC PATCH net-next v6 4/4] netvsc: refactor notifier/event handling code to use the bypass framework
On Tue, Apr 10, 2018 at 4:28 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
> On Tue, Apr 10, 2018 at 02:26:08PM -0700, Stephen Hemminger wrote:
>> On Tue, 10 Apr 2018 11:59:50 -0700
>> Sridhar Samudrala <sridhar.samudrala at intel.com> wrote:
>>
>> > Use the registration/notification framework supported by the generic
>> > bypass
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
2003 Jul 31
1
Updated from 2.2.8a to 3.0b3 gives smbtar newer failure
Hi all,
Situation:
We use smbtar for backups, incrementals done using -N <last date file>,
and this has worked well with samba 2.2.x
After upgrading to 3.0b3, using the -N (newer) option to smbtar causes a
bad interaction with smbclient.
Eg,:
# smbtar -s PC -x Share -u User -p Pwd -d / -t - -N last-backup -v
gives (if you print out the eval at the end of smbtar script):
eval
2006 Jul 07
2
Hello New MAC / DHCP Request - How to spot the presents of a new MAC address...
Hi All,
How do I find out about new new DHCP connections as they appear?
I want to write a script that will do some stuff based on a new ip
request from a machine on my lan.
ie - new user connects to the lan, DHCP server on my Linux (debian)
gateway gives them an IP, my script is run automatically to change the
firewall rules and start recording their presents, or if it''s an unknown
2007 Nov 10
0
[Bridge] WDS STP weirdness
I am doing some testing of openwrt'd wireless access points, using
madwifi-ng'd atheros radios. In the test configuration, I have three
devices in a triangle, each has wds links to the other two devices.
The ath0 interface is in ap mode, ath1 is a wds link to one device,
and ath2 is a wds link to the other device. All three interfaces (and
an ethernet interface) are in a bridge (br-lan)
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
This patch adds basic Virtual Ethernet Port Aggregator (VEPA)
capabilities to the Linux Ethernet bridging utilities.
The patch provides functionality that depends on the Linux kernel
patch 'net/bridge: add basic VEPA support'.
This patch relies on the patch 'bridge-utils: fix sysfs path for
setting bridge configuration parameters'.
A Virtual Ethernet Port Aggregator (VEPA) is
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
This patch adds basic Virtual Ethernet Port Aggregator (VEPA)
capabilities to the Linux Ethernet bridging utilities.
The patch provides functionality that depends on the Linux kernel
patch 'net/bridge: add basic VEPA support'.
This patch relies on the patch 'bridge-utils: fix sysfs path for
setting bridge configuration parameters'.
A Virtual Ethernet Port Aggregator (VEPA) is
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
This patch adds basic Virtual Ethernet Port Aggregator (VEPA)
capabilities to the Linux Ethernet bridging utilities.
The patch provides functionality that depends on the Linux kernel
patch 'net/bridge: add basic VEPA support'.
This patch relies on the patch 'bridge-utils: fix sysfs path for
setting bridge configuration parameters'.
A Virtual Ethernet Port Aggregator (VEPA) is
2007 Apr 18
0
[Bridge] [PATCH] bridge: random extra bytes on STP TCN packet
We seem to send 3 extra bytes in a TCN, which will be whatever happens
to be on the stack. Thanks to Aji_Srinivas@emc.com for seeing.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff -Naur a/net/bridge/br_stp_bpdu.c b/net/bridge/br_stp_bpdu.c
--- a/net/bridge/br_stp_bpdu.c 2006-09-03 23:40:08.000000000 +0530
+++ b/net/bridge/br_stp_bpdu.c 2006-09-03 23:40:33.000000000 +0530
@@
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