Re: [PATCH net-next 5/6] bridge: Add per-VLAN netlink handling for neigh_forward_grat

Nikolay Aleksandrov <[email protected]> Mon, 4 May 2026 10:43:49 +0300
Newsgroups gmane.linux.network.bridge
Message-ID <f3a36ed5-52b2-481b-aee6-c2080cf5f14e__12393.5621859104$1777880697$gmane$org@blackwall.org>
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]>