]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: Add vlan support for local fdb entries
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 13 Feb 2013 12:00:19 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2013 00:42:16 +0000 (19:42 -0500)
commit58595897932b0364e16f6c2f26bc003a65193e65
tree70b44a0a84ecf60c227af9bb35c43c2f7c718d5e
parent0bbeb78e9678c2839983aa865cad5608bd6bfded
bridge: Add vlan support for local fdb entries

When VLAN is added to the port, a local fdb entry for that port
(the entry with the mac address of the port) is added for that
VLAN.  This way we can correctly determine if the traffic
is for the bridge itself.  If the address of the port changes,
we try to change all the local fdb entries we have for that port.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c
net/bridge/br_if.c
net/bridge/br_private.h
net/bridge/br_vlan.c