diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2018-09-26 16:01:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-26 19:04:23 +0200 |
commit | be3664a038075b3d108e554d08d2578776b7b3a7 (patch) | |
tree | 086cf82978859f24bcb84e94cde030213ced070a /net/bridge/br_vlan.c | |
parent | net: bridge: convert nf call options to bits (diff) | |
download | linux-be3664a038075b3d108e554d08d2578776b7b3a7.tar.xz linux-be3664a038075b3d108e554d08d2578776b7b3a7.zip |
net: bridge: convert group_addr_set option to a bit
Convert group_addr_set internal bridge opt to a bit.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/bridge/br_vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_vlan.c b/net/bridge/br_vlan.c index 61d698bfe2b7..5942e03dd845 100644 --- a/net/bridge/br_vlan.c +++ b/net/bridge/br_vlan.c @@ -695,7 +695,7 @@ struct net_bridge_vlan *br_vlan_find(struct net_bridge_vlan_group *vg, u16 vid) /* Must be protected by RTNL. */ static void recalculate_group_addr(struct net_bridge *br) { - if (br->group_addr_set) + if (br_opt_get(br, BROPT_GROUP_ADDR_SET)) return; spin_lock_bh(&br->lock); |