OVSDB_IDL_TRACK is not valid without OVSDB_IDL_ALERT, so it should be turned off as well in ovsdb_idl_omit_alert().
Signed-off-by: Han Zhou <[email protected]> --- lib/ovsdb-idl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index 642ce66..5848326 100644 --- a/lib/ovsdb-idl.c +++ b/lib/ovsdb-idl.c @@ -1252,7 +1252,7 @@ ovsdb_idl_send_cond_change(struct ovsdb_idl *idl) idl->cond_changed = false; } -/* Turns off OVSDB_IDL_ALERT for 'column' in 'idl'. +/* Turns off OVSDB_IDL_ALERT and OVSDB_IDL_TRACK for 'column' in 'idl'. * * This function should be called between ovsdb_idl_create() and the first call * to ovsdb_idl_run(). @@ -1261,7 +1261,7 @@ void ovsdb_idl_omit_alert(struct ovsdb_idl *idl, const struct ovsdb_idl_column *column) { - *ovsdb_idl_get_mode(idl, column) &= ~OVSDB_IDL_ALERT; + *ovsdb_idl_get_mode(idl, column) &= ~(OVSDB_IDL_ALERT | OVSDB_IDL_TRACK); } /* Sets the mode for 'column' in 'idl' to 0. See the big comment above -- 2.1.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
