diff options
author | Vlad Yasevich <vyasevic@redhat.com> | 2013-06-05 10:08:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-11 02:04:32 -0700 |
commit | 9ba18891f75535eca3ef53138b48970eb60f5255 (patch) | |
tree | cdd724cc45f489ae601d22f3ffdd64be02b5c049 /net/bridge/br_private.h | |
parent | 30f3a40f9a2a2869a560a9cb9ef488d10c803e14 (diff) | |
download | linux-stable-9ba18891f75535eca3ef53138b48970eb60f5255.tar.gz linux-stable-9ba18891f75535eca3ef53138b48970eb60f5255.tar.bz2 linux-stable-9ba18891f75535eca3ef53138b48970eb60f5255.zip |
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>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 1b0ac95a5c37..04d7f43508f7 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -158,6 +158,7 @@ struct net_bridge_port #define BR_ROOT_BLOCK 0x00000004 #define BR_MULTICAST_FAST_LEAVE 0x00000008 #define BR_ADMIN_COST 0x00000010 +#define BR_LEARNING 0x00000020 #ifdef CONFIG_BRIDGE_IGMP_SNOOPING u32 multicast_startup_queries_sent; |