[Bug 277435] [Feature request] Add an option to destroy the tap/tun interface when the descriptor is closed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Mar 2024 14:08:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277435 Alan Somers <asomers@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asomers@FreeBSD.org --- Comment #1 from Alan Somers <asomers@FreeBSD.org> --- This is from tap(4). How is it different from what you are proposing? On the last close of the data device, the interface is brought down (as if with “ifconfig tapN down”) and has all of its configured addresses deleted unless the device is a VMnet device, or has IFF_LINK0 flag set. All queued frames are thrown away. If the interface is up when the data device is not open, output frames are thrown away rather than letting them pile up. -- You are receiving this mail because: You are the assignee for the bug.