[Bridge] [PATCH] Add vlan id to bridge forward database
Stephen Hemminger
shemminger at linux-foundation.org
Mon Dec 17 08:53:49 PST 2007
On Mon, 17 Dec 2007 17:13:09 +0100
Jaime Medrano <jaime.medrano at gmail.com> wrote:
> Hi!
>
> This makes forwarding table aware of 802.1Q vlan ids and stores
> id with MACs in the table.
>
> It solves problems when having same MAC on diffent pairs
> (vlan, port). Current code gets confused at that situation.
>
> Local MACs are managed as present on every vlan.
>
> Signed-off-by: Jaime Medrano <jaime.medrano at gmail.com>
What about the nested vlan case?
I assume it continues to work without Vlan's.
How does this affect use of the userspace RSTP?
> --- linux-2.6.23.orig/include/linux/if_bridge.h 2007-12-17 11:59:46.000000000 +0100
> +++ linux-2.6.23/include/linux/if_bridge.h 2007-12-17 12:00:28.000000000 +0100
> @@ -97,7 +97,8 @@
> __u8 port_no;
> __u8 is_local;
> __u32 ageing_timer_value;
> - __u32 unused;
> + __u16 vlan_id;
> + __u16 unused;
> };
This is a user/kernel ABI change. Does it break old tools?
--
Stephen Hemminger <shemminger at linux-foundation.org>
More information about the Bridge
mailing list