diff options
| author | Paolo Abeni <pabeni@redhat.com> | 2025-08-21 10:35:24 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-08-21 10:35:24 +0300 |
| commit | 184fa9d704bd6b96979ff57eed9e8c51203bec57 (patch) | |
| tree | f80026dbf29b9a4d94eed29fd85642781fc6eddb /include | |
| parent | c42be534547d6e45c155c347dd792b6ad9c24def (diff) | |
| parent | 87951b566446da04eed1fe8100f99a512ef02756 (diff) | |
| download | linux-184fa9d704bd6b96979ff57eed9e8c51203bec57.tar.xz | |
Merge branch 'bonding-fix-negotiation-flapping-in-802-3ad-passive-mode'
Hangbin Liu says:
====================
bonding: fix negotiation flapping in 802.3ad passive mode
This patch fixes unstable LACP negotiation when bonding is configured in
passive mode (`lacp_active=off`).
Previously, the actor would stop sending LACPDUs after initial negotiation
succeeded, leading to the partner timing out and restarting the negotiation
cycle. This resulted in continuous LACP state flapping.
The fix ensures the passive actor starts sending periodic LACPDUs after
receiving the first LACPDU from the partner, in accordance with IEEE
802.1AX-2020 section 6.4.1.
====================
Link: https://patch.msgid.link/20250815062000.22220-1-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/bond_3ad.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bond_3ad.h b/include/net/bond_3ad.h index 2053cd8e788a..dba369a2cf27 100644 --- a/include/net/bond_3ad.h +++ b/include/net/bond_3ad.h @@ -307,6 +307,7 @@ int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave); int bond_3ad_set_carrier(struct bonding *bond); void bond_3ad_update_lacp_rate(struct bonding *bond); +void bond_3ad_update_lacp_active(struct bonding *bond); void bond_3ad_update_ad_actor_settings(struct bonding *bond); int bond_3ad_stats_fill(struct sk_buff *skb, struct bond_3ad_stats *stats); size_t bond_3ad_stats_size(void); |
