HomeFreeBSD

bhyve: fix regression in legacy virtio-9p config parsing

Description

bhyve: fix regression in legacy virtio-9p config parsing

Commit 621b5090487de9fed1b503769702a9a2a27cc7bb introduced a regression
in legacy virtio-9p config parsing by not initializing *sharename to
NULL. As a result, "sharename != NULL" check in the first iteration fails
and bhyve exits with "virtio-9p: more than one share name given".

Fix by adding NULL back.

Approved by: grehan

Details

Provenance
novelAuthored on Apr 8 2021, 2:44 PM
Parents
R10:9f2eeb02623d: [tcp] Fix ECN on finalizing sessions.
Branches
Unknown
Tags
Unknown