bridge: Add flag to control mac learning.
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 5 Jun 2013 14:08:00 +0000 (10:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jun 2013 09:04:32 +0000 (02:04 -0700)
commit9ba18891f75535eca3ef53138b48970eb60f5255
treecdd724cc45f489ae601d22f3ffdd64be02b5c049
parent30f3a40f9a2a2869a560a9cb9ef488d10c803e14
bridge: Add flag to control mac learning.

Allow user to control whether mac learning is enabled on the port.
By default, mac learning is enabled.  Disabling mac learning will
cause new dynamic FDB entries to not be created for a particular port.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
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