]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7116f1c1c5a6bdbde898c30849d2e9d3eef1c91
tree8b5aafe092cf6212894fc2f0176833be9b9e22ed
parent428ef9489fd00d2d682035a686a7dd81bb8c6f86
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