bond: Demote active-backup WARN to DBG.
authorBen Pfaff <blp@nicira.com>
Mon, 17 Oct 2011 19:22:34 +0000 (12:22 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 17 Oct 2011 19:22:34 +0000 (12:22 -0700)
This log message comes up for packets that are flooded through the network.
If the upstream switch doesn't realize that an active-backup bond is in
use, and there is significant packet flooding in the network, then we will
get a lot of these messages.

(This message doesn't get logged for multicast or broadcast packets since
they get dropped earlier in the function.)

Reported-by: Eivind Bulie Haanaes
Bug-report: http://forums.citrix.com/thread.jspa?messageID=1589125
CC: Paul Fazzone <pfazzone@nicira.com>
AUTHORS
lib/bond.c

diff --git a/AUTHORS b/AUTHORS
index 8822092..3229f34 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -63,6 +63,7 @@ Dave Walker             DaveWalker@ubuntu.com
 Derek Cormier           derek.cormier@lab.ntt.co.jp
 Duffie Cooley           dcooley@nicira.com
 DK Moon                 dkmoon@nicira.com
+Eivind Bulie Haanaes
 Gaetano Catalli         gaetano.catalli@gmail.com
 George Shuklin          amarao@desunote.ru
 Ghanem Bahri            bahri.ghanem@gmail.com
index 1f2b641..73ee814 100644 (file)
@@ -585,9 +585,9 @@ bond_check_admissibility(struct bond *bond, const void *slave_,
         if (bond->active_slave != slave) {
             static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
 
-            VLOG_WARN_RL(&rl, "active-backup bond received packet on backup"
-                         " slave (%s) destined for " ETH_ADDR_FMT,
-                         slave->name, ETH_ADDR_ARGS(eth_dst));
+            VLOG_DBG_RL(&rl, "active-backup bond received packet on backup"
+                        " slave (%s) destined for " ETH_ADDR_FMT,
+                        slave->name, ETH_ADDR_ARGS(eth_dst));
             return BV_DROP;
         }
     }