bond.c: Fix a typo.
authorAlex Wang <alexw@nicira.com>
Mon, 12 Aug 2013 19:01:46 +0000 (12:01 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 12 Aug 2013 19:56:47 +0000 (12:56 -0700)
This commit fixes a typo in "lib/bond.c" which causes the high CPU
utilization after adding bond.  The bug was introduced in commit
4a1b8f30e59 (bond: Stop using tags.).

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/bond.c

index 06dd362..a9278db 100644 (file)
@@ -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);