bridge: Pass VLAN ID to br_flood()
authorIdo Schimmel <idosch@nvidia.com>
Wed, 19 Apr 2023 15:34:53 +0000 (18:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Apr 2023 07:25:49 +0000 (08:25 +0100)
commite408336a693e0fd74ba1b959627594b80f1761c3
treef0a487c12e7383eaa3414ac34c85dd93e6d078db
parent013a7ce81dd8a5bba31f802053829d91f9a43a8f
bridge: Pass VLAN ID to br_flood()

Subsequent patches are going to add per-{Port, VLAN} neighbor
suppression, which will require br_flood() to potentially suppress ARP /
NS packets on a per-{Port, VLAN} basis.

As a preparation, pass the VLAN ID of the packet as another argument to
br_flood().

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_forward.c
net/bridge/br_input.c
net/bridge/br_private.h