From nobody Sun Mar 3 22:59:40 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 4Tny2P16DTz5CVFM for ; Sun, 3 Mar 2024 22:59:41 +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 4Tny2N72x4z4S0N for ; Sun, 3 Mar 2024 22:59:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709506781; a=rsa-sha256; cv=none; b=dQFfzvWnZxr62a87uj6QFEw2AspoyJOS7exIDjpwslDl/htGZzKcSOct+hB0TamMVx9g5V 3yBloftn+ZrGuU0Tr9iOFEY9L8GKQjXNg8N9BiAHL2KAgwAMo/Dy8qgvo9eydtOJ4SxoUb 6/TKHTbzorvepxRdrlAUxyOSbdUXrlOLW+zehHLQCP2PysjBTZbf1UoALo+Xwg1HCYk6Jt DLZxDJ792unMWTVScXPIUldZhKX0UyA53R9S1BJbOLq7Hj+wnwx+zfclAken0IKV8Cmmqa V+igeYmTW5pdoBcPloAAH+rTRDB9GXzpc1g5rYNNGOnbKJmYjWRkqLFST4ITWA== 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=1709506781; 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=OzDtwYQr7uGnvqHO89yb3ImYae6Bagy9JRkySsKeYDM=; b=ZcrkjabR9JCFXKpS65N33hpDfBimhWhgC8DrNEEsmX+11I5Lkvlb0r05kSUC9sF6kA14F7 6PBXSqvGhbON6H/+6+i3Kimeuus6ly7HAPudGRCTukNb6zI2ljzEb4OnhOlxyJVkTYPj1P eKYlOhfozsyBR8ovGkBANquxirZyR2qWl/5U20FSiWCHGZcfqFUb9hxvymHmwhmewLHWhx Y+llk6N3Z/av4W1VFgpW/76cjtMsSOgbf9l0GXSakzSJTBOmo3Te1pgAN3g63U1xOlE05Z IHh3OYS2rSe3qRB5c9vqsRDbzt6UscmQqxobxVDG5B22RU1gcxPiw1yKbAk3gw== 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 4Tny2N6Xm1zxjY for ; Sun, 3 Mar 2024 22:59:40 +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 423Mxej6091166 for ; Sun, 3 Mar 2024 22:59:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 423MxeDm091165 for net@FreeBSD.org; Sun, 3 Mar 2024 22:59:40 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: Sun, 03 Mar 2024 22:59:40 +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 #9 from Nikolay Borodin --- (In reply to Kyle Evans from comment #8) After this option is set, the system hangs when the application is closed. i =3D 1; if (ioctl(fd, TAPSTRANSIENT, &i) < 0) { printf("error: ioctl(TAPSTRANSIENT)\n"); // hangs return 1; } with a 100% CPU load: > 1503846 monster+ 20 0 3583480 610420 494700 S 100,0 1,9 1:21.39 Vi= rtualBoxVM --=20 You are receiving this mail because: You are the assignee for the bug.=