Commit 0a4fd8df authored by David Decotigny's avatar David Decotigny Committed by David S. Miller
Browse files

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: default avatarDavid Decotigny <ddecotig@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e5dd7294
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -2910,7 +2910,7 @@ static void bond_arp_send_all(struct bonding *bond, struct slave *slave)
			 * probe to generate any traffic (arp_validate=0)
			 * probe to generate any traffic (arp_validate=0)
			 */
			 */
			if (bond->params.arp_validate)
			if (bond->params.arp_validate)
				net_warn_ratelimited("%s: no route to arp_ip_target %pI4 and arp_validate is set\n",
				pr_warn_once("%s: no route to arp_ip_target %pI4 and arp_validate is set\n",
					     bond->dev->name,
					     bond->dev->name,
					     &targets[i]);
					     &targets[i]);
			bond_arp_send(slave, ARPOP_REQUEST, targets[i],
			bond_arp_send(slave, ARPOP_REQUEST, targets[i],