Thread (5 messages) 5 messages, 2 authors, 2014-02-28

Re: [PATCH net-next] bonding: send arp requests even if there's no route to them

From: Veaceslav Falico <hidden>
Date: 2014-02-28 11:41:09

On Fri, Feb 28, 2014 at 03:38:19AM -0800, Joe Perches wrote:
On Fri, 2014-02-28 at 12:28 +0100, Veaceslav Falico wrote:
quoted
On Fri, Feb 28, 2014 at 03:12:51AM -0800, Joe Perches wrote:
quoted
On Fri, 2014-02-28 at 11:57 +0100, Veaceslav Falico wrote:
...snip...
quoted
quoted
+			if (bond->params.arp_validate)
+				pr_warn("%s: no route to arp_ip_target %pI4 and arp_validate is set\n",
+					bond->dev->name, &targets[i]);
Maybe

		if (bond->params.arp_validate && net_ratelimit())
Hm, not that I'm against it - but bond_arp_send_all() is called every
arp_interval - which is usually >50ms. Does it really make sense to put it
here?
Dunno, but you're converting a generally not emitted pr_debug
(DEBUG isn't set, so it'd have to be enabled by dynamic_debug)
to something that'll always print out a line for each of up to
16 targets, so it seems it could be pretty noisy.
Yeah, completely agree (I've missed that there might be 16 targets).

Thanks a lot, will resend.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help