CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/09/03 18:42:30

Modified files:
        usr.sbin/vmd   : vmd.c 

Log message:
Compose a new imsg when relaying terminate to vmd(8) control.

Instead of forwarding the imsg, which was already consumed in the
parent vmd process, compose a new one to the control process. When
vmd was refactored to use the new imsg api for consuming the payload
instead of reading directly from the underlying ibuf, it caused
proc_forward_imsg() to forward incomplete data.

Instead of mucking about with the underlying ibuf and rewinding it,
update the only case of the consume-then-forward pattern to compose
a new imsg by using proc_compose_imsg().

Original diff and issue from Nick Owens.

Reply via email to