[Bug 277435] [Feature request] Add an option to destroy the tap/tun interface when the descriptor is closed

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Mar 2024 00:22:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277435

--- Comment #12 from Nikolay Borodin <monsterovich@gmail.com> ---
(In reply to Kyle Evans from comment #11)
> Is it doing some fork or fork/exec? Any fd passing or anything funky?

I doubt it.

> Interface renaming?

Not yet. :)

Here's the code (minus TAPSTRANSIENT) for the library I'm working on. Nothing
out of the ordinary.

https://gitlab.com/Monsterovich/lanemu/-/blob/4e4c5012c8838b7780c2d96efcc622170839a6e3/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.c

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