]> git.puffer.fish Git - mirror/frr.git/commit
mgmtd: fix get-data transaction hangup
authorIgor Ryzhov <iryzhov@nfware.com>
Sat, 27 Jan 2024 23:18:10 +0000 (01:18 +0200)
committerIgor Ryzhov <iryzhov@nfware.com>
Sat, 27 Jan 2024 23:18:10 +0000 (01:18 +0200)
commitbe9209a7e4169ad9256a125f77a9578298d93613
tree84632e0b36e4b8be08277c5b4117e7663a6e858e
parent03fd7d589ac054243060526c58e0d4bebc644ce9
mgmtd: fix get-data transaction hangup

When no data requests were sent to the backends, return immediately,
instead of waiting for a timeout. This can happen if backends providing
the requested data are not connected to mgmtd.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
mgmtd/mgmt_txn.c