]> git.puffer.fish Git - matthieu/frr.git/commit
mgmtd: don't try to send config to disconnected clients
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 11 Jan 2024 18:58:09 +0000 (20:58 +0200)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 11 Jan 2024 20:56:42 +0000 (22:56 +0200)
commit0eac9b6f07aad0f82c312aed270987de06181150
tree7536153ebb638ac3dd07cf221f5bfd7cb00f4e27
parent86cbd5831e479baa717a47ba3b2d510a3c7233c2
mgmtd: don't try to send config to disconnected clients

When determining the interested backend clients for a configuration
change, don't consider disconnected clients. This fixes a crash in
`mgmt_txn_send_be_txn_create` when trying to send data to a non-existing
adapter.

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