When checking Service_Monitor, if pinctrl thread was setup to wakeup at time T, and if it was waking up at exactly time T (same msec), then pinctrl was looping until T (in msec) increased.
Signed-off-by: Xavier Simonart <[email protected]> --- controller/pinctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/pinctrl.c b/controller/pinctrl.c index 1b03f7057..3353bdfdf 100644 --- a/controller/pinctrl.c +++ b/controller/pinctrl.c @@ -8125,7 +8125,7 @@ svc_monitors_run(struct rconn *swconn, break; case SVC_MON_S_WAITING: - if (current_time > svc_mon->wait_time) { + if (current_time >= svc_mon->wait_time) { if (svc_mon->protocol == SVC_MON_PROTO_UDP) { svc_mon->n_success++; svc_mon->state = SVC_MON_S_ONLINE; -- 2.47.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
