diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2013-08-28 17:25:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-29 16:19:43 -0400 |
commit | 3e32582f7d5b6f364ddd31110bf7277d69fd4e91 (patch) | |
tree | ed95aed89dea6c836e57ad069737082693fee156 | |
parent | e868b0c938d9cc0d7ed4bd77d5c37676e833ed95 (diff) |
bonding: pr_debug instead of pr_warn in bond_arp_send_all
They're simply annoying and will spam dmesg constantly if we hit them, so
convert to pr_debug so that we still can access them in case of debugging.
CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/bonding/bond_main.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index b87ad7606b2b..c50679f0a6b6 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -2336,10 +2336,8 @@ static void bond_arp_send_all(struct bonding *bond, struct slave *slave) | |||
2336 | rt = ip_route_output(dev_net(bond->dev), targets[i], 0, | 2336 | rt = ip_route_output(dev_net(bond->dev), targets[i], 0, |
2337 | RTO_ONLINK, 0); | 2337 | RTO_ONLINK, 0); |
2338 | if (IS_ERR(rt)) { | 2338 | if (IS_ERR(rt)) { |
2339 | if (net_ratelimit()) { | 2339 | pr_debug("%s: no route to arp_ip_target %pI4\n", |
2340 | pr_warning("%s: no route to arp_ip_target %pI4\n", | 2340 | bond->dev->name, &targets[i]); |
2341 | bond->dev->name, &targets[i]); | ||
2342 | } | ||
2343 | continue; | 2341 | continue; |
2344 | } | 2342 | } |
2345 | 2343 | ||
@@ -2386,10 +2384,10 @@ static void bond_arp_send_all(struct bonding *bond, struct slave *slave) | |||
2386 | rcu_read_unlock(); | 2384 | rcu_read_unlock(); |
2387 | 2385 | ||
2388 | /* Not our device - skip */ | 2386 | /* Not our device - skip */ |
2389 | if (net_ratelimit()) | 2387 | pr_debug("%s: no path to arp_ip_target %pI4 via rt.dev %s\n", |
2390 | pr_warning("%s: no path to arp_ip_target %pI4 via rt.dev %s\n", | 2388 | bond->dev->name, &targets[i], |
2391 | bond->dev->name, &targets[i], | 2389 | rt->dst.dev ? rt->dst.dev->name : "NULL"); |
2392 | rt->dst.dev ? rt->dst.dev->name : "NULL"); | 2390 | |
2393 | ip_rt_put(rt); | 2391 | ip_rt_put(rt); |
2394 | continue; | 2392 | continue; |
2395 | 2393 | ||