ovn: Fix check on existing encap row.
authorRussell Bryant <rbryant@redhat.com>
Tue, 27 Oct 2015 09:01:28 +0000 (18:01 +0900)
committerRussell Bryant <rbryant@redhat.com>
Tue, 3 Nov 2015 21:18:59 +0000 (16:18 -0500)
commit7fd06fc7b16fb8b6d9bb1899547a6d8366761a74
treeafa140f17e8f7251cd78d3485129cf33c68e02d3
parent642fbd708b8667111755383e80500a9afb330191
ovn: Fix check on existing encap row.

This code does some checking to validate the existing encaps for a
chassis to see if they need to be updated.  This typo resulted in
ovn-controller re-creating its encap(s) every time this code ran, making
ovn-controller and ovsdb-server eat up a CPU in my testing.

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ovn/controller/chassis.c