bridge: Add a flag to control unicast packet flood.
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 5 Jun 2013 14:08:01 +0000 (10:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jun 2013 09:04:32 +0000 (02:04 -0700)
commit867a59436fc35593ae0e0efcd56cc6d2f8506586
tree8b5aafe092cf6212894fc2f0176833be9b9e22ed
parent9ba18891f75535eca3ef53138b48970eb60f5255
bridge: Add a flag to control unicast packet flood.

Add a flag to control flood of unicast traffic.  By default, flood is
on and the bridge will flood unicast traffic if it doesn't know
the destination.  When the flag is turned off, unicast traffic
without an FDB will not be forwarded to the specified port.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
net/bridge/br_device.c
net/bridge/br_forward.c
net/bridge/br_if.c
net/bridge/br_input.c
net/bridge/br_netlink.c
net/bridge/br_private.h
net/bridge/br_sysfs_if.c