On 03/05/2026 10:35, Danielle Ratson wrote:
Add netlink handlers for the per-VLAN neigh_forward_grat option via
BRIDGE_VLANDB_ENTRY_NEIGH_FORWARD_GRAT attribute.

The per-VLAN option provides fine-grained control, allowing different
VLANs on the same port to have different gratuitous ARP/unsolicited NA
forwarding behavior.

This enables control via 'bridge' commands:
  # bridge vlan set dev eth0 vid 10 neigh_suppress on
  # bridge vlan set dev eth0 vid 10 neigh_forward_grat on

Signed-off-by: Danielle Ratson <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
---
  net/bridge/br_vlan.c         |  1 +
  net/bridge/br_vlan_options.c | 24 ++++++++++++++++++++++--
  2 files changed, 23 insertions(+), 2 deletions(-)


Acked-by: Nikolay Aleksandrov <[email protected]>




Reply via email to