memory leakage in bridge(kernel-2.6.23.14)

2008-01-16 Thread wyb
In SMP, if a bridge fdb is being created when another CPU at the same time delete the bridge, this newly created fdb may incur a leakage: CPU0: static void del_nbp(struct net_bridge_port *p) { /* * CPU1 enter br_fdb_update(), bridge port is still valid. */ .

Re: memory leakage in bridge(kernel-2.6.23.14)

2008-01-16 Thread David Miller
From: <[EMAIL PROTECTED]> Date: Wed, 16 Jan 2008 18:04:53 +0800 > In SMP, if a bridge fdb is being created when another CPU at the same time > delete the bridge, this newly created fdb may incur a leakage: [EMAIL PROTECTED] (CC:'d) is the proper place to report things like this. 'linux-net' is o

Hub-like bridge behaviour?

2008-01-16 Thread Patric Schmitz
Hello linux-net, is there a (preferrably simple) way to make a ethernet bridge behave like a hub, instead of a switch? I want the packets to be routed not only to the "port" for which the MAC-address of the receiver is cached, but have them duplicated on all ports. The aim of this is to have 2 in