From e6b2255c2cd7933f8e25bca154aaf3cc67886b5c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 17 Oct 2011 12:22:34 -0700 Subject: [PATCH] bond: Demote active-backup WARN to DBG. 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 --- AUTHORS | 1 + lib/bond.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index 8822092b0..3229f3466 100644 --- 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 diff --git a/lib/bond.c b/lib/bond.c index 1f2b641a1..73ee814cd 100644 --- a/lib/bond.c +++ b/lib/bond.c @@ -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; } } -- 2.43.0