]> git.puffer.fish Git - matthieu/frr.git/commit
lib: mgmtd: session create and destroy both short-circuit
authorChristian Hopps <chopps@labn.net>
Mon, 12 Jun 2023 02:13:48 +0000 (22:13 -0400)
committerChristian Hopps <chopps@labn.net>
Mon, 12 Jun 2023 06:32:29 +0000 (02:32 -0400)
commit0fc08fa7381fdba03a0c2e5b745929954172915a
treecdcc2ab0930e40fdc7b634998c031dd7f62c4460
parent4307fdd07047dc2f7c9daef7a74af6cddf635c34
lib: mgmtd: session create and destroy both short-circuit

For creation this is the first thing done so short-circuit just means inline
sync response. However, for destroy there could be commands in-flight, these
will be discarded when they match no session, and the state cleaned up
immediately when the message short-circuits.

Signed-off-by: Christian Hopps <chopps@labn.net>
lib/mgmt_fe_client.c