From nobody Tue Apr 16 00:44:22 2024 X-Original-To: virtualization@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 4VJQKM03jjz5HQqc for ; Tue, 16 Apr 2024 00:44:23 +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 4VJQKL2FLrz42B0 for ; Tue, 16 Apr 2024 00:44:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713228262; a=rsa-sha256; cv=none; b=KTJsqAkkjrTGlPDkKvigbEAr+oH/R7EhhPUuhHWx2+GMcTsBc08gIl0gh/LxtTwZfN/6uM CBY27yMgIDYLejzeZLLx7osHpYC2K0gGoHVhubQg4HOPujGYBMcdaU3nCnXIFrquuBw0Av h8asPjNWByBppmMeIc9lxQKclc/DTGLqE/9XGrcH0A88oVT5/d9JZAQycl2U8F3/856U6X 5CszY4IQk4TaVcjGsRsCQirnNLIJk/Cta3ERZqFS/s+Z+f+PbXmW6hpuBr6dJqN3SGSUCk vRZ8vo0L9jIaXmmJr4sJ7Vky7KDoeu1yEG7hBMZW8jOiPAZzjeIjXd+R3yR4zQ== 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=1713228262; 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=8Y7STr5QzyyvQLDnfGc6jC0j2uouQy2MDyGsE4EsNlE=; b=s2Gj6OfnFAwgteSQaiuA83lgTTWdwKB7OfyUoRdVAVwOPWq0Qk6utAL//PZ2SeB8+HxYEQ 6oqXt8cKCmsCFdSZUVxT1ebNH4zUivzv/ey9hvjrxc8oA6gjM2phu9WnQrS87KR7oeMDl3 QnduKRZY1nOa+Np5RGaP1fhSD2LxNP8SyNhGEDYsC8QekTK3tavKXFIPQ27a08QC3aRJ+I qfaEz05wFeIy1vqVhA25jLGgO6IDbZpUq3PZ2kouqOXjFfl6l9LRegneI/HH3kk7UPCKt0 oqixMIEyndVNW0yVnG44pEqoosC6PwJAojMjcoBwnD8EbOFZfhJhdTjSRdjfYg== 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 4VJQKL1l9bzMCS for ; Tue, 16 Apr 2024 00:44:22 +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 43G0iM98060450 for ; Tue, 16 Apr 2024 00:44:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43G0iMAC060449 for virtualization@FreeBSD.org; Tue, 16 Apr 2024 00:44:22 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: virtualization@FreeBSD.org Subject: [Bug 278338] bhyve deletes tap LINK0 flag (regression) Date: Tue, 16 Apr 2024 00:44:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crest@rlwinm.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278338 crest@rlwinm.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crest@rlwinm.de --- Comment #1 from crest@rlwinm.de --- It's expected that a tap interface goes down if you close it causing the addresses and routes to removed. It's annoying for a routed bhyve setup, but can be avoided by using the vmnet cloner instead of the tap cloner to create your interfaces. You should be able to get the behaviour I assume you want for a routed bhyve deployment from vmnet. I'm not sure what's the correct way to deal with the link0 flag if the tap interface is already configured before bhyve opens it= . I can see arguments both way (trusting the user to really know and intentiona= lly set each bitfield they twiddled with vs. bringing the device into its defau= lt configuration to clean up any corrupted state left over from the previous opening of the device by some other software that also used tap0). The only= way to cover both cases would probably to add one more configuration option sim= ilar to noinit for serial ports. --=20 You are receiving this mail because: You are the assignee for the bug.=