]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bonding: update LACP activity flag after setting lacp_active
authorHangbin Liu <liuhangbin@gmail.com>
Fri, 15 Aug 2025 06:19:58 +0000 (06:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:49 +0000 (16:28 +0200)
commitf0c7885ef8d384554c1239573f1b71b271c3b80d
tree6bfe38093b212406dd44552a6cdce264edb6e5ba
parentca88ac44368c2fd4bac80ca7be5af5acc4361d1b
bonding: update LACP activity flag after setting lacp_active

[ Upstream commit b64d035f77b1f02ab449393342264b44950a75ae ]

The port's actor_oper_port_state activity flag should be updated immediately
after changing the lacp_active option to reflect the current mode correctly.

Fixes: 3a755cd8b7c6 ("bonding: add new option lacp_active")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20250815062000.22220-2-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_options.c
include/net/bond_3ad.h