]> git.proxmox.com Git - ovs.git/commit
ovsdb-idl: Avoid sending redundant conditional monitoring updates
authorAndy Zhou <azhou@ovn.org>
Tue, 20 Dec 2016 06:39:53 +0000 (22:39 -0800)
committerAndy Zhou <azhou@ovn.org>
Fri, 6 Jan 2017 21:59:56 +0000 (13:59 -0800)
commit5351980b047f4dd40be7a59a1e4b910df21eca0a
tree72761d12cffd8afacf2d236c4914daef60867394
parent790e2d4b1d02cce7e64029182a49473097f8422c
ovsdb-idl: Avoid sending redundant conditional monitoring updates

In case connection is reset when there are buffered but unsent
conditions, these conditions will be sent as the new "monitor_cond"
message that will be sent after the idl reconnects.

Without this patch, those conditions will be unnecessarily sent again
with following monitoring condition update message.

Signed-off-by: Andy Zhou <azhou@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
lib/ovsdb-idl.c