]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit967c49739c6831f13d8e93650ebc5686f7321319
tree1da0a5d6c374686bba0836b7f2e9c521a5f60ad8
parentf2a0420a44cc167b867ee5565fa0169dab6514d9
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