]> git.proxmox.com Git - mirror_ovs.git/commit
ovsdb-idl: Avoid redundant clearing and parsing of received data.
authorBen Pfaff <blp@ovn.org>
Fri, 20 Nov 2020 18:55:59 +0000 (10:55 -0800)
committerBen Pfaff <blp@ovn.org>
Sat, 19 Dec 2020 02:31:22 +0000 (18:31 -0800)
commit75439c4bdc2372e9e9d3344424102ffeb46c5280
treeb6a6732489cae49c3407be5853e1280ffd851169
parent4241d652e465827d5111b24092b27bff630980e8
ovsdb-idl: Avoid redundant clearing and parsing of received data.

ovsdb_idl_db_parse_monitor_reply() clears the IDL and parses the
received data.  There's no need to do it again afterward.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Fixes: 1b1d2e6daa56 ("ovsdb: Introduce experimental support for clustered databases.")
Acked-by: Ilya Maximets <i.maximets@ovn.org>
lib/ovsdb-idl.c