diff options
author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2021-08-10 17:29:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-11 14:34:41 +0200 |
commit | cb486ce99576741a84c75623daeffb2f7758cbf9 (patch) | |
tree | 5f5033aa49997896d79e0aa9a484685a817c3e9f /net/bridge/br_sysfs_br.c | |
parent | net: bridge: mcast: move querier state to the multicast context (diff) | |
download | linux-cb486ce99576741a84c75623daeffb2f7758cbf9.tar.xz linux-cb486ce99576741a84c75623daeffb2f7758cbf9.zip |
net: bridge: mcast: querier and query state affect only current context type
It is a minor optimization and better behaviour to make sure querier and
query sending routines affect only the matching multicast context
depending if vlan snooping is enabled (vlan ctx vs bridge ctx).
It also avoids sending unnecessary extra query packets.
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')
0 files changed, 0 insertions, 0 deletions