diff options
author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2021-08-10 17:29:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-11 14:34:41 +0200 |
commit | df271cd641f101decaa4f7c1dd5c62939900bd4c (patch) | |
tree | 228005efd4550146291c604307d1330fa3a4ac06 /net/bridge/br_sysfs_br.c | |
parent | Merge branch 'ipa-runtime-pm' (diff) | |
download | linux-df271cd641f101decaa4f7c1dd5c62939900bd4c.tar.xz linux-df271cd641f101decaa4f7c1dd5c62939900bd4c.zip |
net: bridge: vlan: add support for mcast igmp/mld version global options
Add support to change and retrieve global vlan IGMP/MLD versions.
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_sysfs_br.c')
-rw-r--r-- | net/bridge/br_sysfs_br.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c index 953d544663d5..08e31debd6f2 100644 --- a/net/bridge/br_sysfs_br.c +++ b/net/bridge/br_sysfs_br.c @@ -520,7 +520,7 @@ static ssize_t multicast_igmp_version_show(struct device *d, static int set_multicast_igmp_version(struct net_bridge *br, unsigned long val, struct netlink_ext_ack *extack) { - return br_multicast_set_igmp_version(br, val); + return br_multicast_set_igmp_version(&br->multicast_ctx, val); } static ssize_t multicast_igmp_version_store(struct device *d, @@ -757,7 +757,7 @@ static ssize_t multicast_mld_version_show(struct device *d, static int set_multicast_mld_version(struct net_bridge *br, unsigned long val, struct netlink_ext_ack *extack) { - return br_multicast_set_mld_version(br, val); + return br_multicast_set_mld_version(&br->multicast_ctx, val); } static ssize_t multicast_mld_version_store(struct device *d, |