summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/iso_cksum.c
diff options
context:
space:
mode:
authordv <dv@cvs.openbsd.org>2021-04-26 22:58:28 +0000
committerdv <dv@cvs.openbsd.org>2021-04-26 22:58:28 +0000
commitbb65358dcd238cf3e37f5eb24571d8cbc744037d (patch)
tree6c4ff043780f6c9f6bc51fd62ed95656b3c3fa75 /usr.sbin/ospfd/iso_cksum.c
parent01f75f287a73ae1b8871a180d01e2eeb3fce60c7 (diff)
vmd(8): fix vmctl client "wait" state corruption
Adds queue-based tracking of waiting client state to fix the cause of state corruption when a vmctl(8) user cancels a wait and restarts it. The socket fd value for the control process client was being used to track the waiting party, but this also prevented multiple waiting clients. This moves all the state tracking of who to notify of a vm's stopping to the control process and no longer requires the parent process to track it in the global environment state. Future work will be needed to smooth out the difference between the IMSG_VMDOP_TERMINATE_VM_{EVENT,RESPONSE} events instead of needing to translate before relaying to the vmctl(8) client. Tested by Mischa Peters (thanks!) ok mlarkin@
Diffstat (limited to 'usr.sbin/ospfd/iso_cksum.c')
0 files changed, 0 insertions, 0 deletions