diff options
author | Ido Schimmel <idosch@nvidia.com> | 2023-04-19 17:34:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-21 09:25:49 +0200 |
commit | 6be42ed0a5f4b26e77b51cd10a09b41d53f97570 (patch) | |
tree | f35e1160424f2b701a08dd9eed8766a12ed4fc13 /net/sctp | |
parent | bridge: Add internal flags for per-{Port, VLAN} neighbor suppression (diff) | |
download | linux-6be42ed0a5f4b26e77b51cd10a09b41d53f97570.tar.xz linux-6be42ed0a5f4b26e77b51cd10a09b41d53f97570.zip |
bridge: Take per-{Port, VLAN} neighbor suppression into account
The bridge driver gates the neighbor suppression code behind an internal
per-bridge flag called 'BROPT_NEIGH_SUPPRESS_ENABLED'. The flag is set
when at least one bridge port has neighbor suppression enabled.
As a preparation for per-{Port, VLAN} neighbor suppression, make sure
the global flag is also set if per-{Port, VLAN} neighbor suppression is
enabled. That is, when the 'BR_NEIGH_VLAN_SUPPRESS' flag is set on at
least one bridge port.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions