diff options
author | Ido Schimmel <idosch@nvidia.com> | 2023-04-19 18:34:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-21 08:25:50 +0100 |
commit | 3aca683e0654a2f4ff6996341cba98a5396ff050 (patch) | |
tree | 3155aaad46f86480c6ce5c2f3eb68bb6c27fa8fe /lib/bug.c | |
parent | 6be42ed0a5f4b26e77b51cd10a09b41d53f97570 (diff) |
bridge: Encapsulate data path neighbor suppression logic
Currently, there are various places in the bridge data path that check
whether neighbor suppression is enabled on a given bridge port.
As a preparation for per-{Port, VLAN} neighbor suppression, encapsulate
this logic in a function and pass the VLAN ID of the packet as an
argument.
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 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions