Commit 4c15bb17 authored by Andrew Jeffery's avatar Andrew Jeffery

mboxd: Set BMC_EVENT_PROTOCOL_RESET on startup

This resolves skiboot failing to receive the mboxd termination message
if mboxd has been killed unexpectedly or due to some race on shutdown
where the message fails to propagate.

Change-Id: I7a0974fc17f6853ac62c1f5f7b43d2e367260cf6
Signed-off-by: Andrew Jeffery's avatarAndrew Jeffery <andrew@aj.id.au>
parent fd4fa34d
......@@ -414,6 +414,7 @@ int main(int argc, char **argv)
/* We're ready to go, alert the host */
context->bmc_events |= BMC_EVENT_DAEMON_READY;
context->bmc_events |= BMC_EVENT_PROTOCOL_RESET;
/* Alert on all supported transports */
rc = protocol_events_put(context, mbox_ops);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment