Displaying 9 results from an estimated 9 matches for "br_fdb_insert".
2007 Apr 18
0
[Bridge] Bridging with STP seems to learn mac-address on wrong ports
...TP-bpdu's are responsible for the bridge learning
the mac-address on the wrong port.
This is tested with kernel 2.6.11.12 and 2.6.13.2, and both exhibit
this problem.
The following fix solved it for me on 2.6.11.12:
In net/bridge/br_stp_bpdu.c, in function br_stp_handle_bpdu i changed
br_fdb_insert(p->br, p, eth_hdr(skb)->h_source,0);
to
if (!br->stp_enabled || p->state == BR_STATE_LEARNING
|| p->state == BR_STATE_FORWARDING)
br_fdb_insert(p->br, p, eth_hdr(skb)->h_source, 0);
/B
2007 Apr 18
1
[Bridge] received packet with own address as source address
Hello,
I manage a number of servers all running 2.4 (same problem exists with 2.6). My
problem is that since a few bridge versions ago, I've had to modify
net/bridge/br_fdb.c in the br_fdb_insert() function -- to get rid of the checks
that produce this error:
Jan 16 10:35:31 host15 kernel: tap_0: received packet with own address as source
address
Jan 16 10:35:33 host15 kernel: tap_0: received packet with own address as source
address
My specific setup is: br0 assigned an IP, with eth0 a...
2007 Apr 18
4
[Bridge] MTU Question
I have a bridge that has gigabit interfaces. The machine in question has the
fun job of being a Bridge, Firewall and SMB server. Both of the Gigabit
interfaces are connected to workstations directly via Xover cable (well
MDI-X to be exact). My question is, if I enable jumbo frames on the gigabit
interfaces will that make any difference in overall transfer rate of the
bridge? I was thinking it
2007 Apr 18
1
[Bridge] Two entries in forwarding database
I'm debugging a strange problem of noncommunication between two devices.
The test configuration is also strange, and involves loops. Things
magically start working when I run tcpdump to put the bridge interface into
promiscuous mode. I also noticed this in the output of brctl showmacs.
port no mac addr is local? ageing timer
1 00:40:72:04:2d:ea no
2009 Jun 15
1
[Bridge] [PATCH][RFC] net/bridge: add basic VEPA support
..._id designated_root;
@@ -128,6 +132,9 @@ struct net_bridge
struct timer_list topology_change_timer;
struct timer_list gc_timer;
struct kobject *ifobj;
+
+ /* VEPA */
+ struct net_bridge_port *uplink;
};
extern struct notifier_block br_device_notifier;
@@ -165,6 +172,9 @@ extern int br_fdb_insert(struct net_bridge *br,
extern void br_fdb_update(struct net_bridge *br,
struct net_bridge_port *source,
const unsigned char *addr);
+extern struct net_bridge_port *br_vepa_find_src(struct net_bridge *br,
+ const unsigned char *addr);
+
/* br_forward.c */
extern void br_deliver...
2009 Jun 15
1
[Bridge] [PATCH][RFC] net/bridge: add basic VEPA support
..._id designated_root;
@@ -128,6 +132,9 @@ struct net_bridge
struct timer_list topology_change_timer;
struct timer_list gc_timer;
struct kobject *ifobj;
+
+ /* VEPA */
+ struct net_bridge_port *uplink;
};
extern struct notifier_block br_device_notifier;
@@ -165,6 +172,9 @@ extern int br_fdb_insert(struct net_bridge *br,
extern void br_fdb_update(struct net_bridge *br,
struct net_bridge_port *source,
const unsigned char *addr);
+extern struct net_bridge_port *br_vepa_find_src(struct net_bridge *br,
+ const unsigned char *addr);
+
/* br_forward.c */
extern void br_deliver...
2009 Jun 15
1
[Bridge] [PATCH][RFC] net/bridge: add basic VEPA support
..._id designated_root;
@@ -128,6 +132,9 @@ struct net_bridge
struct timer_list topology_change_timer;
struct timer_list gc_timer;
struct kobject *ifobj;
+
+ /* VEPA */
+ struct net_bridge_port *uplink;
};
extern struct notifier_block br_device_notifier;
@@ -165,6 +172,9 @@ extern int br_fdb_insert(struct net_bridge *br,
extern void br_fdb_update(struct net_bridge *br,
struct net_bridge_port *source,
const unsigned char *addr);
+extern struct net_bridge_port *br_vepa_find_src(struct net_bridge *br,
+ const unsigned char *addr);
+
/* br_forward.c */
extern void br_deliver...
2013 Feb 13
14
[Bridge] [PATCH v10 net-next 00/12] VLAN filtering/VLAN aware bridge
Changes since v9:
* series re-ordering so make functionality more distinct. Basic vlan
filtering is patches 1-4. Support for PVID/untagged vlans is patches
5 and 6. VLAN support for FDB/MDB is patches 7-11. Patch 12 is
still additional egress policy.
* Slight simplification to code that extracts the VID from skb. Since we
now depend on the vlan module, at the time of input skb_tci is
2013 Jan 09
16
[Bridge] [PATCH net-next V5 00/14] Add basic VLAN support to bridges
This series of patches provides an ability to add VLANs to the bridge
ports. This is similar to what can be found in most switches. The bridge
port may have any number of VLANs added to it including vlan 0 priority tagged
traffic. When vlans are added to the port, only traffic tagged with particular
vlan will forwarded over this port. Additionally, vlan ids are added to FDB
entries and become