From af9ed3eb2feffefeab40ae706aa4c6f3a3caee86 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Tue, 3 May 2022 12:59:39 +0200 Subject: [PATCH] ovs: add FIXME about cancellable operations --- src/core/devices/ovs/nm-ovsdb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/devices/ovs/nm-ovsdb.c b/src/core/devices/ovs/nm-ovsdb.c index 44e16cb78f..7fa394d67d 100644 --- a/src/core/devices/ovs/nm-ovsdb.c +++ b/src/core/devices/ovs/nm-ovsdb.c @@ -376,6 +376,9 @@ ovsdb_call_method(NMOvsdb *self, NMOvsdbPrivate *priv = NM_OVSDB_GET_PRIVATE(self); OvsdbMethodCall *call; + /* FIXME(shutdown): this function should accept a cancellable to + * interrupt the operation. */ + /* Ensure we're not unsynchronized before we queue the method call. */ ovsdb_try_connect(self);