All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] bonding: complain about missing route only once for A/B ARP probes
@ 2021-09-04  6:31 David Decotigny
  2021-09-05 12:20 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: David Decotigny @ 2021-09-04  6:31 UTC (permalink / raw)
  To: Jay Vosburgh, Veaceslav Falico, Andy Gospodarek, David S. Miller,
	Jakub Kicinski, netdev, linux-kernel
  Cc: maheshb, David Decotigny

From: David Decotigny <ddecotig@google.com>

On configs where there is no confirgured direct route to the target of
the ARP probes, these probes are still sent and may be replied to
properly, so no need to repeatedly complain about the missing route.


Signed-off-by: David Decotigny <ddecotig@google.com>
---
 drivers/net/bonding/bond_main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index b0966e733926..3858da3d3ea7 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -2910,9 +2910,9 @@ static void bond_arp_send_all(struct bonding *bond, struct slave *slave)
 			 * probe to generate any traffic (arp_validate=0)
 			 */
 			if (bond->params.arp_validate)
-				net_warn_ratelimited("%s: no route to arp_ip_target %pI4 and arp_validate is set\n",
-						     bond->dev->name,
-						     &targets[i]);
+				pr_warn_once("%s: no route to arp_ip_target %pI4 and arp_validate is set\n",
+					     bond->dev->name,
+					     &targets[i]);
 			bond_arp_send(slave, ARPOP_REQUEST, targets[i],
 				      0, tags);
 			continue;
-- 
2.33.0.153.gba50c8fa24-goog


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

* Re: [PATCH v1 1/1] bonding: complain about missing route only once for A/B ARP probes
  2021-09-04  6:31 [PATCH v1 1/1] bonding: complain about missing route only once for A/B ARP probes David Decotigny
@ 2021-09-05 12:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-09-05 12:20 UTC (permalink / raw)
  To: David Decotigny
  Cc: j.vosburgh, vfalico, andy, davem, kuba, netdev, linux-kernel,
	maheshb, ddecotig

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Fri,  3 Sep 2021 23:31:29 -0700 you wrote:
> From: David Decotigny <ddecotig@google.com>
> 
> On configs where there is no confirgured direct route to the target of
> the ARP probes, these probes are still sent and may be replied to
> properly, so no need to repeatedly complain about the missing route.
> 
> 
> [...]

Here is the summary with links:
  - [v1,1/1] bonding: complain about missing route only once for A/B ARP probes
    https://git.kernel.org/netdev/net/c/0a4fd8df07dd

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2021-09-05 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-04  6:31 [PATCH v1 1/1] bonding: complain about missing route only once for A/B ARP probes David Decotigny
2021-09-05 12:20 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.