From: Alex Wang Date: Mon, 12 Aug 2013 19:01:46 +0000 (-0700) Subject: bond.c: Fix a typo. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=bbc13389e0385d24a6ba1c56b15baabdc5ef7b19;p=sliver-openvswitch.git bond.c: Fix a typo. 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 Signed-off-by: Ben Pfaff --- diff --git a/lib/bond.c b/lib/bond.c index 06dd3627f..a9278db84 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);