Date: Sun, 03 Mar 2024 14:08:02 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 277435] [Feature request] Add an option to destroy the tap/tun interface when the descriptor is closed Message-ID: <bug-277435-7501-ikrKZWDWhp@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277435-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-277435-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=3D277435 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 =E2=80=9Cifconfig tapN down=E2=80=9D) and has all of its confi= gured 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 da= ta device is not open, output frames are thrown away rather than letting them pile up. --=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-277435-7501-ikrKZWDWhp>