bridge: switchdev: Notify about VLAN protocol changes
stable inclusion from stable-v5.10.157 commit 89a7f155e6b2b7626fa1a978c7ec04a3a0b7ddef category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7MU59 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=89a7f155e6b2b7626fa1a978c7ec04a3a0b7ddef -------------------------------- [ Upstream commit 22ec19f3 ] Drivers that support bridge offload need to be notified about changes to the bridge's VLAN protocol so that they could react accordingly and potentially veto the change. Add a new switchdev attribute to communicate the change to drivers. Signed-off-by:Danielle Ratson <danieller@nvidia.com> Reviewed-by:
Petr Machata <petrm@nvidia.com> Acked-by:
Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by:
Ido Schimmel <idosch@nvidia.com> Reviewed-by:
Ivan Vecera <ivecera@redhat.com> Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Stable-dep-of: 9d45921e ("bridge: switchdev: Fix memory leaks when changing VLAN protocol") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment