Date: Thu, 08 Feb 2024 05:41:14 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 276862] vnet doesnt release iface after running openvpn Message-ID: <bug-276862-7501-bWfRLhM2Q4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276862-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-276862-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276862 --- Comment #9 from Peter Much <pmc@citylink.dinoex.sub.org> --- (In reply to Konstantin Belousov from comment #8) I'm not sure I understand your question, but I think the correct answer is = No. I always destroy my tun devices before terminating the jail, because openvpn runs in chroot and fails to do so. And I've learned that one has to be 100% tidy for vnet to work smoothly. I just looked what Your code precisely does here in my testsuite: ifconfig tun42 create runs tun_clone_create(), clone_create() returns 1. -> no problem. cat /dev/tun43 runs tunclone(), clone_create() returns 1; runs tun_clone_create(), clone_create() returns 0; dev_ref() sets dev->si_refcount to 3. -> jid is now indestructible. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276862-7501-bWfRLhM2Q4>