bridge: Add addresses from static fdbs to non-promisc ports
authorVlad Yasevich <vyasevic@redhat.com>
Fri, 16 May 2014 13:59:19 +0000 (09:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 21:06:33 +0000 (17:06 -0400)
commit145beee8d6bbd18dbebf9f71a40ba99af80d71f7
tree1da0a5d6c374686bba0836b7f2e9c521a5f60ad8
parentf3a6ddf15209cfad90b83e04168f42a5d9c8cc17
bridge: Add addresses from static fdbs to non-promisc ports

When a static fdb entry is created, add the mac address
from this fdb entry to any ports that are currently running
in non-promiscuous mode.  These ports need this data so that
they can receive traffic destined to these addresses.
By default ports start in promiscuous mode, so this feature
is disabled.

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c