WSL2-Linux-Kernel/drivers/net/bonding
Jonathan Toppins 87c750affd bonding: fix link recovery in mode 2 when updelay is nonzero
[ Upstream commit f8a65ab2f3 ]

Before this change when a bond in mode 2 lost link, all of its slaves
lost link, the bonding device would never recover even after the
expiration of updelay. This change removes the updelay when the bond
currently has no usable links. Conforming to bonding.txt section 13.1
paragraph 4.

Fixes: 41f8910040 ("bonding: ignore updelay param when there is no active slave")
Signed-off-by: Jonathan Toppins <jtoppins@redhat.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:14:12 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bond_3ad.c net: bonding: Share lacpdu_mcast_addr definition 2022-09-28 11:11:48 +02:00
bond_alb.c net: bonding: fix possible NULL deref in rlb code 2022-07-07 17:53:28 +02:00
bond_debugfs.c net: bonding: remove unnecessary braces 2021-05-20 15:43:24 -07:00
bond_main.c bonding: fix link recovery in mode 2 when updelay is nonzero 2022-12-31 13:14:12 +01:00
bond_netlink.c bonding: add new option lacp_active 2021-08-03 11:50:22 +01:00
bond_options.c bonding: fix ad_actor_system option setting to default 2021-12-29 12:28:44 +01:00
bond_procfs.c bonding: add new option lacp_active 2021-08-03 11:50:22 +01:00
bond_sysfs.c bonding: add new option lacp_active 2021-08-03 11:50:22 +01:00
bond_sysfs_slave.c bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed 2021-11-18 19:17:08 +01:00
bonding_priv.h drivers: Remove inclusion of vermagic header 2020-04-21 13:27:37 -07:00