https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276862
--- Comment #9 from Peter Much <p...@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. -- You are receiving this mail because: You are the assignee for the bug.