mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] bonding: reseed the ARP monitor when it starts
@ 2026-12-01 10:20 Ramses de Norre via B4 Relay
  2026-12-01 10:20 ` [PATCH net-next 1/2] " Ramses de Norre via B4 Relay
  2026-12-01 10:20 ` [PATCH net-next 2/2] selftests: bonding: test that the ARP monitor keeps UP slaves " Ramses de Norre via B4 Relay
  0 siblings, 2 replies; 7+ messages in thread
From: Ramses de Norre via B4 Relay @ 2026-12-01 10:20 UTC (permalink / raw)
  To: Jay Vosburgh, Andrew Lunn, David S. Miller, Jakub Kicinski,
	Paolo Abeni, Jiri Bohac, Eric Dumazet, Willem de Bruijn,
	Simon Horman
  Cc: netdev, linux-kernel, linux-kselftest, Nikolay Aleksandrov,
	Hangbin Liu, Shuah Khan, Ramses de Norre

bond_enslave() seeds the ARP monitor timestamps of a new slave. When the
monitor starts later, from bond_open() or when arp_interval is set on a
bond that uses miimon, those seeds are as old as the time since
enslavement. The first monitor run then takes the UP slaves down before
a single probe went out.

This is the follow-up I mentioned in the v5 cover letter of the last_rx
series, which is now in net-next.

Patch 1 reseeds the slaves when the monitor starts.

Patch 2 adds a selftest for both start paths. It fails without patch 1
and passes with it.

Link: https://lore.kernel.org/netdev/20261030-bonding-last-rx-v5-0-0b9b653f2f94@well-founded.dev/

Signed-off-by: Ramses de Norre <ramses@well-founded.dev>
---
Ramses de Norre (2):
      bonding: reseed the ARP monitor when it starts
      selftests: bonding: test that the ARP monitor keeps UP slaves when it starts

 drivers/net/bonding/bond_main.c                    |  58 +++++---
 drivers/net/bonding/bond_options.c                 |   6 +-
 include/net/bonding.h                              |   1 +
 .../testing/selftests/drivers/net/bonding/Makefile |   1 +
 .../drivers/net/bonding/bond_arp_monitor_start.sh  | 154 +++++++++++++++++++++
 5 files changed, 198 insertions(+), 22 deletions(-)
---
base-commit: 02e8a63b4685a4321c60d562edabecc097f4a0d9
change-id: 20261201-bonding-arp-reseed-c24c7b5f99f3

Best regards,
--  
Ramses de Norre <ramses@well-founded.dev>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-12-03  3:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 10:20 [PATCH net-next 0/2] bonding: reseed the ARP monitor when it starts Ramses de Norre via B4 Relay
2026-12-01 10:20 ` [PATCH net-next 1/2] " Ramses de Norre via B4 Relay
2026-12-03  3:18   ` Hangbin Liu
2026-12-03  3:34   ` netdev-bot+sashiko
2026-12-01 10:20 ` [PATCH net-next 2/2] selftests: bonding: test that the ARP monitor keeps UP slaves " Ramses de Norre via B4 Relay
2026-12-03  3:23   ` Hangbin Liu
2026-12-03  3:35   ` netdev-bot+sashiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®