]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: hsr: Disable promiscuous mode in offload mode
authorRavi Gunasekaran <r-gunasekaran@ti.com>
Wed, 14 Jun 2023 11:47:10 +0000 (17:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:29:59 +0000 (16:29 +0200)
commit33b3d3d1172605d8b2a0002787e09733d0a8517c
tree79c94c5050bb693185367595ab4bfeecf5c4cd24
parent1139321161a3ba5e45e61e0738b37f42f20bc57a
net: hsr: Disable promiscuous mode in offload mode

[ Upstream commit e748d0fd66abc4b1c136022e4e053004fce2b792 ]

When port-to-port forwarding for interfaces in HSR node is enabled,
disable promiscuous mode since L2 frame forward happens at the
offloaded hardware.

Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230614114710.31400-1-r-gunasekaran@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 8884c6939913 ("hsr: use rtnl lock when iterating over ports")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/hsr/hsr_device.c
net/hsr/hsr_main.h
net/hsr/hsr_slave.c