]> 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:34:49 +0000 (16:34 +0200)
commit3310f0ebba5ebcc9b971f939155f2cd08c013a6a
treeaeeae091863111eec4ce67c1a9afff03ed23a1fd
parentaf386b52531d14c4b20f11c452787b1b6dd4eb8d
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