summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2016-10-13 15:20:52 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-13 12:16:36 -0400
commit4eb6753c3324873752f56543e149956e39dd32b6 (patch)
tree23bb2fa6dbdeab155a2058367bfc30f535146c3c
parent5852e93d4b67b9996a18541a657f87f1ae8c6a4a (diff)
downloadlinux-4eb6753c3324873752f56543e149956e39dd32b6.tar.gz
net: bridge: add the multicast_flood flag attribute to brport_attrs
When I added the multicast flood control flag, I also added an attribute
for it for sysfs similar to other flags, but I forgot to add it to
brport_attrs.

Fixes: b6cb5ac8331b ("net: bridge: add per-port multicast flood flag")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/bridge/br_sysfs_if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_sysfs_if.c b/net/bridge/br_sysfs_if.c
index e657258e1f2c..8bd569695e76 100644
--- a/net/bridge/br_sysfs_if.c
+++ b/net/bridge/br_sysfs_if.c
@@ -217,6 +217,7 @@ static const struct brport_attribute *brport_attrs[] = {
 #endif
 	&brport_attr_proxyarp,
 	&brport_attr_proxyarp_wifi,
+	&brport_attr_multicast_flood,
 	NULL
 };