diff options
author | Michal Swiatkowski <[email protected]> | 2023-10-05 09:33:30 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-10-08 17:39:15 +0100 |
commit | 776fe19953b0e0af00399e50fb3b205101d4b3c1 (patch) | |
tree | 74ecd8a51fa7c4ff396678e15f676caa757aed34 /net/lapb/lapb_in.c | |
parent | 66cf7435a26917c0c4d6245ad9137e7606e84fdf (diff) |
ice: block default rule setting on LAG interface
When one of the LAG interfaces is in switchdev mode, setting default rule
can't be done.
The interface on which switchdev is running has ice_set_rx_mode() blocked
to avoid default rule adding (and other rules). The other interfaces
(without switchdev running but connected via bond with interface that
runs switchdev) can't follow the same scheme, because rx filtering needs
to be disabled when failover happens. Notification for bridge to set
promisc mode seems like good place to do that.
Fixes: bb52f42acef6 ("ice: Add driver support for firmware changes for LAG")
Signed-off-by: Michal Swiatkowski <[email protected]>
Signed-off-by: Marcin Szycik <[email protected]>
Reviewed-by: Przemek Kitszel <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Sujai Buvaneswaran <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions