bridge: Add vlan to unicast fdb entries
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 13 Feb 2013 12:00:16 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2013 00:42:15 +0000 (19:42 -0500)
commit2ba071ecb6d41ce172f9ccb3996f28cb337b3576
treeab957f8a004394d4d68c32dfbf823cc1a428ab3e
parent552406c488ec2cf1aaf8b5bd24d1750c9fd6d8cc
bridge: Add vlan to unicast fdb entries

This patch adds vlan to unicast fdb entries that are created for
learned addresses (not the manually configured ones).  It adds
vlan id into the hash mix and uses vlan as an addditional parameter
for an entry match.

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