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)
commitbc9a25d21ef8bad30e259af5114ccfb845c066db
tree70b44a0a84ecf60c227af9bb35c43c2f7c718d5e
parent1690be63a27b20ae65c792729a44f5970561ffa4
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