ovn-northd: Avoid redundant lookup of logical router port peer.
authorBen Pfaff <blp@ovn.org>
Tue, 19 Jul 2016 16:03:21 +0000 (09:03 -0700)
committerBen Pfaff <blp@ovn.org>
Fri, 22 Jul 2016 18:12:19 +0000 (11:12 -0700)
commitcd1508992ae93140c175a948bae9eff17b129321
treea0d9aafce73029fc39c05678b66efed5ba973ae1
parentad386c3f31fea7c0e2e2bc91b0cd370132208811
ovn-northd: Avoid redundant lookup of logical router port peer.

An ovn_port keeps track of its peer in its 'peer' member, but the code
updated by this commit instead did a redundant lookup of the peer.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Gurucharan Shetty <guru@ovn.org>
ovn/northd/ovn-northd.c