From nobody Mon Mar 04 12:33:04 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TpJ4w5MV0z5CX2N for ; Mon, 4 Mar 2024 12:33:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TpJ4w49TFz4ypM for ; Mon, 4 Mar 2024 12:33:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709555584; a=rsa-sha256; cv=none; b=v0shW5bV4VMwiQndSjfgBszLa5cpud80SbYwwTLViEX4A8EnGJvsyHm9T674lxIqXfE8LL 80NZhR+qGdCeSJRpcRlFjkt03J4QGc1eQcdgfKXDuT2+Sgs3wm/CHrJkGx3RA9WQWb/J4a G7kd9O5pakhmn9n/f9AzUtpPH7pLtYzEQqKWL/Pkd/E1loOoAszoUDeV3xh6K6erRINO/k pgrO8ixJ4d26394n9bFzmOnCC8jE+g06gQrwsk7h5omeADk8JMlDPaEEM6p/ZdKEXEkXd7 kpdZacJbvXdLikgQ9dO0nfq0zOl4CqjaCRmiuTVYmmJisASib9OGHOEVZfhu5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709555584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=doaEBK833Ch8LXM4hrnMFmz/4LJCqKDkWZviM2fCR8A=; b=dVmRknNQoys3PE9p4bFUiMNYLXgJDlvDqmx05UHuLX+s4hMjcxbtwHzu8seg7MX/gvt7Ev HuebQIxEWcPWcoJScxM1g+wsuxbL9lSQcN7SSJTPSkVef9lWU5DEz105Qu9ro/eb6f2lOj ZqCUe1wOA6qzywkEtLupOFmMyWjR7b9kS4+kMse51vjVst7UqFkXGt2mSHrtZ4+WSWv/9d 0I2nWrc2vOmeTj3n4emAqp3/7GMZtFchR3EVOARfzvxhgh2RwQM60KU+dta4yeALauXmTL vX2qJvjqAM06doyWTXl+MGX+AExHXg3O+5lC1vTxCtwikjIKM8j2M+KbANpXpg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TpJ4w3gPhzLcw for ; Mon, 4 Mar 2024 12:33:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 424CX4VQ034849 for ; Mon, 4 Mar 2024 12:33:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 424CX4fx034848 for net@FreeBSD.org; Mon, 4 Mar 2024 12:33:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Mon, 04 Mar 2024 12:33:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: monsterovich@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277435 --- Comment #14 from Nikolay Borodin --- (In reply to Kyle Evans from comment #11) If I set net.link.tap.user_open to 1 and try to open tap device (e.g. "/dev/tap"), open returns -1, but the tapN interface still exists. It also creates devices and doesn't destroy them. I think this behavior could be fi= xed as well. --=20 You are receiving this mail because: You are the assignee for the bug.=