[Bug 273557] Regression preventing bhyve from running inside a jail without IP after f74147e26999838e03a522bf59ea33bef470d356) breaks support for jailing bhyve with IPv4 and IPv6 disabled. Patch included.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 17 Oct 2023 15:56:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273557

--- Comment #18 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=fd8b9c73a5a63a7aa438a73951d7a535b4f25d9a

commit fd8b9c73a5a63a7aa438a73951d7a535b4f25d9a
Author:     Jan Bramkamp <crest+freebsd@rlwinm.de>
AuthorDate: 2023-09-04 08:38:25 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-10-17 15:24:11 +0000

    bhyve: Use VMIO_SIOCSIFFLAGS instead of SIOCGIFFLAGS

    Creating an IP socket to invoke the SIOCGIFFLAGS ioctl on is the only
    thing preventing bhyve from working inside a bhyve jail with IPv4 and
    IPv6 disabled restricting the jailed bhyve process to only access the
    host network via a tap/vmnet device node.

    PR:             273557
    Fixes:          56be282bc999 ("bhyve: net_backends, automatically IFF_UP
tap devices")
    Reviewed by:    markj
    MFC after:      1 week

 usr.sbin/bhyve/net_backends.c | 52 ++++---------------------------------------
 1 file changed, 4 insertions(+), 48 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.