]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: bridge: add the multicast_flood flag attribute to brport_attrs
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Thu, 13 Oct 2016 13:20:52 +0000 (15:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Oct 2016 16:16:36 +0000 (12:16 -0400)
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: 6e61a26957f4 ("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>
net/bridge/br_sysfs_if.c

index e657258e1f2cd0f6d43084cc447e384a6850f290..8bd569695e76fb76112bd5c17fb1a8027c6590a5 100644 (file)
@@ -217,6 +217,7 @@ static const struct brport_attribute *brport_attrs[] = {
 #endif
        &brport_attr_proxyarp,
        &brport_attr_proxyarp_wifi,
+       &brport_attr_multicast_flood,
        NULL
 };