summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorDavid Decotigny <ddecotig@google.com>2021-09-03 23:31:29 -0700
committerDavid S. Miller <davem@davemloft.net>2021-09-05 13:16:51 +0100
commit0a4fd8df07ddc3d12fad3b2e81ea5832bde2f806 (patch)
treeb1fdd6cd4aa3b7258c7e97d0418a8a8dd9d973c7 /drivers/net/bonding
parente5dd729460ca8d2da02028dbf264b65be8cd4b5f (diff)
downloadlinux-0a4fd8df07ddc3d12fad3b2e81ea5832bde2f806.tar.bz2
bonding: complain about missing route only once for A/B ARP probes
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_main.c6
1 files 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;