aboutsummaryrefslogtreecommitdiff
path: root/lib/bond.c
diff options
context:
space:
mode:
authorAlex Wang <alexw@nicira.com>2013-08-12 12:01:46 -0700
committerBen Pfaff <blp@nicira.com>2013-08-12 12:56:47 -0700
commitbbc13389e0385d24a6ba1c56b15baabdc5ef7b19 (patch)
tree876c88e2826d9c445773cc22d0bebef9017bdbd6 /lib/bond.c
parent14002a5984e97f0f2482acdbb445c45266e2c6a1 (diff)
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 <alexw@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/bond.c')
-rw-r--r--lib/bond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bond.c b/lib/bond.c
index 06dd3627..a9278db8 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);