[ovs-dev] [PATCH] bond.c: Fix a type.

Alex Wang alexw at nicira.com
Mon Aug 12 19:01:46 UTC 2013


This commit fixes a typo in "lib/bond.c" which causes the high CPU
utilization after adding bond.

Signed-off-by: Alex Wang <alexw at nicira.com>
---
 lib/bond.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bond.c b/lib/bond.c
index 06dd362..a9278db 100644
--- a/lib/bond.c
+++ b/lib/bond.c
@@ -475,7 +475,7 @@ bond_wait(struct bond *bond)
         poll_timer_wait_until(bond->next_fake_iface_update);
     }
 
-    if (!bond->bond_revalidate) {
+    if (bond->bond_revalidate) {
         poll_immediate_wake();
     }
     ovs_rwlock_unlock(&rwlock);
-- 
1.7.9.5




More information about the dev mailing list