From nobody Mon Oct 14 00:51:24 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 4XRdvz33cxz5Yr4s for ; Mon, 14 Oct 2024 00:51:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRdvz1qf0z44w6 for ; Mon, 14 Oct 2024 00:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728867087; 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=Gv2vqu8ilptZHIYGrMp2TCTotNvWhyzV4WkrC6cOg8k=; b=M19m/poMrn5qMpXYXzCmJiHTqsAySsFhip+wIZ1MyKrJtkQndNrJZ25/cql4ARfuNecZgv Pb8BAzg+5t2KAihSjX5/0+QIc19Rsl7I8BDFtplICPhqmowgD8VAG7a6HtaoAfbQnlLFL7 WOYaR14qh1HLeFZf0VS07oUk0ncwnIuls1JGjR37y6zedBIGiNxGShdOqLwdIYqH11s+rZ G4qt+q5E2BxzjGTwzgltq7PYJdQlZ+MfDBLBvGasFV+M0oUTOlxy045HBgi+GSDizIqzPV RVGXMwB81uJNI7t9yWsiBNa9uTiFxoSbnTJB+3agqRChEXS7NUjJKq4OHI8Wbw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728867087; a=rsa-sha256; cv=none; b=CDCuEpmo5ypYRb+0Vq1L8r/N2g+5KnGpxfWpwLtM3pP0BheIevLjI78Lz1RNp9a+AgtGaO zl+DSrn2YLbIEdZrT9KHLZfkvDLpegr7IF/BVBSU3Tryo0Q9idGKzTjWsLaQ9gZaoF8nbO sVIUoUS1vk1pnvPmglXKjx35UcmABz3hVK45AZHvYeia9ZHcQ4tYXlivBh0ic8iUcpHjJ9 wUoIuushsHjijQG2HRHL0KnE3D25pbZu/cIku74CV5Ta3hVMlD0YJuMwT+J0azjVeC00OR PN9e5S8ZpOd1nI26Y9Hs+RKK3ScX2fFU28w9iB87W2v3/pcLKnVjx7OFT7A5Vg== 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 4XRdvz1Qp9zGFg for ; Mon, 14 Oct 2024 00:51:27 +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 49E0pR5u079938 for ; Mon, 14 Oct 2024 00:51:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49E0pRxv079937 for net@FreeBSD.org; Mon, 14 Oct 2024 00:51:27 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 213606] [bxe] multicast (LACP/OSPF) not working with qlogic BCM57800 Date: Mon, 14 Oct 2024 00:51:24 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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=3D213606 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|Open |Closed --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Mon Oct 14 02:49:12 2024 X-Original-To: freebsd-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 4XRhWw6W9bz5YyhT; Mon, 14 Oct 2024 02:49:16 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRhWw4GfXz4GST; Mon, 14 Oct 2024 02:49:16 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTPS id 02CZtIt6LMArN0B91ti6vC; Mon, 14 Oct 2024 02:49:15 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id 0B8ztkM9EE0IV0B90traIM; Mon, 14 Oct 2024 02:49:15 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=cI9DsUeN c=1 sm=1 tr=0 ts=670c86ab a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=DAUX931o1VcA:10 a=4yi-b2ezAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=GoqGsIDvfXODEf7dVFkA:9 a=CjuIK1q_8ugA:10 a=TQxA5NB98t1WezocIkIN:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id E626B376; Sun, 13 Oct 2024 19:49:12 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id B82FD289; Sun, 13 Oct 2024 19:49:12 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: "Kevin P. Neal" cc: "Gavin D. Howard" , freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org, freebsd-net@freebsd.org, tcpdump-workers@lists.tcpdump.org, tech-net@netbsd.org, Alexander Nasonov Subject: Re: BPF64: proposal of platform-independent hardware-friendly backwards-compatible eBPF alternative In-reply-to: References: <20240910040544.125245ad@nuclight.lan> Comments: In-reply-to "Kevin P. Neal" message dated "Sun, 13 Oct 2024 21:26:57 -0400." 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 Content-Type: text/plain; charset=us-ascii Date: Sun, 13 Oct 2024 19:49:12 -0700 Message-Id: <20241014024912.B82FD289@slippy.cwsent.com> X-CMAE-Envelope: MS4xfP3R1d8d+xMuFawVIUw/ZdwQE6f2+Yq4QZy6QrXvMCDMFOosgfZi6gjWHVKJEl+fAXsZ6m+t4w19e2zicnFc0ugKVAn7V6ut9FaCvjRI32VZdCNAY4jH 3akqkZ4M1Gv306NKOB3RirzwN3RFMGgdYpjb2pqTA3r3PLrEWDyKUMlPGdSgcTLDRHpcuNtBTaY43cUAURWDRTM+H8VdCThyc7wpaZTkcDD0jPW/pDP+Kc3V dfnkzC5YKUonnUCgRnnAFyfZAuIy8uUK1El4dVxuCjOf1UA1tz5IZUW97LNVlnd2UtMcZAZSbsEiJauqYTXtCtV3L5mQjjOAue0SCMhOH9btyY6XEfmxbKbJ XDOKF8ssvIjBrDs7uuyiDi9+adI6yfa5TSfzkuuSsSq0a5yAxuOWufDABU9DvlrIw/S5Qhj5d+VMI/1Tlz78Sc+Oed5sLWjBanyI+vtkklLrGopF7dk= X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4XRhWw4GfXz4GST X-Spamd-Bar: ---- In message , "Kevin P. Neal" writes: > On Tue, Sep 10, 2024 at 02:41:20PM +0000, Gavin D. Howard wrote: > > But the good thing about this is that FreeBSD could use LLVM IR as the > > BPF64 language, which means any language that compiles to LLVM is a > > possible target. > > Please don't do this. > > The LLVM IR language is a moving target. IR that works in one version is > not guaranteed to work in prior versions. There is an upgrade step where > it tries to read in older IR, but writing out older IR is a problem. It > can be solved, I think the DirectX LLVM backend ("DXIL") does this, but I > still suggest you not do this. > > > As for restricting access, I think it would be possible to check the > > instructions in LLVM IR for any unsafe instructions or calls to > > restricted functions. > > > > The downsides: > > > > * Someone would need to write an LLVM analyze pass or whatever they're > > called. Maybe more than one. > > Close. "Analysis pass". > > > * The kernel would need the ability to compile LLVM IR, making LLVM part > > of the Ring 0 domain. > > * Either that, or someone builds an LLVM-to-bytecode translator. > > * But the analysis pass(es) must still live in the kernel. > > LLVM is huge. Really huge. A codebase that large has no business being in > the kernel. An interpreter in the kernel. What could possibly go wrong with that? -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Mon Oct 14 07:33:33 2024 X-Original-To: freebsd-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 4XRprB3hxfz5ZM55; Mon, 14 Oct 2024 07:33:46 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRprB2nZZz4Vsk; Mon, 14 Oct 2024 07:33:46 +0000 (UTC) (envelope-from theraven@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728891226; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iE2Bc2+JYMr/3dORZ1efguwqLVktYNwYS4KXYTtfwwM=; b=VF3ZJH8+9cwzDhZUbQeENfdhz8Xt/Izp/ysfooQXV03xvHipWxP5Pq5mtdZie0FQLZwGHM 7hOzUSk8TApb1GVzXMkFakidosRlhx9+EoQd2Qj+j1OxN1yH6anaGL73S/GF/fiOHjsFhh fjYpXtqaAyU5/UgxHg96bQqhgNQD3a3mSbbXGwtlL8yt/vl+kfJRzFQebju5AfWETszKIf s8z2KGknVfA9Z/ZuV4jjahyz+QainmK1iJo8e0/GmeYLmKgnITunoHysK9aWxGLCoK0Csf MEjzvJ85t4ToblNAXSAYe02JKbeXT+eZ37kS7M6cH5vLgs6WJ8c73Icb4RPTlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728891226; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iE2Bc2+JYMr/3dORZ1efguwqLVktYNwYS4KXYTtfwwM=; b=T7eHvqFdOj71cIk5ZhZIcKxHFQBB5ioG5hZAHiHATNVMo1MxYtNbvKR7Kfy/Mc+w0DNANg TKgSsmssrvV7XL38UxBqqjo4RFMmmO4BtfITC5AjHTq0nVS8AeiunX3PUd7jFZ6z4DB9Fl lSvlN7pVINu/RTXp3FjK7dnfVgV75mOEZMAgwX/SOFT+146rQ9qcto0GX86iTs8IR8MFuJ zfrSJLS2XHQUB+SkNVyvtlAFL76tecZpihSqymd2r/AooX/lDc1eXklJ+1cryryxntuyUj VczHWE0M6Lk0Z3OZWEm4xKcp/S0EGJfJoTBsInjNoAgKGVCwQEzkeNTq5JZWpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728891226; a=rsa-sha256; cv=none; b=Hkw8TL6rb1pfupmEF54I03Bxdquyc8+xCKH3OYd93rveNRXd48uOfnppnxl3zGO24dmctb Ig8yAupIFTslhKvlojqBYvmazbdVlYNV14n8TDuH5gPXmMogBlgfTM9FdTVXiiaceLd5+p zxrrFQidVvaz61CHu71q6YEv6XRfpHOJ/kuumXu3IAdYVgwYIpjYlnpckjDjvze/iv3iJp tafDz6q7ddHLUag1OtK/Xgf7hEws9z7/Z397VZIoRDuvBZGsaVQxLHGUjS0Kkh5T2HkdPW QY0t5EVfAkvKdmcFUYrRgilZ/2zqanhk6YrqvKbwl4NkCPqsIScNU3b2lGzULA== Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (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) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XRprB2DRzz1Hwv; Mon, 14 Oct 2024 07:33:46 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtpclient.apple (host81-141-222-158.range81-141.btcentralplus.com [81.141.222.158]) by smtp.theravensnest.org (Postfix) with ESMTPSA id 80E338F37; Mon, 14 Oct 2024 08:33:45 +0100 (BST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: David Chisnall 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 (1.0) Subject: Re: BPF64: proposal of platform-independent hardware-friendly backwards-compatible eBPF alternative Date: Mon, 14 Oct 2024 08:33:33 +0100 Message-Id: <1FFE8A39-0061-4749-B9AD-65BE31CABAE0@freebsd.org> References: <20241014024912.B82FD289@slippy.cwsent.com> Cc: "Kevin P. Neal" , "Gavin D. Howard" , freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org, freebsd-net@freebsd.org, tcpdump-workers@lists.tcpdump.org, tech-net@netbsd.org, Alexander Nasonov In-Reply-To: <20241014024912.B82FD289@slippy.cwsent.com> To: Cy Schubert X-Mailer: iPad Mail (21G93) > On 14 Oct 2024, at 03:49, Cy Schubert wrote: >=20 >> It >> can be solved, I think the DirectX LLVM backend ("DXIL") does this, but I= >> still suggest you not do this. NaCl and SPIR made this mistake first. WebAssembly and SPIR-V learned the le= sson. >> LLVM is huge. Really huge. A codebase that large has no business being in= >> the kernel. Many years ago, I wrote a proof of concept BPF to LLVM IR compiler. The idea= was that a trusted userspace component could do the BPF compilation and loa= d binary code into the kernel. BPF would still be BPF and so have the same g= uarantees, but compiling it would be faster (on average, each BPF bytecode w= as slightly more than one x86 instruction after LLVM optimisations had run).= LLVM was still in the TCB though, even in userspace. I didn=E2=80=99t perus= e it because LLVM is *not* safe in the presence of untrusted inputs. More generally, the LLVM IR model is similar to C. It allows arbitrary point= er casts and arbitrary pointer arithmetic. It is not a good starting point f= or anything that you want to analyse for security. LLVM analyses take advant= age of undefined behaviour. An in-bounds address calculation instruction is a= n assertion from the front end that the result will be in bounds. Optimisati= ons are free to rely on this, even when they can=E2=80=99t prove it, because= it is undefined behaviour to claim something is in bounds when it is not. T= he same is true of a lot of other properties on the IR. Many are not computa= ble to recover post facto, they rely on translation from a higher-level lang= uage that enforces the properties by construction. David From nobody Mon Oct 14 08:44:13 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 4XRrPV2j6Zz5ZRgS for ; Mon, 14 Oct 2024 08:44:14 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRrPV1hSXz4fmg for ; Mon, 14 Oct 2024 08:44:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728895454; 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=XrzgtAAX2r/HBdJwHzC6S4ZfDt6Dn2LItq40OgQM9t8=; b=GFXXpls5K4TIauq4lwTfnkPkJW/o1yJ7H9zoNfhPJKTFFsO1NBakj4ulzbw8BuvWYCdanQ OLnqglXCWd+8vsKxkfAbu2969WIauGqGejJfJSrrEBG9U2BdNnKm7BYHpofADjW9jLFZdr Bcp/w8s06tcfqvbHwgDl8P71QOpID6xOFhCq8p+z3dSAC27EI2bnLbfA31vKgkFJ40nwbx WvKhoWcASlMbh2oZ3/s/zmn9e9FXPuxs0gwV2dwQJOs/QWA4oSagS01piwOmOHE+A8Ypd4 hkVPYKuoPjtTAnXDjxzfQok4KtLDlPFYG4D2LrENEyXXx12oMxmHzzeqAQ87vQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728895454; a=rsa-sha256; cv=none; b=HMP/4sIpEQdVJAj8tUiCzjXgiZB6RK6H8QNF5sdrQA70j18/B+reh+sNmXDv+V2ovQ55r1 Aq2cxEB+12412mxDDfHCRe3ufzs0fl+5IXwgWHTafwdXGWl4BoKWJzJmELzSEoRJ/gGVIt f9uHA4S4ouVkLvfTWNMAgDG1PLD4PdLAhrM5sXsaIoIKukrRLWmpi7YBuNWj8vHlJNsWud Aesfr+BJR48qVDPTUal/3Ka5YsefI9SvId079pWaDHc5S2om21dd935BiirQUfrYj55+s4 KtWnKYKVb+rUlnAM31JsJGENQZHD30HWlrbL6i2p4DQEIQQa4dqM9ku2+pO6pQ== 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 4XRrPV1GmGzX5l for ; Mon, 14 Oct 2024 08:44:14 +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 49E8iETY004407 for ; Mon, 14 Oct 2024 08:44:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49E8iEPM004406 for net@FreeBSD.org; Mon, 14 Oct 2024 08:44:14 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 262828] [carp] CARP arp replays with wrong src mac Date: Mon, 14 Oct 2024 08:44:13 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org 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=3D262828 --- Comment #18 from Andrey V. Elsukov --- (In reply to Ivan Rozhuk from comment #16) >And what about IPv6 NA announcements? ND6 code already uses CARP mac address by default. IPv6 NA and NS use simil= ar code: ``` if (ifp->if_carp) mac =3D (*carp_macmatch6_p)(ifp, m, taddr6); if (mac =3D=3D NULL) mac =3D nd6_ifptomac(ifp);=20 ``` --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Oct 14 09:29:49 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 4XRsQ56CgCz5ZVKx for ; Mon, 14 Oct 2024 09:29:49 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRsQ53KcGz4mfP for ; Mon, 14 Oct 2024 09:29:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728898189; 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=QwXyCqGHRoY/+8TdAymIYBv/wdAxgqRE3rU18FXoKw0=; b=y4230JSJhFOHX7QfB3t9XyNX1lQkDvJZLp0R4Fn1Y0HhYpVR0J2xOGhjpXEd3n2jAA7VI0 SfXizrFDAGF9WsJP8ZmHAZ3w5eCDozLsE0Ju0TlmaoU7/A44J1XfQHNhp39FjqDwIlSqz/ EpilgR3H+y2CjMi5qT9WfOO2JxBS5r7i6OoRYMdnv69MJk/n+5juX1lbDzYSNfX2IDLoyG aJODMP8+SMhcE5xC1vLntjmKo8WbLxhkfxiX/e7hx1NpBl0fiaDnMe5Q1UttvvasXfI8ie hFooT7OzwxGZzqTh/ixd977xw0spUgtVHIVHf0Myk5YoSA9XNcFsYzDwUpGdNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728898189; a=rsa-sha256; cv=none; b=ndGq5iEdAScNzF1GyxPMZ7KyIGTexWsV5OTI9Dmq7KptwVzQwk5K9BJDyEh15PMKMrJN5p hQ5v5dyTXnXa+uwXNJmZ1fPkyMDEfC83P7dJ5vX3Ytm3dXi7PH2vvnRMhBCpWDvC1I3tM2 JwprJuHp6aQ5rP/gJRbaprHig/W9MEYuvC4y3KmatUUHlWLtYAi3NYN9Za7sAk+5tY6CqW amzDqLCgfCtSKrqa7iOM7W6Yq5fLDDChhDehstFB/bjM/1NW8g6PYM7TeDjH8hpZ1xcLU2 CWBjgbvrRjJkVEis2nMUr/t2+0oN+661A4k1X1zXEibWzX5IkM04vfYZCKlP4w== 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 4XRsQ52yJgzY7s for ; Mon, 14 Oct 2024 09:29:49 +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 49E9Tnux069188 for ; Mon, 14 Oct 2024 09:29:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49E9TnjC069187 for net@FreeBSD.org; Mon, 14 Oct 2024 09:29:49 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 280648] Traffic leak between fibs Date: Mon, 14 Oct 2024 09:29:49 +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: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: banezmesm@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=3D280648 --- Comment #26 from Egor --- Hello, Zhenlei Huang. I want to separate my traffic for two different routi= ng tables. Jails looks like overhead that will make maintain of the system more complicated. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Oct 14 11:00:45 2024 X-Original-To: freebsd-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 4XRvR45RL6z5YN3n for ; Mon, 14 Oct 2024 11:00:48 +0000 (UTC) (envelope-from igoro@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRvR44tLTz3xZs for ; Mon, 14 Oct 2024 11:00:48 +0000 (UTC) (envelope-from igoro@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728903648; 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; bh=J6NOpsv6m8u1+9+Aewqb1dBjqVzkTyhLkJocWvFiqD4=; b=QoiJM/ZjgS/n5olM2ElK3h7tcUya+IKpKcNXoP9S2rvTtxqQlTqXkGQT+gidBCqD91f+Cq p2bFXliq7Dx5iHI2dSiwQ+DorkB20CwnhST/M2j5xDsnFYoEDAkJ3cRFvhBKXjw9aqRqO4 GsuIM/NqlSEimm2ZLQtjOFgKsaWToFQPHc1PZeRiG+StnUOV1Al9XAbYpR7bXysNCSV3Bh lDCsXGKe33qtTwueLSnwG+zIWTRqYNUrtnJixtH7kw5dntELRpm6CSG8VPGdb/e0pszZ70 Vl++4ht67iHrLHdlCKa3Z8w6HW6xetQXLUVQtad4DuJHlWudmAITTleffFrO/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728903648; 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; bh=J6NOpsv6m8u1+9+Aewqb1dBjqVzkTyhLkJocWvFiqD4=; b=F4wqqtNnrc0pmgcqSHqEzi9OYjhcGMN/Akf/wYqD+w1K53t5maaljqnLfojoK7lSqpMbMZ 95B3zS1KJDMqUrRU66KpURPPfh9RNLbIvHu6Aug8y/iWxYDiJJBc7S0nY4cycbhF6Oa2wM UboMyxZv/UR0zqV9mIeWF99R88XAiPCpsiGFRaqoRg3f1tM5xxOfOKlMkZcErZ6Fe85QeN S8xYViUXJAHiyxDuc+zZRPxoKYlMuFvxPkWb2DVRWbNSxTf7S0jfA7EFCyAGoB8jtn+ZJq 2O4hraQpn+bW+buk0i2y0KCB9HoiBu8DGhOai/oR49LzJ75jdYj/J8GD09i+mw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728903648; a=rsa-sha256; cv=none; b=Ky25q5qtpUO528mbXYj+lCXhZASDpUvZd+CdNCmMrjXQZeMp96szkX58ypQftrcuuyfqc1 dZ3VLfRXBnUvrA343a+Ctdknmchk4ivCl25MsR7oakTYK++BKBAkMBsZ8c9nox1i56GrK0 UlFSaGrI1+ZQzv3Nu9VXOgY5xHjBb2sM+d5GoPY7YT2cZLmx7bPaLonlGfhleg912SQJWT DeGsdVuXn9ibyzuXpWTWvx5fc3vFOf6nG4B1pDk4ys+vnsSAr7RMhthQ3yA4uPSs0gZT3Y ZNza8cNmRC5NriJhp3PzvyArxQTGbBKs3lzDPs1clL64JardltbXScW24yj1lA== Received: from [192.168.0.101] (unknown [78.83.216.204]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: igoro/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XRvR42gpVz1LGC for ; Mon, 14 Oct 2024 11:00:48 +0000 (UTC) (envelope-from igoro@FreeBSD.org) Message-ID: <05e3056e-4563-4d42-9e5a-6db0ea6bf90f@FreeBSD.org> Date: Mon, 14 Oct 2024 14:00:45 +0300 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 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Igor Ostapenko Subject: RFC: mbuf: Add m_len assertion to mtod() and mtodo() To: freebsd-net@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi FreeBSD developers, After the recent findings that a network module may end up doing things like mtod(m, struct ip *) over an empty mbuf in a chain, an idea has come to add m_len assertion to the existing mtod() and mtodo() macros. Thus, mtod() would panic if m->m_len < sizeof(struct ip) in the example. The current implementation proposal is here: https://reviews.freebsd.org/D46684 The high level technical plan for this long path is as follows: 1. Fix compilation cases 2. Fix runtime cases, e.g. mtod() can be used before m_len is prepared 3. Land the assertion The very first inconvenience found is that it will make mtod() unavailable for the following two use cases: - void pointer mtod(m, void *) - work with m_data pointer itself: mtod(m, vm_offset_t) mtod(m, uintptr_t) & 3 Currently, 116 void* cases and 60 m_data pointer cases are found [1]. And they are targeted to be re-worked. It's planned to consider each case because of something could be not just a literal macro expansion, e.g. mtod() & 3 examples could be changed to something like m_alignment(m) & 3 or m_is_aligned(m, 3). It would be appreciated to receive comments, opinions, and suggestions before starting work on the respective changes. [1] The cases found: https://github.com/ihoro/freebsd-src/pull/31/files Best regards, igoro From nobody Mon Oct 14 14:54:26 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 4XS0cg4VyCz5YgXJ for ; Mon, 14 Oct 2024 14:54:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XS0cg3Rjmz4LmQ for ; Mon, 14 Oct 2024 14:54:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728917667; 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=QhY+r+EJOpOuwUPC7mqfLYdwm8Rckh0dZdSTc9ERsPs=; b=Fx3ez4Z2SFyYfHiVFDvCTySuPvwI2K7Z4Y9AqQnwgh28gh+UWjiteF+6wptd57On7kWkqX MtWtkhhdYPUuDVpOXo1+jPxfr6dS++MtbPqqNI8W+5WeIt3EjuvVRyKo5f9p4rAFBcWvOS 6nnlLUoDSBozqb5wZN4U/XpXx+NZybKPCUehZ2L3fp6hrpEBo+Ahbnvmgu2z+x/0J6qoCH Shev/diVLPD026KqHmQQtFBcdAXw8SHxZY/4XpIv2rLjUnjl1ryTBTTOVWCK2IUnTgSnbM xDg+nL0dmibB9qRNTQViN4ZpmQUkBeXJtAFPbzNqmw4mBge8draPc9n2VJe5sQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728917667; a=rsa-sha256; cv=none; b=upGCLrhpHwCSordFTE9vkpdYFaOiYum8Hs4JTkHiF5Q0DZ2FktIje1J+5M8LIHE+tBmxHM +q6zKuCzDvG6caAGOAq2O3cejVkvbuhHZ5sBHh1M1v3F0qnusgW89xoqjcGCm0A51semv0 2SqmywkljL6dx3hDE7JwJQDJm7lMDPQQ+nUzhOmJZAgtHEPOTAFY+rl2hUlXnHnJcOSabU zfbg6n4PJsAF4elpUkyTo7ryW79MXuKpE9igo0OVBZ0B8S9xsQY9LifCGFELGOWPdU3l9d ZRS5FkO3SO9rv7KCeRBLASwLQlQ64zj+WjEDBlpoj8x206VK8tlG6oK2aboJUw== 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 4XS0cg31HQzj2k for ; Mon, 14 Oct 2024 14:54:27 +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 49EEsRLV064220 for ; Mon, 14 Oct 2024 14:54:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49EEsRFp064219 for net@FreeBSD.org; Mon, 14 Oct 2024 14:54:27 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 256850] poor mac address distribution for if_tap Date: Mon, 14 Oct 2024 14:54:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ronald@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@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: 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=3D256850 Ronald Klop changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ronald@FreeBSD.org --- Comment #1 from Ronald Klop --- I can reproduce this on 14.1/amd64. But not on 14.1/aarch64. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Oct 15 02:01:14 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 4XSHQ34JgMz5NflT for ; Tue, 15 Oct 2024 02:01:15 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSHQ33BYyz4MqJ for ; Tue, 15 Oct 2024 02:01:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728957675; 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=LidCAOYJJg44upjLPOkDtIVaqacVE8rtra0AtLZNHCM=; b=HmL+TZfrIGCORSKkB6TUQ2x2twjKNqIk8aDNTUlAjtseYGKa4kYEcV7PWucuCiOwuLM8qN 21GSs/jRV9HhNw+Vl2fUaXr0OWjfp+xKJfZrkhjvk64nmfEXVsSz51Sv2smDenO7t78GSg W3xeebWteTabxJROu55B/e/lhFdn6eS/ddXQCIYRFhJ9+JGMxJq9R6PmrxMyFLE9e1SGdm gIhq7C38OMTkvNb/Qc4vGijAQK8QMyPwZmlBQGjHfF4qEob7Qr1z763YNiUsUgQGQeqcLE jGhjkGGqqMWbCWxGYPeRUVh6M6UrxOLLTSfFjfJ8ml7SfN0pMpB0jWWntd1a5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728957675; a=rsa-sha256; cv=none; b=ungQdEnk9PuhFbmooSrP+DXvrid73zlcBEeTC8KTXkhCjGEJjwpDKIPcyCC7kiYXTEhrh5 2GI/nDV/C9QhDXeBhRsKAJU54/0Eczxx11bCtbcRQo601qxdgMcT/z9TrlNmoN6ad2zML9 qwHw+Pgru8u5duGGczRtn3HyPuUcJsy5qM4LcXDoUby5bL5qKb/KeR7l2UJEU76KiHKjln 33USBbBtPUdgrnVrRio9F3GHUisskpMyt7v3jBZgjRLwV5AvOAKCQmEM01oSu/wTFeqL3g 4vKIouzJ+pSyxaAVfQWQwPwItdgxpGfbWL3oqeezps67DjeovzZ8CvjFMCRbUw== 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 4XSHQ32nYQz12qd for ; Tue, 15 Oct 2024 02:01:15 +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 49F21FWp033184 for ; Tue, 15 Oct 2024 02:01:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F21FwB033183 for net@FreeBSD.org; Tue, 15 Oct 2024 02:01:15 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 219918] LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT) Date: Tue, 15 Oct 2024 02:01:14 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: damjan.jov@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete cc attachments.created 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=3D219918 Damjan Jovanovic changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #253607|0 |1 is obsolete| | CC| |damjan.jov@gmail.com --- Comment #8 from Damjan Jovanovic --- Created attachment 254238 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D254238&action= =3Dedit Version 4 of the patch New version of the patch. This version adds a flag, PKT_ALIAS_ENDPOINT_INDEPENDENT_MAPPING (maybe we should use a shorter name, like PKT_ALIAS_FULL_CONE_NAT?), which can be used to turn endpoint-independ= ent mapping on and off. It is currently on by default, for better compatibility with the RFC and applications. It also adds documentation to the header file and man page, and wraps lines at 80 characters. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 02:28:31 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 4XSJ1X6hn0z5NhmW for ; Tue, 15 Oct 2024 02:28:32 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSJ1X5djWz4Q6Y for ; Tue, 15 Oct 2024 02:28:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728959312; 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=3Sxw7Cerfkjxo48Pb+09d19qgfqI2cI33m5iM8J463g=; b=ifl48YSTbaAjFxQlygSH4oQzB3HrqpnvvRIg8JwKEq0oq3jHE1LZY1FhTFJNynDfT4uKeo TAvSL9gtLfLbntw1lYvnTWP4tR4bAouaDX8zMSWkVVNHR/uzcqNuDGE/YjzsLDfrWSbBty viscKv0DjxHOkvVkRZoqhhAqXzR17ttH4HHvnZcYLGlwXqrP7Z3gG/ySikcckDNUCf1hJ1 8jGiRXm7G/giZbeu7Aqm3QsAfKpoR4N78RQcr7AXaccnULNN/PSnS3iqL65h7TtMVEKUbL HKwgZLS7DQc5jhzeBPjuMOJlaBOGPNly2AoXG3RQHg3IeU+pyj4KEUJy69CsnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728959312; a=rsa-sha256; cv=none; b=LLeO4JGQBDF5ZXbMBsM5r5jAhVFYQtFPAoBhnFDT6c0M7H8ynStICkZm0jG8EMKS5lL71H ++JsJvvXfNiZ2GR7c04FeIs0eLfnlE9JuUWudU/DvvN7OJCPBFCSUqBpka8Rde4sXIlHgf l8svu2dxIDctjaa778sHzxOG/4wgGjhvMhfys9hwkT0xlesdrvmMXTCn/FIcl1cuj77CDp R9t8XOOWJhYm1dPN9WvAAGnovYEXmC8GsIhCsDJivQ4NTtWNj7/ks2+5erfNswqgLZWfLm 2WoRkfOlOg7Ljy/rLkCGJ9q3j52LoUZktjcbCKwmXtJWPfCM5Hg/9EJ/ro6jEQ== 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 4XSJ1X55snz13PW for ; Tue, 15 Oct 2024 02:28:32 +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 49F2SWAx082229 for ; Tue, 15 Oct 2024 02:28:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F2SWkk082228 for net@FreeBSD.org; Tue, 15 Oct 2024 02:28:32 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 256850] poor mac address distribution for if_tap Date: Tue, 15 Oct 2024 02:28:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc see_also 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=3D256850 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 683 | |05 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Oct 15 02:28:31 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 4XSJ1Y6JfXz5NhYx for ; Tue, 15 Oct 2024 02:28:33 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSJ1Y3KTnz4Q6Z for ; Tue, 15 Oct 2024 02:28:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728959313; 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=1HV+az0mxqld18kHXYeWcBfRDTOpFMNiAblHxRjeOGI=; b=plDwXgumziuLEV31iy5DbQGLsFPw3b+iC1Fm2AUp3VbKyVcI4zkfKYZZgTpn0D1/8xdgi5 h40xzcnXHhAJBnE0r6Pezt7JOrfpygDZAyYV73mBR06dFjQ7HBjTeeohxO0w9JHrqns9iP DTfSlfiXydlF0N8y54bsXOFEMrKovZmiNnbC7Q2E1RpU9IZjFWa+HOFENazIhIMkhRxg7O M2GBbbJ4ILShlePqSeADo3zSQHPe9zDzhfGy1OBykZi785vdAnFQXPvLy1LQqo3B6Hu5Ig yYmh7cmuqoH+vCzlfU5lF5SyKhEPae3flOEmY4pVUJuQNxUysOPa8s77cM3fMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728959313; a=rsa-sha256; cv=none; b=k4sCVa3X+EMXNF/EwQxi7ufmgD1WSFVKiKLQM5xqNQILbgYEu9ltzMviZLYP15FsllXQH7 6hsH2aibwQgQ5mplEBactAktpj8z54+rIYIMKtJPrDRkDn48hoWWlsS1W2PEibpt4jf8zV jlNPVFzzgtm3YsxwrG9mW3zXqjAt46G20QNXxqgRqKatC6itKac24ilNefuBCoktJ97bui 11XQGafz5/s03E9IpDHBAkf92Gydg4cotcOZBjO/CcOdBKieOBobbBL5uaF82g7abeZJ0A OJNsuQ/h65YybawwC1VaDoyVK1Mg67sytXCg+jM1cv0HfGWMiCO8VVsj5x6X2w== 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 4XSJ1Y1YxCz13rT for ; Tue, 15 Oct 2024 02:28:33 +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 49F2SXFi082254 for ; Tue, 15 Oct 2024 02:28:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F2SXkH082253 for net@FreeBSD.org; Tue, 15 Oct 2024 02:28:33 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 268305] ether_gen_addr() uses wrong OUI range Date: Tue, 15 Oct 2024 02:28:31 +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: 13.1-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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=3D268305 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 568 | |50 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 02:41:11 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 4XSJJ75XJkz5NjT7 for ; Tue, 15 Oct 2024 02:41:11 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSJJ73qrFz4Rt1 for ; Tue, 15 Oct 2024 02:41:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728960071; 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=PPpK3zud9t0eUeqjCHXEIsm/Fj2SWnqjO5MfI/peLRM=; b=bEQHFtbJX0IrQRqkDmZ0sjamyS8d7VbU9v+6AvUJX0CTRPmYsbI14NK2KuKU3cDzs5DLxU /rvoebc8TXUn4/iU6cCJ5MtOTVWnq5z69i8A6OEM+fI0Nmqf3AO4fRQR6TtJ+aU9e/+BSC 3NXs0GyNLXSwQZsFVjRv8bx9Aa9ul3u03/yG/0c/Tr0dGf/oTn4rVuFflW0IQeMuC9BZAZ aBYGHJRdbHJ9eqDMUVwPePOCa5tEyGpY+77lmJkIIfZBvKEGPRuz9bbj+nCtyJ1cOzK+Oo wVH/kSMh877RYm3gm+xlBRJtkPeWMRk2UJzS75dXe47QL+LSA4SdDsb7XW6aFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728960071; a=rsa-sha256; cv=none; b=viEZG6Eg3dD57uZvd8gsMJ3OjX5yeZtru+PsMy4DNejPwrjqH9h6abqEAT71cLVT1Q8RVf V2BhKq/wjsJwy6YgGLBz9ynUX7V1X2wEpXBZDAxHxlDvGIp9K/JQ/QTJ75ewYnbpMQ5ohy SPqS24oSG2zg0PaWH09OuKLpvm2F8Zjlf5UopVyPqy2EjfodPdNI+h5CZ2TlOTPqJrWpxP CRRWOK9fgEU/vGEmQd0+Rkntg2SEw9trtlvxoe0abAhUh3ZKUVIN/cuZ9YFl+Fz/z8H4U/ BYwfDrASHG7RyEsWop7YmLCBEnUpS/3EsbfTyNmw2mnrAARtfG3ZQAB9TT3afA== 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 4XSJJ73Rnsz14HM for ; Tue, 15 Oct 2024 02:41:11 +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 49F2fBOY000695 for ; Tue, 15 Oct 2024 02:41:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F2fBRc000694 for net@FreeBSD.org; Tue, 15 Oct 2024 02:41:11 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 219918] LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT) Date: Tue, 15 Oct 2024 02:41:11 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open 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=3D219918 --- Comment #9 from Ed Maste --- > PKT_ALIAS_FULL_CONE_NAT "Full Cone" is an unfortunate name. If we want a short name let's use EIM_N= AT. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 02:48:56 2024 X-Original-To: freebsd-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 4XSJTM0rH4z5NkJR for ; Tue, 15 Oct 2024 02:49:11 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4XSJTK66Xtz4SSR for ; Tue, 15 Oct 2024 02:49:09 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=vc38O8Tf; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=WJxjT2NP; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.147 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 412F91380604 for ; Mon, 14 Oct 2024 22:49:09 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Mon, 14 Oct 2024 22:49:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1728960549; x=1729046949; bh=z90uHGZrn+ oRQf+lqyZrkOs8ZvuM0rPj17ZUolSOcJM=; b=vc38O8TfNCLDj0bDHCDNQAjO6i m6oD4t5HiIP6oIdIhAdQEUsOFvfHdrGqU9FL0GpNBcTSi/kXW10PVmknHWHza5PF 9yWVUu/mQ17qeWgaH1OYzDFpOtNXE989fiE8+xjVTm7ws42A2WHWURrfIRM9Zu32 el3RYwT0UNZYcqSlP2SD+kfoeEdxwUgLFrXMyThPmtba2pnv4k+tj3V4KUVFOncv cyp8sX00Y/WnOm1Qjf6y1Rt5sfnUaezRwT8jOQo0mTKTtKpQt6gUJ7nF2FEKw1nI OA9ORIFxQ4Yp1ZLC+mNHuf3/pHZ56AXoiUQJ9me4vzlZmbRsuDQ9Lr+BH2jQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728960549; x=1729046949; bh=z90uHGZrn+oRQf+lqyZrkOs8ZvuM 0rPj17ZUolSOcJM=; b=WJxjT2NPOtFWBbh0ATeJOXQK7sJiAdSEJZrZCW6zOx5c XdB70Hvpt32DBxbOU7dhmV/yUNWSONiCn2X19HKN4nmd00hciFLGoltUuYDFG1yV m/0aZVC1/MZIUxiDmaIVYb0GUy86tgtk4NyaQ9bau3PxmBWrsPaOM/0m8KvHQ2TI Eo7Zho9FeienMCemG5RybfIquTNywW8CyQZ0HdENnqennFT6N2xj4dB/8s9QTod1 NzIP6sPl7KoxEN6YG5vZALrKlAvpH6fUTon5IGdVVSgtemeD1M4sglOs2OjFxjQ4 SeZfsfPRbhA3okuFDemvG4ZobHNufAkSQrW5KMhDWQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegiedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnhepleevvefhheeffeffheefffekvedvfffgtdffje fhfedvgeelveevudejjeejleehnecuffhomhgrihhnpehushgvrhdrfhhmnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhhoihgusehfqdhmrd hfmhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohep fhhrvggvsghsugdqnhgvthesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 14 Oct 2024 22:49:08 -0400 (EDT) Date: Tue, 15 Oct 2024 03:48:56 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> X-Spamd-Result: default: False [-3.59 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.147:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[103.168.172.147:from]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XSJTK66Xtz4SSR X-Spamd-Bar: --- On Thu, Sep 12, 2024 at 06:16:18PM +0100, Sad Clouds wrote: >Hi, I'm using FreeBSD-14.1 and on this particular system I only have a >single physical network interface, so I followed instructions for >networking vnet jails via epair and bridge, e.g. (snip) >The issue is bulk TCP performance throughput between this jail and the >host is quite poor, with one CPU spinning 100% in kernel and others >sitting mostly idle. > >It seems there is some lock contention somewhere, but I'm not sure if >this is around vnet, epair or bridge subsystems. Are there >other alternatives for vnet jails? Can anyone recommend specific >deployment scenarios? I've seen references to netgraph which could be >used with jails. Does it have better performance and scalability and >could replace epair and bridge combination? I've noticed bandwidth problems in virtualised adapters, too. I ran some simple tests and put the results here: http://void.f-m.fm.user.fm/bhyve-virtio-testing.html My own context here is bhyve vms. Linux guests greatly out-perform FreeBSD ones and I'm trying to find out why, if it's a tunable that needs tuning, if it's a fault with bge0, how it could be fixed. It's interesting to me that you see similar effects in quite a different context. I'm using bridge and tap interfaces and within the (freebsd) vms the interface is vtnet0. So maybe there's something amiss or needs tuning on these virtual interfaces? The bhyve host gets line speeds after accounting for tcp/ip overhead, as expected. It's just the vms. I've read that linux doesn't "epoll" something like that but I don't know much of anything about linux. Clearly it's doing something different with its own virtualised adapter, internally. -- From nobody Tue Oct 15 03:12:20 2024 X-Original-To: freebsd-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 4XSK0700hXz5Nlg7 for ; Tue, 15 Oct 2024 03:12:23 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSK063Jzxz4WWs for ; Tue, 15 Oct 2024 03:12:22 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=QG19xLz6; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=pe5PVqiR; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.147 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id 51974138069A for ; Mon, 14 Oct 2024 23:12:22 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Mon, 14 Oct 2024 23:12:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1728961942; x=1729048342; bh=5AOOYWq/Py Zkp1tcBPCEhrZhASCfFINJ2Pnm2SVSm3A=; b=QG19xLz6Peb3JOEH3sAxOgBflE kS0Pcymz8QhMhcfvbnME0ZrBfsqhhvafYalEm2+90Gj2BviWW/oT+prJ1xEQa/E6 RZXyM6BtHy5nlyKJ/Fhztj86+52lkbzhfVrlSwlfhXQvdo0ncQAYGSpJUrhJ4GBx qbmu/K83uACxXTedZFQ/OdDfezbjTIWFFaw148Ajpke9y3T8Ft8ZdEMbWLTGSX/5 sxcyRXLwx7o9TVKV2OZXWCu38NGht2Ms7pavIy7BqtKnGR9iFEX/NcrHv4zQ2Qzc ePk2ENoQhLLxHWtSPe2sussCgyFc1iRta6/vp4jP5N2g28upib07YiygMxEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728961942; x=1729048342; bh=5AOOYWq/PyZkp1tcBPCEhrZhASCf FINJ2Pnm2SVSm3A=; b=pe5PVqiRZc/9Kc+yolVH1DaM45nKRo2QFZngL2TYaX7u Xqlohsykh7VIJSPhPNWD3LcVy20UCl33CS9qIKxGCAR3FhtiD5d+NTyTwC28ZL37 UJM82DcfKemZB3vJxQOXPc3BEkv86Ujk7h4FZXJn0lOihv08yNWKc78Rx3syOkER llzlaMsgVSw9+rVTiFrRdKkf8PPNcZjWRxGahvmlVH3RISxRXHQCWrdjxCU++YoU nlYlKENyY9fsLrxOqJBnkxo4ACPiUlisFJEYcnyBjTzfyO4St/rKEQfKsAZ/gsb4 Mm4rGTnPSV2SxOitgH8aDx0yFa6AYKbnAe3ekYf3Xg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegiedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgf dugfdvgeekjeejuddtheehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepvhhoihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghsugdqnhgvthesfhhrvggv sghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 14 Oct 2024 23:12:21 -0400 (EDT) Date: Tue, 15 Oct 2024 04:12:20 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.60 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27:c]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.147:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[103.168.172.147:from]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XSK063Jzxz4WWs X-Spamd-Bar: --- On Tue, Oct 15, 2024 at 03:48:56AM +0100, void wrote: (snip) main-n272915-c87b3f0006be GENERIC-NODEBUG with tcp_rack_load="YES" in /boot/loader.conf and in /etc/sysctl.conf: # # network net.inet.tcp.functions_default=rack net.pf.request_maxcount=400000 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 kern.ipc.somaxconn=8192 kern.ipc.maxsockbuf=4737024 # gets [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-60.08 sec 5.06 GBytes 724 Mbits/sec 428 sender [ 5] 0.00-60.08 sec 5.06 GBytes 724 Mbits/sec receiver in iperf3 testing (iperf3 --time 60) which is nearly 77% of the bitrate result on hardware. -- From nobody Tue Oct 15 04:40:15 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 4XSLxX2dc6z5NsZD for ; Tue, 15 Oct 2024 04:40:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSLxW72dRz4fPT for ; Tue, 15 Oct 2024 04:40:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728967216; 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=I4KmYQuj/phsyLt3mdQ1k/xWIXiNdt7TdPi/qW6N7TY=; b=NdzAVFM+K7m0xgG/awq6yAqk1TyDqPNEiTfBhPkX8XcmALGGm00NWBPHmNrloeUQZ0eONc 6XzWY7U/O6Mec4B+ps5Wc4NiVNYh3jGr806wYflYZiaTWnhVhgs5gh7TGugJlAM7X33FAo YppnlC13D8xcCBZhZkzO2uGdsZ2O8zujoIK/pAW2B7fAOLW8IYpa2CxoMSdBtpVZF+1HIh Qj92/F1uaaw6GaLfy+ls9EQeOMP3/pND3dtVTYB45VWUFd8hwzlBhH8mIIx7svQ3QIl6h5 giVV+orMnbkJnrHp8cZHP5rUQQF61Uj0H2IURr5z/eAcoeiHrZFmNMTK5gUjww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728967216; a=rsa-sha256; cv=none; b=Mv9yUJNOFrChHq1MN6flxhvfzF/PwrGyAcGVDxUddgYPEj+Ll/1/N/WkHZEZ+DGkbgoVC8 Lo5WdxENkTEL3r4Dqg8d+iYzSVUtVoP1FbBu8xs0/yJ9eWeIofRgYgFA5yp4sAGMbje1UH M4uN+06Yu2FIUJCrzok3O4DiFsE6gl5CVoqVY9fIH0tQ8SGO7mxfHKxD2js7/6xZ2AIJVw SWuvKNopr6ljRfjy2usQIei0ln0CFMvQIWUibU6qavAGaTSJ5IlDHT79i4rwmQMKn87WX5 UpupFtA9JC1NhYCS4jBT144GKMOikaTZruysm5B955UxPIWRGmjGnzcvIr1Ncg== 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 4XSLxW6fTcz174k for ; Tue, 15 Oct 2024 04:40:15 +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 49F4eFV0000775 for ; Tue, 15 Oct 2024 04:40:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F4eF6M000774 for net@FreeBSD.org; Tue, 15 Oct 2024 04:40:15 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 282095] enic breaks when changing MTU on interfaces with fib other than 0 Date: Tue, 15 Oct 2024 04:40:15 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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=3D282095 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 05:29:50 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 4XSN2l0Q3Xz5YLM1 for ; Tue, 15 Oct 2024 05:29:51 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSN2k5lYLz4l5L for ; Tue, 15 Oct 2024 05:29:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728970190; 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=yg7btEmQC1EIUjGPRTP+SUjChAPq5MAqD9resZVwfBQ=; b=VJ58fp/cb8kXhaTfrYWdkpSYVQKJJJeQQWeK0ctzOTpnwyP1iTPqyygdF0UFa/qF5rIaUq UHNVECpd2E9qbWL/I6kwTHpKWgQJgh0Ut30HJ+FmJXjzcH4ZcbxJ3Ip99S/EqcJpq7TSO7 wkQeeCWUjqooD48GrYtrtBVK5cqkduRZXVEHs/PiBy3YkuKnPzaCpFmY7+4gOzHbAXsPCH r5CShCBLgY9iMfsEJQTcJXUA6KR+rKDRIRFBJpQGjzeUrPXguY+uuVUgYud1kEHi/nJabs 6vxmonjSbB3MOIzjAYNxVeEC0C3m9AMxlX6QWYhh1JbvodlCPYcMo/+i9qh3ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728970190; a=rsa-sha256; cv=none; b=UnIbVBdUWn8k5TNIZ4LNTnnY4Ww4v1Ov2wolN339QKr7IF7Dz0r3rwvq+e47mwj1AvfQee l/oPOwoEc9oSmEZ5Y+aIh10v4V6vsypKGh1FxXaTen23CWYeuTKGhw7D1TMIE6GX50yCxl +IPdL4HLRQuwndhEeAJgp0SvXjO9gXc+BDXDs4BwpwCXNQfnIlTHFOpWuwkISZYw7Ijg9A Moqgy7APk6qB6gunpKH+Frvm2ikHvoscN2/IRZBEF7jJn1DRDkLFHZRNdqqqbRROkvPHUp tBH9zkzG4D+FIbBQ5CYc5sVviYPL93G/PeVwDhkkXbhG6vJNoG09T7ijVMHELQ== 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 4XSN2k5DwSz18NV for ; Tue, 15 Oct 2024 05:29:50 +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 49F5ToZ3077779 for ; Tue, 15 Oct 2024 05:29:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F5TorF077778 for net@FreeBSD.org; Tue, 15 Oct 2024 05:29:50 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 219918] LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT) Date: Tue, 15 Oct 2024 05:29:50 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pi@FreeBSD.org X-Bugzilla-Status: Open 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=3D219918 --- Comment #10 from Kurt Jaeger --- (In reply to Ed Maste from comment #9) I'm no english speaker, so: what's wrong with full cone ? And what does EIM stand for ? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 06:59:24 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 4XSQ251lKxz5YSFj for ; Tue, 15 Oct 2024 06:59:25 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSQ250jlQz3xhy for ; Tue, 15 Oct 2024 06:59:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728975565; 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=FESL0PBTY1S1Ld3OWfs8uG1vZ5v8YfqpMUQS64xdaKE=; b=UOavRdTZlFVpPJavyBNipX3KemAnJ9WNy7Z46o1xd8R+TvADimWMKE+uFVBrxr+jJ0j1+x 2zrPR2h7JZXhDLk0cjEtoasx823f52eo7yuIboZOLBeMVC+bljs2MMDyH00tojtq1LMNsG GrtJ6Oo241Pgy0wN11u/vfinUiI4olRBbDUq58kxfeCrZ6Upy1ZMq4V+TfKnemIpTnysLl /lXJDpBhhpNuQiij3a/2ybPcy6NFyWL76q6Wn3syRVLNsHuYx4Z8CA6JCN+MArdetRh90s QmVTHwc2JxNMwr3lCB2JZz9VLtphp3Za2kVMsd/1hREVtVXJI0Q4ymqw9EUjNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728975565; a=rsa-sha256; cv=none; b=IP5Mjt9+RUaPdsM0jvIb9NPJL7Sc+4yTQigz67e2UgIQjTgAkrq1e/xUWRKJhOPyBP1F1R g/Y6+k6fOug+uCYKaDtHWCIxyl6+wPMEFnrIlSHswL7nC4MsozosVKnnXYJaRHlekMobZ+ 98d66V8hmb7f5rtC0maPTQ+dOwkZmPICz5O1W2C8DAQaVil9UJlsjxVvzoPc3mHSezoqGx 0exgyCrbD2AuvTaaq+K8fCGVsvSCCMWpcn6Lk65xhiI+dFNZ5nxOBjkHO9e3uzcGkq1jUY pK9RThpaxJcqtE9rfOL+Y3NljkMFP3aGDZs9i4cEe3M42qXseS+2QbTYg45HAg== 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 4XSQ250L2Qz19xP for ; Tue, 15 Oct 2024 06:59:25 +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 49F6xOOK018658 for ; Tue, 15 Oct 2024 06:59:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F6xODo018657 for net@FreeBSD.org; Tue, 15 Oct 2024 06:59:24 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 282095] enic breaks when changing MTU on interfaces with fib other than 0 Date: Tue, 15 Oct 2024 06:59:24 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: 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=3D282095 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #1 from Zhenlei Huang --- I have a two ports Chelsio T520-CR card. With the default MTU 1500, either = TCP or UDP mode iperf3 can easily reach ~9.6Gbps. For UDP the loss rate is also negligible. I think only ~3.7Gb/s for a 10G nic with default MTU 1500 is not reasonable. Well the enic(4) driver was introduced on Feb 6 2023. That is quite new. I moved cxl1 to a separated vnet while doing the benchmark. For multiple fi= bs setup, the result is similar. ``` # jail -ic vnet persist 1 # ifconfig cxl1 vnet 1 # jexec 1 ifconfig cxl1 inet 192.168.99.1/31 # jexec 1 iperf3 -sD # ifconfig cxl0 inet 192.168.99.0/31 # iperf3 -ub0 -c 192.168.99.1 Connecting to host 192.168.99.1, port 5201 [ 5] local 192.168.99.0 port 19631 connected to 192.168.99.1 port 5201 [ ID] Interval Transfer Bitrate Total Datagrams [ 5] 0.00-1.00 sec 1.11 GBytes 9.56 Gbits/sec 819173=20=20 [ 5] 1.00-2.00 sec 1.11 GBytes 9.57 Gbits/sec 819938=20=20 [ 5] 2.00-3.00 sec 1.11 GBytes 9.57 Gbits/sec 819165=20=20 [ 5] 3.00-4.00 sec 1.11 GBytes 9.57 Gbits/sec 819298=20=20 [ 5] 4.00-5.00 sec 1.11 GBytes 9.57 Gbits/sec 819118=20=20 [ 5] 5.00-6.00 sec 1.11 GBytes 9.57 Gbits/sec 818958=20=20 [ 5] 6.00-7.00 sec 1.11 GBytes 9.56 Gbits/sec 818553=20=20 [ 5] 7.00-8.00 sec 1.11 GBytes 9.57 Gbits/sec 819750=20=20 [ 5] 8.00-9.00 sec 1.11 GBytes 9.56 Gbits/sec 818532=20=20 [ 5] 9.00-10.00 sec 1.11 GBytes 9.58 Gbits/sec 819819=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams [ 5] 0.00-10.00 sec 11.1 GBytes 9.57 Gbits/sec 0.000 ms 0/8192304 (= 0%)=20 sender [ 5] 0.00-10.00 sec 11.1 GBytes 9.56 Gbits/sec 0.000 ms 743/8189808 (0.0091%) receiver ``` --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 07:00:49 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 4XSQ3k31mWz5YSPN for ; Tue, 15 Oct 2024 07:00:50 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSQ3k0pZDz3yf5 for ; Tue, 15 Oct 2024 07:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728975650; 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=uRyIk5QaVJe0trk4Q1SJWbSvDWQsn/Qbyy0ew/MHQ0A=; b=srWptjnCF1urRkNCs9lVOKjoogazYk4dGpTInAKixjXhYn4y+70WSFrp3lw7skDYHiYmub P/zeKJOtE/k099Bm88/K/b4WP/gt17hDOkObT9MAXCm4uDww021kTORGw6NXyfK8t1YW+h tmu4mjgM5JPlmrWS7oFwb2oeBvC34yblgZI4ePh1nQ2hS5NXVaexfLU28xJ+ka/F8l2hiV Hhbd7Nmv97GcOvoQn+4vCWGgzDHrIno+7KE9UUe/jpig26xEFFcfI+xoYvc9b/JfUpxAiQ W6gLh0FQba6B/6sXBnl90vh2OwAs0KL4phj7raM3HPf4vYWCBs2bS6Em1d0rBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728975650; a=rsa-sha256; cv=none; b=BJfRt5tMWCMn8IqT33Glx45fxFTR5p5Fi6qn8FcrS0ZY5F3aBIIrIe3A+clyELJ+bETisZ PLZXWyi471hz/DYI1CcFVn8QpCKgkTnYFIJ6UJoWOPku14YolUDGv764DYaRqBKCpQHHF8 qUIZx0Mc7srlc5YyEDYIRpGTJ3kSBPfCN5o0fk4PJxTJuabI9Q/Yui2dx1CpLNQUyN4A52 ZLOY8XYbbLJx2xI0WCg4I/rTYV7tNwOsHwLiqoozaUUZDy/a/x1f8MoaAv9D1lCvk989EK fT8udV7X9aC3Hd30mZVJNcsgaZSuxHmisKOoAwvkfVs28Hek1NtgTdOUWDqMqw== 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 4XSQ3k0GYXz1BZF for ; Tue, 15 Oct 2024 07:00:50 +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 49F70nmq021439 for ; Tue, 15 Oct 2024 07:00:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F70nUM021438 for net@FreeBSD.org; Tue, 15 Oct 2024 07:00:49 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 282095] enic breaks when changing MTU on interfaces with fib other than 0 Date: Tue, 15 Oct 2024 07:00:49 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: 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=3D282095 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ambrisko@FreeBSD.org --- Comment #2 from Zhenlei Huang --- CC the driver author Doug Ambrisko. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 07:05:57 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 4XSQ9d42g7z5YSkj for ; Tue, 15 Oct 2024 07:05:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSQ9d30yqz4160 for ; Tue, 15 Oct 2024 07:05:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728975957; 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=erkpkMc3encboU/ANs4goO/ToqaBCxV3oixJD3SFn10=; b=rbFlz5Ei20Ou2deqvB2iNuGnOrgws0Ed95v/5oyN404vdWh5NQUymH8+0xKdnsGaEaJzSd HV/tzaIsqZxarhkWbgAgcRdrtjwJYGm2C79a/0Rwc66qWUxHFkuf55XKg66JKpur1SzBxX V82awGm1Jap3T5oSqLx9LmgqCyynBlSMGebo3z2DHvl8kxCPRVJsu6+vqNdmBi37o1YwqJ yBCtNKA/qm7FJzZLR0yNr7ZM7X+84llzOhcC59SkyC4n4frh2lrh5Ns1koLRty7BS8C4tY 00K59wvLwVJ8wfzq3oYCQpPNwCMAe28a9yM9wkTKOyZCQoXbdSRKC4Hz29E5lA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728975957; a=rsa-sha256; cv=none; b=njzgYLK3+9v2Ewx9012U5WAtDpYt3b3H1RUrmY9JFU5j7L/6PawYyqE7ntZbIzD6vfEoTV pAAteZb7gVchcAD31GTmMmXi5Lj2/qmkZwfMrUyQWgREixC5xgaftr8XDxqKuuFQGkToOG lKWAKNrIWUBL+GQHitBWtjPJ9yW5gx2XDXIa/8Qr5lD1L4tu6ALiG9byL2fuYI9F5/EThD q4Mcq0aDhVeFHkYksKJNSyZsxNFPIU75AjQgc8ROZ6JlFLKfZ8LnGD5Kryos2kyNvk793/ m+bAKtE42JYz7TjPx0fu6kJ78m8OhiHHnJ5sW06yJNetgg8K6QJZ9AClahgddw== 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 4XSQ9d2VS9z1BHp for ; Tue, 15 Oct 2024 07:05:57 +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 49F75vYR032221 for ; Tue, 15 Oct 2024 07:05:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F75v5M032220 for net@FreeBSD.org; Tue, 15 Oct 2024 07:05:57 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 282095] enic breaks when changing MTU on interfaces with fib other than 0 Date: Tue, 15 Oct 2024 07:05:57 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd-bugzilla@thismonkey.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=3D282095 --- Comment #3 from Scott Aitken --- This driver may have multiple issues, and if required I'll raise another for throughput. To further the troubleshooting of the MTU change issue, I discovered that traffic doesn't completely stop after changing the MTU, however continuous pings with default values results in: # setfib 1 ping 172.12.2.1 PING 172.12.2.1 (172.12.2.1): 56 data bytes 64 bytes from 172.12.2.1: icmp_seq=3D0 ttl=3D64 time=3D24391.545 ms 64 bytes from 172.12.2.1: icmp_seq=3D1 ttl=3D64 time=3D23332.953 ms ^C --- 172.12.2.1 ping statistics --- 31 packets transmitted, 2 packets received, 93.5% packet loss round-trip min/avg/max/stddev =3D 23332.953/23862.249/24391.545/529.296 ms This was with a PCI NIC rather than the MLOM: enic2: port 0x4000-0x407f mem 0xc7010000-0xc7017fff,0xc7018000-0xc7019fff irq 44 at device 0.0 numa-domai= n 0 on pci20 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 13:48:58 2024 X-Original-To: freebsd-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 4XSb7Q3kJYz5Yybw for ; Tue, 15 Oct 2024 13:49:38 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSb7Q1Bzvz4v57 for ; Tue, 15 Oct 2024 13:49:38 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-539f1d96668so270135e87.3 for ; Tue, 15 Oct 2024 06:49:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729000176; x=1729604976; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CuBXQqOztKcjXXhVRtw7rmcRKhZ0dElRRDY6sd8xBOQ=; b=L0oI+Ze1+2GcvWzlUW1zISRyGhOgoJAV5yceHWGwxSgyz7nqG1xaTez4kkHJgpzZOB neDntS6rxs9UIEwncNPsliIgtK3Jzzf2UlDb5M0WeW7seY08+y642+XmsKYw1V8mVQfq bMOrVH6DyTVlJHXAexo7p7ZjXt3j29bQDxvzDWtM1o7VHAJwRzWmsZHrMaeIf+w4LsIb A5YU2GkBKSH8aQaqAGfvjgbp1XUN+EI8IpC6FAwucU4vWjRpkgRiVoWUBGYtxFcWU2db CdUsmLe7II1t6lL5wjt0G19uyiXPNtK6hG0QOT4kQZc6+2pzhWt6pa+nbzIXQq3d4OhV ETjw== X-Gm-Message-State: AOJu0YxqzAieCYBScikLHPDk4SvcI++dHNLUjj6mHAu5FnBM/w3GbSkT VdUid5H3rsgxGvEgHdlY6ozzKVnZNgOqOF1DpIGKc6ovgj7xBrGubG3mKvp8 X-Google-Smtp-Source: AGHT+IGrQd3HB8dfRaSd9CEo7rJQLROi4kLJ6P+bIbAW+osOQv5if/FZqWMdeZXbf8KZT4KqKR5oyw== X-Received: by 2002:a05:6512:3090:b0:539:a353:2762 with SMTP id 2adb3069b0e04-539da22e80fmr2303673e87.0.1729000175558; Tue, 15 Oct 2024 06:49:35 -0700 (PDT) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com. [209.85.167.44]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53a000134afsm174951e87.263.2024.10.15.06.49.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Oct 2024 06:49:35 -0700 (PDT) Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-539ea686fd7so380685e87.2 for ; Tue, 15 Oct 2024 06:49:35 -0700 (PDT) X-Received: by 2002:a2e:bd89:0:b0:2f7:5c24:979 with SMTP id 38308e7fff4ca-2fb329dedc1mr21560431fa.10.1729000175133; Tue, 15 Oct 2024 06:49:35 -0700 (PDT) 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 References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> In-Reply-To: From: Cheng Cui Date: Tue, 15 Oct 2024 09:48:58 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Performance issues with vnet jails + epair + bridge To: void Cc: freebsd-net@freebsd.org Content-Type: multipart/alternative; boundary="0000000000004179a106248439e2" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4XSb7Q1Bzvz4v57 X-Spamd-Bar: ---- --0000000000004179a106248439e2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am not sure if you are using FreeBSD15-CURRENT for testing in VMs. But given your iperf3 test result has retransmissions, if you can try, ther= e is a recent VM friendly improvement from TCP congestion control CUBIC. commit ee45061051715be4704ba22d2fcd1c373e29079d Author: Cheng Cui Date: Thu Sep 5 14:52:57 2024 -0400 cc_cubic: use newreno to emulate AIMD in TCP-friendly region Reviewed by: rscheff, tuexen Differential Revision: https://reviews.freebsd.org/D46546 cc On Mon, Oct 14, 2024 at 11:12=E2=80=AFPM void wrote: > On Tue, Oct 15, 2024 at 03:48:56AM +0100, void wrote: > > (snip) > > main-n272915-c87b3f0006be GENERIC-NODEBUG with > tcp_rack_load=3D"YES" in /boot/loader.conf and in /etc/sysctl.conf: > > # > # network > net.inet.tcp.functions_default=3Drack > net.pf.request_maxcount=3D400000 > net.local.stream.recvspace=3D65536 > net.local.stream.sendspace=3D65536 > kern.ipc.somaxconn=3D8192 > kern.ipc.maxsockbuf=3D4737024 > # > > gets > > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-60.08 sec 5.06 GBytes 724 Mbits/sec 428 > sender > [ 5] 0.00-60.08 sec 5.06 GBytes 724 Mbits/sec > receiver > > in iperf3 testing (iperf3 --time 60) which is nearly 77% of the > bitrate result on hardware. > -- > > --=20 Best Regards, Cheng Cui --0000000000004179a106248439e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am not sure if you are using FreeBSD15-= CURRENT for testing in VMs.
But given your iperf3 test result has= retransmissions, if you can try, there
is a recent VM friendly i= mprovement from TCP congestion control CUBIC.

commit ee45061051715be4704ba22d2fcd1c373e29079d

Author: Cheng Cui <cc@FreeBSD.org= >

Date: =C2=A0 Thu S= ep 5 14:52:57 2024 -0400


=C2=A0 =C2=A0 cc_c= ubic: use newreno to emulate AIMD in TCP-friendly region

=C2=A0=C2= =A0 =C2=A0

=C2=A0 =C2=A0 Revi= ewed by: rscheff, tuexen

=C2=A0 =C2=A0 Diff= erential Revision: https://r= eviews.freebsd.org/D46546


cc

On Mon, Oct 1= 4, 2024 at 11:12=E2=80=AFPM void <void@f-= m.fm> wrote:
On Tue, Oct 15, 2024 at 03:48= :56AM +0100, void wrote:

(snip)

main-n272915-c87b3f0006be GENERIC-NODEBUG with
tcp_rack_load=3D"YES" in /boot/loader.conf and in /etc/sysctl.con= f:

#
# network
net.inet.tcp.functions_default=3Drack
net.pf.request_maxcount=3D400000
net.local.stream.recvspace=3D65536
net.local.stream.sendspace=3D65536
kern.ipc.somaxconn=3D8192
kern.ipc.maxsockbuf=3D4737024
#

gets

[ ID] Interval=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Transfer=C2=A0 =C2= =A0 =C2=A0Bitrate=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Retr
[=C2=A0 5]=C2=A0 =C2=A00.00-60.08=C2=A0 sec=C2=A0 5.06 GBytes=C2=A0 =C2=A07= 24 Mbits/sec=C2=A0 428=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sende= r
[=C2=A0 5]=C2=A0 =C2=A00.00-60.08=C2=A0 sec=C2=A0 5.06 GBytes=C2=A0 =C2=A07= 24 Mbits/sec=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = receiver

in iperf3 testing (iperf3 --time 60) which is nearly 77% of the
bitrate result on hardware.
--



--
Best Regards,
Cheng Cui
--0000000000004179a106248439e2-- From nobody Tue Oct 15 13:55:56 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 4XSbGh5K6tz5YyTw for ; Tue, 15 Oct 2024 13:55:56 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSbGh3JRTz3xLk for ; Tue, 15 Oct 2024 13:55:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729000556; 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=rIqAgX/xR4c21TfyPPL6IaRFWKTkqpgm8qyjttu+XGU=; b=NOa9zo850xg+jjqASdWUvyyHLEIPzQPNr2zmXPrg7KG/SfDLWSMDqysl6qw9VjOF54QNJQ 0S/F0zZ3STLA6e/jKR853cFHB66zOeXrDlTGUcU+PJV5Mf7Ri9BDPHgwWBW1mItFQtHkPo Jz8r9V/VGQ2lnspXIM/5xBo6hdmE7wYFmnPNppgno/hBrFbR9SkqBQ6OEHSOUQkA1xSw1w R2F13yzP9JvwWzxp3r+FIAX3NdqunnbdkhLuCjI8YrV2Hv3g6cCTKd6ea5wq8V5FOF5Owo jsqlGCoOBGLYYxBYJ4bk7xyTZwTbvDjR9kDuEhNmktkSv+IdPuea/Gnoa2R+ZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729000556; a=rsa-sha256; cv=none; b=BufBnbK2xIFXGh8s/7mDV3+fevIViqKTR7ixIQVYcofKznk3E19Z0plfI7rkUEBqNobUD/ nJKlXCnD2+Rmqt65XMmGj8eNmrJfoa/AUYrd6uktaZGFMMkcB53p2wIG7PyN3PB5bAW8/E YEkcTzkUgSpn7xbmIHd2XgqMoSQqmF5XFWd5ZtkeHTfPdlxIjXaYc4uD54VptaARIEefZ4 ABAtlJbYKvEtxV9xFzMJBhjpc6tfZL6IKi9Gelic66cMMtvQOu7GX3so1XF6ogKXCKScm8 MgLnQgWoXEmkKHOsYIYsCgUly6K9slIo/xOlKBeX4RT+j4dmASs2YEJVinnP/w== 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 4XSbGh2vH2zPj4 for ; Tue, 15 Oct 2024 13:55:56 +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 49FDtuEX080304 for ; Tue, 15 Oct 2024 13:55:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FDtuI3080303 for net@FreeBSD.org; Tue, 15 Oct 2024 13:55:56 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 282095] enic breaks when changing MTU on interfaces with fib other than 0 Date: Tue, 15 Oct 2024 13:55:56 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd-bugzilla@thismonkey.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=3D282095 --- Comment #4 from Scott Aitken --- (In reply to Zhenlei Huang from comment #1) Same result using jails as you show (instead of multiple fibs in my first scenario). Pings work find until MTU is changed, then nothing until a rebo= ot. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 14:50:17 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 4XScTP582nz5Z2X7 for ; Tue, 15 Oct 2024 14:50:17 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XScTP3qJ4z43Fw for ; Tue, 15 Oct 2024 14:50:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729003817; 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=H/u3JZdO4UJQjw4L83SqfKba9lFNqLC8nLtUpfWIegI=; b=HdDEoXiMqRwSqoEMtMgQJe8CNHKFTAidJYUR+UmTByG8gBGGMlW9k99GYGhUisQxSZnzsF zeWmDWOf0KFYPD/GVYqZg5pD/28lhbXfObWC2WGFheN6lfACMRyKhM0pAUio9/WAHZDi6+ z4MTYxMWf37pLh6YGkbjIDulmSgpOhr3Dw4aB6pUkuDRoc0r4HXihDeSGOPiFFJZEOsLxF K2NrUT/wF8VJRvei4bf0t5xvsRyiczh2DgAfp+mvIlBdy1RW5IV1C1pBLmOaLsmbt30yDZ roO022oYzj8ag29b0iWuBpjXn3dQ0fCanGOcf6vIZTo/aYiwAYi0oXzhSJhJbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729003817; a=rsa-sha256; cv=none; b=yjX2Resqyify/+sXMcwB/Fz2V2CGvIHIKUd5zvVPR6CMJXssXcd6kzrCCzvzL/dlzIE0VC 8JK42uw5TpoFZaXEYFVeHmRyMWcULu8GvSEb8JuMpFWd682Hetjfhei3wIrRnC0Am2XmiI /qruv6WdUEOy/1R1H4xann/kup8H+uL1fYt2FsASGx/QQ+i39t6AHz+e49BXO38dH+z8P2 thOZz3tfAFWIF0SAPqANNkNQN2ZhYyoG+KnGoCCUUIB7qdKBTPQEGq7qGjzQHL7Fle5MzE rhpnYQWcWN6F2q4ZbOCmYOyZCWMxD3ijmhujU+mB9dCVGkoyqVCFPONhX6Rt9g== 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 4XScTP3KBrzR1W for ; Tue, 15 Oct 2024 14:50:17 +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 49FEoHR3069139 for ; Tue, 15 Oct 2024 14:50:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FEoH8m069138 for net@FreeBSD.org; Tue, 15 Oct 2024 14:50:17 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 219918] LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT) Date: Tue, 15 Oct 2024 14:50:17 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open 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=3D219918 --- Comment #11 from Ed Maste --- (In reply to Kurt Jaeger from comment #10) EIM is Endpoint Independent Mapping, an abbreviation of the flag mentioned = in comment #8. I'd suggest avoiding "Full Cone" for the same reason as in RFC4= 787. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 15:12:46 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 4XSczM632Pz5YYr1 for ; Tue, 15 Oct 2024 15:12:47 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSczM4tc3z4FBj for ; Tue, 15 Oct 2024 15:12:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729005167; 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=XwSIwkPCxT+Ezo+DyX1lMjZB05PfiCv7p1tB43ZpH/Y=; b=wqo0TauZg6GqJpEl8zAEv8i+tiR+OPqYwY77oaBTawMc21Kb6ZzYtCSWNK3zv8eKpz9L79 mnf44tgoYGXzCIWPl9O5r/In/ySzGojbGx44zq33lDPGUrJMPEkgvyvPN5aFUan0k2RTqo Pumuk6NZasXuYOVGThyI/R/d8FsS8jbEqzQs8P/I5s4p+eBXWnFY8ad5kHskbhCWltHqvK tRSgls7GwUVD2Ji4wK6g+P7YeOWFyv5bLjtBVNKPzs4KSbmK34KgJqNYErg0MMUuh0gV1M aO12QPPtPh0i5XCRRnOfFWiy3wtgfE7hoIg9E5ckKkcJA/ihNUkLPG3u3XOjMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729005167; a=rsa-sha256; cv=none; b=fbBi/ZPH0KP6B2awrvDYV+YNsFh5L9De6EMBL6r+E7zxjKdYT9KSIkgW4BgX3aDG6sVeE2 sOJqkBVjYyX0LWylmpJt9Zxj07ES2G4s1Fkg7vs5ficoqfnmz0E9T9C5oiMoT4FuObROnH 5WUecYeJG6tFIXCW2xnhIIpyX9jtbXBolRpUiqnheeR6VfxsAifsrbaF6opHHzwr0BwSoq Aozx+nKrsRcSovrJFPK/yRx4dYyTcSGMf5Nm7nfARdBCnF7zD6H6NDn2FKepfw+MihT4Tt InQbqN/mVx3JCKtRxgQcsi1gBQ+Pp7HZ1KdN+08Xd7CkxzBZUFXAeHH3dczvgw== 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 4XSczM4NGJzRcj for ; Tue, 15 Oct 2024 15:12:47 +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 49FFClQc013399 for ; Tue, 15 Oct 2024 15:12:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FFCl7U013398 for net@FreeBSD.org; Tue, 15 Oct 2024 15:12:47 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 282095] enic breaks when changing MTU on interfaces with fib other than 0 Date: Tue, 15 Oct 2024 15:12:46 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ambrisko@FreeBSD.org 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=3D282095 --- Comment #5 from Doug Ambrisko --- I haven't tried MTU changes. I might have to block that since I thought pe= ople on the Linux side said changing the MTU was not supported without a VIC configuration change (via BMC UI) and OS reboot. I didn't connect the vari= ous offloads that the card supports. I'll need to poke around at that. I shou= ld look at adding devcmd2 support. Currently the driver supports basic connectivity. The VIC card is not a typical NIC. The checksum and VLAN offload should be easy to add support since the API into the card is there but I never attached to the FreeBSD API. devcmd2 is a bit more involved since it requires another write queue for that. It would be great= if you could try it with Linux to compare features. Then I can dig into it. = It seems with iflib it requires pairs of TX/RX queues. The driver looks at th= e RX and TX queue configuration and uses the smallest value. You might check the configuration and see if bumping up the number of queues help. I think by default the number of TX queues is only 1. I haven't looked at SR-IOV. Thanks for playing with it, hopefully you find it useful. My main goal was= to be able to PXE boot and run machines diskless especially blades that only h= ave this NIC. If someone wants to look at the offload and send me patches that would be great. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 15:31:36 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 4XSdPQ1Tldz5YZxv for ; Tue, 15 Oct 2024 15:31:54 +0000 (UTC) (envelope-from sm@codenetworks.net) Received: from relayout04-q02.dominioabsoluto.net (relayout04-q02.dominioabsoluto.net [217.116.26.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSdPP5PC5z4H8f; Tue, 15 Oct 2024 15:31:53 +0000 (UTC) (envelope-from sm@codenetworks.net) Authentication-Results: mx1.freebsd.org; none Received: from relayout04-redir.dominioabsoluto.net (relayout04-redir.dominioabsoluto.net [217.116.26.101]) by relayout04.dominioabsoluto.net (Postfix) with ESMTP id 4XSdPM0WLSz9ym0; Tue, 15 Oct 2024 17:31:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codenetworks.net; s=domabs; t=1729006311; bh=pDMjFeM8/Tl40YjDM8SZNShVy7cnDR9rIvNHE6OXuPE=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=cATTy2DM2OGnpSO+2E/2Xuyy9Eb3pjy6ncCu/Q3hInkwyhbZi9acWMUxrlNb87waV lS6vh87Ugfa9e1c6eIMAfWUdqC+ZUeD9tQGESGgw19df5YXPp6z6Bj78RHJjEi1qre Za36+Qcwev1Uv4Tc4wAXj2tWDLejAtnUVQ7c16D4= Received: from smtpclient.apple (unknown [188.241.98.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: sm.codenetworks.net) by relayout04-dsp.dominioabsoluto.net (Postfix) with ESMTPSA id 4XSdPH1LzXz9yKf; Tue, 15 Oct 2024 17:31:47 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Santiago Martinez 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 (1.0) Subject: Re: [Bug 219918] LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT) Date: Tue, 15 Oct 2024 17:31:36 +0200 Message-Id: References: Cc: net@freebsd.org In-Reply-To: To: bugzilla-noreply@freebsd.org X-Mailer: iPhone Mail (22A3370) X-PostalOut-Country: IP: 188.241.98.123 | Country: ES X-PostalOut-Information: AntiSPAM and AntiVIRUS on relayout04 X-PostalOut-MsgID: 4XSdPH1LzXz9yKf.A7F5E X-PostalOut-SpamCheck: no es spam, clean X-PostalOut-From: sm@codenetworks.net X-PostalOut-Watermark: 1729611109.06499@vmtpm3H6ivpSwmXVIK3jSw X-Spam-Status: No X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16371, ipnet:217.116.24.0/21, country:ES] X-Rspamd-Queue-Id: 4XSdPP5PC5z4H8f X-Spamd-Bar: ---- +1 on using EIM and not full cone NAT. Best regards=20 Santi > On 15 Oct 2024, at 16:50, bugzilla-noreply@freebsd.org wrote: >=20 > =EF=BB=BFhttps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219918 >=20 > --- Comment #11 from Ed Maste --- > (In reply to Kurt Jaeger from comment #10) > EIM is Endpoint Independent Mapping, an abbreviation of the flag mentioned= in > comment #8. I'd suggest avoiding "Full Cone" for the same reason as in RFC= 4787. >=20 > -- > You are receiving this mail because: > You are the assignee for the bug. From nobody Tue Oct 15 16:07:17 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 4XSfBG1FxKz5YdM0 for ; Tue, 15 Oct 2024 16:07:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSfBG0Bcyz4Lwf for ; Tue, 15 Oct 2024 16:07:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729008438; 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=6PF94n+KPt0yTm7/+jiX0/WbJHjz5B6gFV8kX25yNUY=; b=E94MQYNdZDAWP6hFiB/rkBDAvXedSdNI2+dx36j7gEwwocWg+Cb2Ap3vrJWIeuVmOGZBSc Dg2beNT5aQpQDo1snxpZ2T8uZcuhDk+xTLkz+pH3sAaSwJrLh07RuzSUwJKncXXvbpE/lY A/7Ze5neRgTUM5spj+O+Wz7TeikCTleJUEJA0US2DaDNIvahTXsscWVNoKkWM108fGDhCq FM2vVm9iKoG7y1tcTJ9f5Dayzp1r2kDBA3gYrVyE/MRxBrGatxd66rmMb7yjO4xbcn94GF pZ9qsv6g111e2c3k2XfMVSYzR41m5n5ivR7xQWyYrkgdw+0iEuNTq8MX7h/Xzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729008438; a=rsa-sha256; cv=none; b=dopDZUwvot4taSsv9GcCpoBgDTBd1siXZXl7k/Tuke+hDetD6OCj0n9IUszTImEwP3NI0k qmFGVxY4xvjByiPz9LziDJx3lXt841wOtLIiFZU+PFZhPE58Bzdbml/2yjAukj3rU0Cayb yNT+kddqx+N7p5WtDidsQRUeOH5UzaS0ZSJf8n8v3ID4kUNiFFX2/ikmQhgC/Q+zPXGNUO vk5J9ilZDCydzZffatGyUob3tMrjEGJYvFvZPGUi3pQZ131vBNewNzVKrcaJLwjhMI3WJ0 Ov6haD8otCJbQjLNbD/ldnUvGzehyos1hfB0iZBAJc8XAltDtsdeD1l5pAUtbA== 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 4XSfBF6TRxzS2v for ; Tue, 15 Oct 2024 16:07:17 +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 49FG7HLI092610 for ; Tue, 15 Oct 2024 16:07:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FG7HjE092609 for net@FreeBSD.org; Tue, 15 Oct 2024 16:07:17 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 219918] LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT) Date: Tue, 15 Oct 2024 16:07:17 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: damjan.jov@gmail.com X-Bugzilla-Status: Open 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=3D219918 --- Comment #12 from Damjan Jovanovic --- (In reply to Kurt Jaeger from comment #10) EIM =3D endpoint-independent mapping, same abbreviation that is also used i= n RFC 6887 (if not more RFCs). They also used EDM =3D endpoint-dependent mapping (address and port-dependent mapping in RFC 4787). There are several problems with "full cone": - The RFC that invented the term, RFC 3489, is now obsolete, and the new version of it, RFC 5389, no longer uses that term. - All the NAT types described in RFC 3489 confused 2 different concepts: mapping (how packets change going out) and filtering (what can come back in= ). See the table below for a comparison of RFC 3489 and RFC 4787 terms under different settings. - When EIM and PKT_ALIAS_DENY_INCOMING are both set, it is no longer a "full cone" NAT, it would be a "port restricted cone" NAT instead. | | = | PKT_ALIAS_ | PKT_ALIAS_ | = | EIM | DENY_INCOMING | NAT type, by RFC = | Comment -----------+---------------+-----------------------------------------------= -+----------- unset | unset | RFC 4787: address and port-dependent mapping = | These are | | address and port-dependent filtering= | the only | | RFC 3489: "symmetric" NAT = | ways that -----------+---------------+-----------------------------------------------= -| libalias unset | set | RFC 4787: address and port-dependent mapping = | works | | address and port-dependent filtering= | at | | RFC 3489: "symmetric" NAT = | present. -----------+---------------+-----------------------------------------------= -+----------- set | unset | RFC 4787: endpoint-independent mapping = | My patch | | endpoint-independent filtering = | adds | | RFC 3489: "full cone" NAT = | these -----------+---------------+-----------------------------------------------= -| bottom set | set | RFC 4787: endpoint-independent mapping = | 2 rows | | address and port-dependent filtering= | as | | RFC 3489: "port restricted cone" NAT = | options. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 16:10:23 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 4XSfFq5fnVz5YdSf for ; Tue, 15 Oct 2024 16:10: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSfFq4JrDz4MRD for ; Tue, 15 Oct 2024 16:10:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729008623; 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=H8sHH05LPmatfuJXe+EjpMdj6NzQeMQLE2Z6YhuLVXI=; b=XDsE4WJ9mlkJLG9r79WWGeAcE9TkOmA3IyoTlieQ6MVRY6yX0GCbkqfK0DAxbjDJMd4cx3 tGmhInFduw44TvYFxryznXi6zlupcantjlBuKNtZH/6R6DiZti4fx5xErduoEF743bW62B NY1hWfv2B4Qlcp6AUM3LOKB5kikZXOn+gA05r2I9ZXIzYjAbnhSsnWNhxzsRSRSqnxR/by 2jp1AUAsMSpKRBtdN0HuvV+j9jtsmQQOL20dpTPrx3RJ0XjV4CR9wOHv6n7DZ7X2yYATWc eIbrzMN3Y3U1UsrcEgzGXIz8KxlWVRkX9z+Ze1JHIRyEqMK475tpZtSFE/cUYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729008623; a=rsa-sha256; cv=none; b=YVClVljcd2e6SiRQ7T20gVZRTvMUNwNqyl5KVkzkxCQcUUqwE9NpvPNeOwJyvmCH3fmIYu 4aBsDpNveadB/HktOsRi2QuKEiL3nf9tHCZzZ+Jj3vXgkjj0znhrEt6hiRwMrUvINk4KBV 1VB2rxECJC+pmyqu62giv0mQ53ailnYBKFFYE9eKIRTo+P2t6ZI4SScBQ9FaYczkcgwMLR hYbP4U+XEYR4Pmad/NKCx7BZimp8MMi386E5Pk1yq3D8xl8u1Z+7paCl0mPDoOGDr31LW+ Br50iNXrNdUD3uEFl3Sx67BJ9DQtIxENoFAMx0bJAzt3LChc8el6RrySFXId8w== 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 4XSfFq3wNszSlf for ; Tue, 15 Oct 2024 16:10:23 +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 49FGANQB094612 for ; Tue, 15 Oct 2024 16:10:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FGANbj094611 for net@FreeBSD.org; Tue, 15 Oct 2024 16:10:23 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 219918] LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT) Date: Tue, 15 Oct 2024 16:10:23 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: damjan.jov@gmail.com X-Bugzilla-Status: Open 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=3D219918 --- Comment #13 from Damjan Jovanovic --- Here is a better version of that table: EIM | DENY_INCOMING | NAT type, by RFC | Comment ------+---------------+------------------------------------------------+---= -------- unset | unset | RFC 4787: address and port-dependent mapping | Th= ese are | | address and port-dependent filtering | the only | | RFC 3489: "symmetric" NAT | wa= ys that ------+---------------+------------------------------------------------| libalias unset | set | RFC 4787: address and port-dependent mapping | wo= rks | | address and port-dependent filtering | at | | RFC 3489: "symmetric" NAT | present. ------+---------------+------------------------------------------------+---= -------- set | unset | RFC 4787: endpoint-independent mapping | My patch | | endpoint-independent filtering | ad= ds | | RFC 3489: "full cone" NAT | th= ese ------+---------------+------------------------------------------------| bo= ttom set | set | RFC 4787: endpoint-independent mapping | 2 = rows | | address and port-dependent filtering | as | | RFC 3489: "port restricted cone" NAT | options. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 18:10:07 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 4XShw56zZGz5Ynpk for ; Tue, 15 Oct 2024 18:10:13 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XShw45lwtz4jSf; Tue, 15 Oct 2024 18:10:12 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=iFXEwFow; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::d34 as permitted sender) smtp.mailfrom=markjdb@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=freebsd.org (policy=none) Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-836f1b47cdfso274761139f.0; Tue, 15 Oct 2024 11:10:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729015811; x=1729620611; darn=freebsd.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=ylHPQJU3FYda36YfPgWLSoBU42qMRmKuc1XLto1EC+A=; b=iFXEwFow/ilM/56DM0PMbtCNVwR4ldL1P8w1+x1qU0X5Rnz5yh3foVe1/ltWoR1uuO AbTDoTsljID8Pe3P0PN3XRb/Utjr+dI6E7VzYPlLyLQydS9irPVl9rtAbeiv96LXvHSQ zdIaezJva9kcai6Jbc2mrxa2i5e6VDBEtkM0vhF5vN2L3v5TOLD4lGAmjZ5ra/oOOlz7 wXXQ7oHhA9cVlGvqu+idn+xvAydlavmvmnMih6qFPxkefXNYtAisvEncktv4HZmyK1hn Ky5khkEYMqpyW99OTQTtqWs7KPTaEXRyoBvwxJzoJZ/s9z6B4Ff2TUcfsOeKLRsQoPUd DIzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729015811; x=1729620611; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ylHPQJU3FYda36YfPgWLSoBU42qMRmKuc1XLto1EC+A=; b=LnBMA0j07LnoI/lTAdz+yS9JSrR8r9DJbIcXjznuIAy62tr7yMoYpG2zLN/6Co/zNt AkQYi7CWmCu+tzdazA3QwYcpFeiI0lwi/6mP0FEKA+PtuCqwoc+tisQXVSMJRaOtrdWB 8QAPmTsTSkfrAm9RYZpn0UTAANAvM93LAVYySU0YS8q6KxpuLJHDaYoxkgKJrnyI4WMq PkwA6L8fHR6BI8cOlci63tyXmINrevYqrIVxJPh/yQoxAk72tg92YUZNA6cVxbvRq4r0 a4d5DtK0KP1fXiVuC9jneBA5yKjh4Xi7XOfSMaX1Hv30Lo8+ZEvWHzhTXbMpJfF4Uodk nqXQ== X-Forwarded-Encrypted: i=1; AJvYcCUBv+e2uD2NefjWykRtscD4pjlyDmSPZtrl9VTuLBhm9BHhuO/xCthfFoHXVwtXtBqoMSs=@freebsd.org X-Gm-Message-State: AOJu0YzZM53FRz3KSYC1XJXif8rclsP+rzPT/F5dH8zN1Tp6TFt1sC4s xKzqxCdyRRucF+2rZqZ9bUjAvDUGiOAYVfX0pqBwai/gJkOCbSLerKmp4Q== X-Google-Smtp-Source: AGHT+IEpbq0himugslPNGCU8k4nioAjat/W/QAncCY1hMxWtIF6jZGemS8JtImE1ShnTRtTIqg1k3Q== X-Received: by 2002:a05:6602:2cca:b0:83a:9488:154c with SMTP id ca18e2360f4ac-83a94881e23mr161078939f.3.1729015811381; Tue, 15 Oct 2024 11:10:11 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4dbecc4a313sm419892173.151.2024.10.15.11.10.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 11:10:10 -0700 (PDT) Date: Tue, 15 Oct 2024 14:10:07 -0400 From: Mark Johnston To: Andriy Gapon Cc: Sean Bruno , "net@FreeBSD.org" Subject: Re: in_pcbbind_setup: wrong condition regarding INP_REUSEPORT ? Message-ID: References: <896ee089-27ad-c98f-6bf9-4b05caf778fd@freebsd.org> <9037ac3d-8d8e-2d7d-cbdb-996a53613aca@FreeBSD.org> 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 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9037ac3d-8d8e-2d7d-cbdb-996a53613aca@FreeBSD.org> X-Spamd-Result: default: False [-1.57 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.972]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), DKIM not aligned (relaxed),none]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_EQ_ADDR_SOME(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[net@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d34:from]; TO_DN_SOME(0.00)[] X-Rspamd-Queue-Id: 4XShw45lwtz4jSf X-Spamd-Bar: - On Tue, Oct 04, 2022 at 02:46:51PM +0300, Andriy Gapon wrote: > On 04/10/2022 14:37, Sean Bruno wrote: > > > > > > On 10/3/22 04:14, Andriy Gapon wrote: > > > > > > I must admit that the condition in question is fairly long and > > > non-trivial and I cannot decipher it, but these two lines look wrong > > > to me: > > > > > >                                       (t->inp_flags2 & INP_REUSEPORT) || > > >                                       (t->inp_flags2 & INP_REUSEPORT_LB) == 0) && > > > > > > I'd expect that the check would be symmetric with respect to > > > INP_REUSEPORT and INP_REUSEPORT_LB. > > > The problem seems to come from 1a43cff92a20d / r334719 / D11003. > > > > > > > I think you are pointing at this absurd conditional? > > > > https://cgit.freebsd.org/src/tree/sys/netinet/in_pcb.c#n1049 > > > > Besides the twisted logic, what problem are you trying to solve? > > Yes, that conditional. > I pointed out the part of it that does not make sense to me. > > Also, in my tests SO_REUSEPORT does not actually allow to share a port. > Test scenario: > - create a UDP socket > - setsockopt(SO_REUSEPORT) > - bind the socket to a port and wild card address > - success > - now repeat the previous steps with the same port *under a different user id* > - bind fails > > I wonder if the following would be a correct change. Reviving this old thread, since I was confused by this code today. I think you are right, the INP_REUSEPORT check was inverted in commit https://cgit.freebsd.org/src/commit/?id=1a43cff92a20d Before that, SO_REUSEPORT would let two sockets belonging to different UIDs bind to the same port. This was a consequence of commits https://cgit.freebsd.org/src/commit/?id=52b65dbe85faf and https://cgit.freebsd.org/src/commit/?id=4049a042532f6 But, I can't tell if that old behaviour for unicast addresses was actually intentional. Bugzilla PR 7713 only discusses the problem in the context of multicast addresses, where it makes more sense. Note that the current code has the somewhat dubious property that sockets with different creds can bind to the same port if they all have SO_REUSEPORT_LB set. I can't tell if that's intentional, but I doubt it. I'm inclined to completely remove the REUSEPORT* flag checks here. > diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c > index d9247f50d32b..f5e6e3932a96 100644 > --- a/sys/netinet/in_pcb.c > +++ b/sys/netinet/in_pcb.c > @@ -1003,6 +1003,7 @@ in_pcbbind_setup(struct inpcb *inp, struct sockaddr > *nam, in_addr_t *laddrp, > /* > * XXX > * This entire block sorely needs a rewrite. > + * And a good comment describing the rationale behind the conditions. > */ > if (t && > ((inp->inp_flags2 & INP_BINDMULTI) == 0) && > @@ -1011,8 +1012,7 @@ in_pcbbind_setup(struct inpcb *inp, struct sockaddr > *nam, in_addr_t *laddrp, > ntohl(t->inp_faddr.s_addr) == INADDR_ANY) && > (ntohl(sin->sin_addr.s_addr) != INADDR_ANY || > ntohl(t->inp_laddr.s_addr) != INADDR_ANY || > - (t->inp_flags2 & INP_REUSEPORT) || > - (t->inp_flags2 & INP_REUSEPORT_LB) == 0) && > + (t->inp_flags2 & (INP_REUSEPORT | INP_REUSEPORT_LB)) == 0) && > (inp->inp_cred->cr_uid != > t->inp_cred->cr_uid)) > return (EADDRINUSE); > > -- > Andriy Gapon > > From nobody Tue Oct 15 18:35:20 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 4XSjT54h6Mz5Ypv0 for ; Tue, 15 Oct 2024 18:35:21 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSjT53bV6z4mk4 for ; Tue, 15 Oct 2024 18:35:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729017321; 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=4JgwEA/XZS0ApkrIjR1F1YnuuPj0XMZErIk5lFNcuMY=; b=FkXPUbXDUEScmJae+wXckhEdBaBSm+o1omV2o1KFWgoah3JSkgU3qMwz/bEdjMMfFS904L Pb3qsDgAm1d6podynnQmtXEcTAkliFvrD2bjm1pf/7sSLCDGjdCNDF7i7QqBXJqgM4lo87 mrJEE9XAwYrP0ssGicPm4Dl8cRb2Jd2kQ/CHiPRIqIL/biANm03OeY67FGENO5UqPBNAat daumcIi6UCWwUGRXBNYaJ3PZrlgtXjOJqtXDM7bZ0Gik9bnhaq6r+oeLMBVAX7BaIJDK31 cvY44eLt8GoTxbKyatdLae+MHvC+1yboYPwNjD42u91Rj1U1snkOpfvWIKVRMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729017321; a=rsa-sha256; cv=none; b=lro9y4enMfGsjxMU1jjYvIEr0Fx5Mn/6iPKTn2LVgvsj3z1n3LD9kJAos4wA0Wa20ejy6W fM25C7khs08nWCzrNAa2vZPpqupKAHQP51EKb7d7s0JVws4EQth2JgA0E5Qu1m4Q8RKon+ IYURH96yosTGIiSP3WSDWvrd8GJHT4/z73rozHE5HUZOrXlogXei6+L0GJRX76NNYV8JOn W5ZotvjwVPeqXseg3nsw2UPG7etWnlYgRocXtR7Gnu9g7iayLmGq25zHnxP1TGqtCH3G1D v7ul7PJt4XR6PT2wo6QdVXiEARM92XmHxy6sRmthLl1K171RwIaJzdB/txOthw== 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 4XSjT53317zZ6C for ; Tue, 15 Oct 2024 18:35:21 +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 49FIZLAf045485 for ; Tue, 15 Oct 2024 18:35:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FIZLNb045484 for net@FreeBSD.org; Tue, 15 Oct 2024 18:35:21 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 219918] LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT) Date: Tue, 15 Oct 2024 18:35:20 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pi@FreeBSD.org X-Bugzilla-Status: Open 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=3D219918 --- Comment #14 from Kurt Jaeger --- (In reply to Damjan Jovanovic from comment #13) Thanks, that helps me understand the wording. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 20:49:15 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 4XSmRc3pVkz5YymG for ; Tue, 15 Oct 2024 20:49:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSmRc1mSbz50Tr for ; Tue, 15 Oct 2024 20:49:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729025356; 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=gsMQf9iV1kVuFiAmmIArP0MAKsnWZ/2aI7UAX9XkjS4=; b=Q9w2y3He8A+1yWAAZAPLtorxQKG2bbZFT1IoppYhITvxv8eT9SJeLVtxMBCxd9/e1dMvKf qbA8PkizAZxE7XsAXocS5Dhbv7XBvgr/J2YwfyaJ43da+EDqEARsf64ZKEAZMB4jaQKu6b 127fh3dIR7ubAG4mrUnA++48tvE9q3eDIqNwYrUVsAKzSq368MhwTmbBL1n+NtSjCOLRgN XsyOxTjVagYnGqzJLE6DRZH37wCFcjjnnm7tVRCpvhvdvkr4m0U+k4o/Iy/c70lFsCHH59 bmJ0KQF4KfJG21tXBAMNbfh0WVZki65q4YUtz2pjqixqfsTtvHlu2NMnPO/FnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729025356; a=rsa-sha256; cv=none; b=vTFILkUr1P3uIGdInFInNSctLtIgUKKa+/NiTAjzGUO/0oi3SvIuEEuRbX5JvgDhLQLOxF NSFbASzxUjRNAQ3Q9EDvc7/dZSOwQwCAXnRqUiAs+rMqW1LZBlyfQ99fRfBj0+JqubqtA+ DenY7YiLq3/5k+Vsj4TMLNd4PQ7sDgujenAoLTwLKN2tDGHk7EpiR0gQhY7VXBQWcNdk7g DUefxTEMLZPUUlgP2KbmbwDaazfpI/gTR2h1qFr4C14hbcx5OznPHaFQRlOJK07c8pOpvb AEkcoUFlJe+Nm3aG3S/Oxf9z1EWEZzveid3BnHjqwCrf9Gr7pegmcFWNczQKIw== 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 4XSmRc0yrJzd4T for ; Tue, 15 Oct 2024 20:49:16 +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 49FKnGUO038320 for ; Tue, 15 Oct 2024 20:49:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FKnGuT038319 for net@FreeBSD.org; Tue, 15 Oct 2024 20:49:16 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 281560] gve (4) uma deadlock during high tcp throughput Date: Tue, 15 Oct 2024 20:49:15 +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: 14.1-RELEASE X-Bugzilla-Keywords: vendor X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shailend@google.com X-Bugzilla-Status: Open 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=3D281560 --- Comment #24 from shailend@google.com --- Fixed in https://reviews.freebsd.org/D47138=20=20 Thanks a lot for all the help @markj, @kib, and @gallatin! --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 21:07:52 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 4XSms53S8jz5Z0r5 for ; Tue, 15 Oct 2024 21:07:53 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSms52R88z533S for ; Tue, 15 Oct 2024 21:07:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729026473; 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=QCmv2DHQq5TMdLXtr5f98Cu7oEHzESkzxkpErEfVNlg=; b=eSFaI4u7UW+4wYHGBJEDyE1sc86qGnc18BG+Wxj/FSXPHaZPY3Lr/Ll07V8QLTJy0OJf+j +gxFtMNw24O6QGgwaZ6XFjS9C/7fDfh1PF7UETyUUpGv/HOhehsc7elsFheW5xEEN5cr+M ymLcEWZd9fRvoeE0wtMeVlUsSjXqRwD+rWnN67XeaJJAKOK/vOVrkuYNbUTrcemLk0PVP5 ftQy+9ppGg4AZrbBMJGb5XJnANzb0AapO1Z9VRS/k2mQ0mXlmL4Tf+HDfLwuS5kULuLSG7 HZrauOp1U3awZP0hoX3uwhr3ANFfM1pZOge9k4OmFq6pDq3Oo8Qkro9W/ucv0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729026473; a=rsa-sha256; cv=none; b=BHIKi7iTe8FLT9djOkM2V0YHhw4cJj4lsGku9nRO92nv/U0tkbvHMoK72m472YHtWxXrO6 NyBjt0Qf9aeeK6ZNt34W1+62dq5/PV4ffFS2ahsQKYTAXtqTUUB/oFpp+hKN2bx3SiAtGI N3fn8b7qhOIk2P4tEjpQeLy7VRegyYTetoWUSI3P9E3K4D//tpIefTb9DMqq/lmp+ZBTOg Xdgt9hkJx1tZJ1v5BThr7VqkbXOErUWfFjr8+GVbMoW+zpooXMilMC5XU2bDrT1V8hR7nX tndVtEsX2Pd1oWzIJof2zGe80k58k9DCYOuiqOMJB6sK6/TtgflgHg7MnkkjTA== 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 4XSms45gbJzdKd for ; Tue, 15 Oct 2024 21:07:52 +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 49FL7qlO066583 for ; Tue, 15 Oct 2024 21:07:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FL7qUg066582 for net@FreeBSD.org; Tue, 15 Oct 2024 21:07:52 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 281560] gve (4) uma deadlock during high tcp throughput Date: Tue, 15 Oct 2024 21:07:52 +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: 14.1-RELEASE X-Bugzilla-Keywords: vendor X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open 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=3D281560 --- Comment #25 from Mark Johnston --- (In reply to shailend from comment #24) Does that diff depend on the other two gve diffs which had been posted previously? That is, in what order should they be reviewed? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Oct 15 21:50:22 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 4XSnp65nyqz5Z3WP for ; Tue, 15 Oct 2024 21:50:22 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSnp64Ydjz57Wv for ; Tue, 15 Oct 2024 21:50:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729029022; 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=ybOJqQubiWPiKiYFFAzx3fAtQZSDlYQ0Z52Y6jtpXEg=; b=CkszW/Rpmp+TWv4x8+LExoLLW2ZnjdMHiYGLygJ1F+pm/iWvenEqlZlj8LfHVJQn+4pu/A R6bZNFGhW3tG+Sgmi7F7lOMgDutdC4/Tr7PSN6026eoG4ycM5nDBTRM994ZY6EPkq+hrBu exToyVjyN6+15F3wzTpQ1KqRju+GSaleJeMuAAXeGjEX8/pKfNp2GtsI8gpt5KNmpMIqyr D/Z40gblpuPHy9j6SqDQaefe8evZAQg3fuMaJLyNYFikxDHCVYiXAt+DTkYZf1FazTSa98 BxzSMRq7Q3caHTX8/tTbj8drDhLxZbebbgQ35dMI3QtMPm9uS60zrLsFx+vZxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729029022; a=rsa-sha256; cv=none; b=Ut3TH+YQgooX4AnxYl2X9rE01AP65cYS7cVxuzknd56tSzwMccquH7CCs8f0fW9fllZhcp kO4kF++Mw8A4h1m0atdF8fzDKrMcW5GNT7lBauUiqe9IbrafzhaYNWvp/lY2ohXBU+fwMi 3pqacyliBSYBKXz4qa/F+0PEX8X13yrw9xrwK4hoBsVqh2Qaw3YFpVXWxD+XS8mVOAQAGk NSeZqNy2HoJBS4BLXG8zMX3QnnLY2m8AP+no7UupR5XAt2Ds9ozxRjRErNjk6A0gTeC0nf 5WuryPfGt4PcWVMgTeDqpnHu10vzyvPo6eulxC9tk5OD/tmUgs3IVkj7IrFRyQ== 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 4XSnp643NyzddM for ; Tue, 15 Oct 2024 21:50: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 49FLoMYW023576 for ; Tue, 15 Oct 2024 21:50:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49FLoMdM023575 for net@FreeBSD.org; Tue, 15 Oct 2024 21:50: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: net@FreeBSD.org Subject: [Bug 281560] gve (4) uma deadlock during high tcp throughput Date: Tue, 15 Oct 2024 21:50:22 +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: 14.1-RELEASE X-Bugzilla-Keywords: vendor X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shailend@google.com X-Bugzilla-Status: Open 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=3D281560 --- Comment #26 from shailend@google.com --- (In reply to Mark Johnston from comment #25) It does, I found this bug only on top of the two prior changes: https://reviews.freebsd.org/D46690 https://reviews.freebsd.org/D46691 and I figured fixing it once makes for less churn.=20=20 So https://reviews.freebsd.org/D47138 needs to be reviewed after the two ab= ove patches. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Oct 16 00:02:29 2024 X-Original-To: freebsd-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 4XSrkq127dz5ZBPX for ; Wed, 16 Oct 2024 00:02:43 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-a6-smtp.messagingengine.com (fhigh-a6-smtp.messagingengine.com [103.168.172.157]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4XSrkp0D8fz45Xv for ; Wed, 16 Oct 2024 00:02:41 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=WmrJNJhR; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=T7JrSjL3; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.157 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfhigh.phl.internal (Postfix) with ESMTP id 632AD114012B for ; Tue, 15 Oct 2024 20:02:41 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-08.internal (MEProxy); Tue, 15 Oct 2024 20:02:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1729036961; x=1729123361; bh=TrxTKyIl33 VDbCaya/qM0y9l0H6g3auL4veUfw+xq6k=; b=WmrJNJhR0KWcyaqCAmx6nmG9B3 gUp4wTlJswUeKwWgu3LvTh5VFF4x3KiLefxmzrUuOrgADaqFHJoEb2kj4oqpwHAp fxNPcnfRwAn+TfLqdwuWt/gpXMpnCqjbgRHsqLBB29YWV0OlnVVF8nhFMLoJ4M4+ DOeAB7nS/IYHF6lS6sj6cnwjP49VA8gJd6CThWqnrOf3hQeASVdIpVeq+trxg8fh VzdmUER7MhwSE+Qci/YxujDWtGKF7DTyQL7R2UyUFf0eyfOTM+zJQwAo7VeKEnz/ +Dd9Et/ezh0bm42NEV0q83FHhG+xCI8f5M5FBVvLn8o63qIkzWR9bV/GH3BQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1729036961; x=1729123361; bh=TrxTKyIl33VDbCaya/qM0y9l0H6g 3auL4veUfw+xq6k=; b=T7JrSjL3yGYBWDic8QLvyHfIr3G1aI4qMYovDu+jXclA zEdgoqQpeNNsdyDDhzOt/6rZov/JcVcM9ENwC9sKC0SqgXfHT3iblSbgihgEqUAS bO4pKt6rHxTR2vt+rVVGjIxlk29rkzF+a6afrTIQZ20dqZXw4KKapDFS+KGi0SWK slZlxWDMfI/kOu2esdgpAuKeAjdTWyueN8zNOiagComghAH8OJ328+9FDrnsp8uj LRu2a03CMXv6tVJZrqIkvjO8LH/s3sSAMBc1Km6fxc0U0Ox6aSu/hitmb4HS881+ KfwqikhVOaDiqS2ICI5sTrhmKr2n9hn9TD29x+moCw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegkedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgf dugfdvgeekjeejuddtheehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepvhhoihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghsugdqnhgvthesfhhrvggv sghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 15 Oct 2024 20:02:40 -0400 (EDT) Date: Wed, 16 Oct 2024 01:02:29 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.41 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.81)[-0.808]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.157:from]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XSrkp0D8fz45Xv X-Spamd-Bar: --- Hi, On Tue, Oct 15, 2024 at 09:48:58AM -0400, Cheng Cui wrote: >I am not sure if you are using FreeBSD15-CURRENT for testing in VMs. the test vm right now is main-n272915-c87b3f0006be built earlier today. the bhyve host is n271832-04262ed78d23 built Sept 8th the iperf3 listener is stable/14-n268832-647860bff214 >But given your iperf3 test result has retransmissions, if you can try, there >is a recent VM friendly improvement from TCP congestion control CUBIC. > >commit ee45061051715be4704ba22d2fcd1c373e29079d At the moment, it's using the new rack thing. Can rack be used with your cubic changes? Both the guest and the host vm were built after your changes. I'll try your suggestion and post back the results. Thank you for your suggestion! -- From nobody Wed Oct 16 11:06:19 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 4XT7SW6njHz5YM0d for ; Wed, 16 Oct 2024 11:06:19 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XT7SW4wDJz44v0 for ; Wed, 16 Oct 2024 11:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729076779; 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=WnDRfa2e486eLTaIlX0l2WFNqFhBPL3TCXQmRblp39w=; b=UQorKwIVZQlHnpc5vRaQOHetuuBdV8+vVrivae3lBaBmtRdglqrI+MvPrgK2iRF8PIx/AR f/i13yDd1lqtrwL6eBOscwJfXq2XeXYdL9EMvhK40LzfQFdwawUxEGWupecT9rcV3r2BKb aBHu1q1tl6yWYJZ0gyiH5cB5EbCXMLQK9qH7s4Wa62ONr9oc0Dq4+mzntzLm3WvNywPtAY jDi7wv1m9Ue6q2fSAcR486LOiV/m+QGwaBHLJzOdWiAgOoVGb3lm0yBw9m2ItwJ3bwcHCc 3nqkCSrIZpBcTvGzg6ERI5Mb21QBCpU7xD1ujrnVrlUoNvzESvemHLmgUOzRmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729076779; a=rsa-sha256; cv=none; b=uKmuyd/gbkwJxKPTri6PQ+rUDhGnCaDmvc8qf//47LTPk8mR6HtNYDsm8GaE2y442kSWSz 0ahyvnBa8ilua6WRYhwZXldgwZmNSFjWYS1CW2+ynNDgdbTrrA+aXiMS9NtCYKA/B9MEdl 4RYn66dGMIngtW+sCJcLl31VsIKUEHDDA8/++3Ug3wbFU11K9XaZgGyYlso3lrpENSqVpy AhrqMn3kVj9FXKhkE33uV1YaQ1FOhTEEc9vomdC2bOlaZCnbDQULqICK2Dc9WMx75mXlLC N6MZiQe+dPsnBGUNFEhc0rn1cYS65EygrslZfmSFwq9a0n2M70imTjLvTzaPSA== 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 4XT7SW4PH9z13NR for ; Wed, 16 Oct 2024 11:06:19 +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 49GB6JOo016870 for ; Wed, 16 Oct 2024 11:06:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49GB6JXh016869 for net@FreeBSD.org; Wed, 16 Oct 2024 11:06:19 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 282095] enic breaks when changing MTU on interfaces with fib other than 0 Date: Wed, 16 Oct 2024 11:06:19 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd-bugzilla@thismonkey.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=3D282095 --- Comment #6 from Scott Aitken --- So the MTU was already set in CIMC to 9K. I installed Fedora and the Linux driver must read the value since it picked up 9K: enp19s0: flags=3D4163 mtu 9000 ether 70:70:8b:77:7e:76 txqueuelen 1000 (Ethernet) RX packets 20 bytes 6520 (6.3 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 71 bytes 11070 (10.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Going back to CIMC and setting it to 4K, and after a reboot: enp19s0: flags=3D4163 mtu 4000 inet6 fe80::7270:8bff:fe77:7e76 prefixlen 64 scopeid 0x20 ether 70:70:8b:77:7e:76 txqueuelen 1000 (Ethernet) RX packets 14 bytes 4564 (4.4 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 48 bytes 7564 (7.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 I was only using FIBs/jails as didn't have a 10Gb switch and/or second serv= er at hand - so I needed two route tables in order to test back-to-back on the same server. So with the interface breaking when changing MTU and the low throughput (<4Gb/s) it might be fair to say the driver is in alpha? I'm happy to test if needed. Testing on Linux for me isn't easy since I kn= ow squat about Linux. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Oct 16 13:19:53 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 4XTBQf0vxHz5YW1t for ; Wed, 16 Oct 2024 13:19:54 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTBQd6zlPz4JcB for ; Wed, 16 Oct 2024 13:19:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729084794; 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=jj9d/gbRVP0YPwJ0nurlo+EJHJi61Bt/Xl66bTJEGuw=; b=ob/AD2vLaWAOjqLH9yJn+tkt5N0ayg3bj4A5IOJJu8guvK1iSPfmX+jL11QHqwjrju+ETt agem2agaYa7pHNoJ77I3HGrKCMppnCg50qkfo9qF8kac51xsHXLbwFOr0pe1IYbSru5nF7 S/yLfUA5sVHNLlK4q+CvKJFer0X4PPKtcp+uV4oejiIt7FqP/256qBdARmNvszC6AyiyU+ eixo/uIaabWuizxyQ1TCEZkOXL2vkoBpqhWIovn4P35cP3KT3qOQSpy+0euxZySL6mfF3v vbK25YPX+1wNeom6N6TMvT/+tgdBkhFkMtajCbR7SqtWLSscMHfb1IEAEzreeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729084794; a=rsa-sha256; cv=none; b=lsejRiK2Iq9eangu9A2qWHP1cyWBEsn6lAFbMf/6eMkwI3+siSO6Chekb8p4JLwfp0b4HN 1UOrYdl8EhGYMDvZw6AISLD/zufqJh9i6op3/66m0cMptwEiwxmK7JhvznYqJXII+GPB3W jP/inU4RQqLjzRd0Po5LnFzrnn+zplI16tarAsHUCHY3XCVqaAD5hQ4E+QQimtrue5+Q+9 cjCWsf3tsm1DkVtHAiSlGxQVX5wG1ZbXZ0mcgEGFHQOkmnQPxpwQe2U1DuuC6tCcU5OD7n bmlXJl0HOaAUxUDWC1KzN4O5MMct9AyIAXFw4oAaak6QxyUqlWugk2S3FUAt2g== 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 4XTBQd6TDQz166R for ; Wed, 16 Oct 2024 13:19:53 +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 49GDJraw049189 for ; Wed, 16 Oct 2024 13:19:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49GDJr4w049188 for net@FreeBSD.org; Wed, 16 Oct 2024 13:19:53 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 278100] ena (Elastic Network Adapter) driver memory leak on detach Date: Wed, 16 Oct 2024 13:19:53 +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: 14.0-STABLE X-Bugzilla-Keywords: easy X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: 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=3D278100 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #2 from Zhenlei Huang --- Fixed by https://cgit.freebsd.org/src/commit/?id=3D449496eb28daec8d5b852fa4be1e337c2= 957345c . --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Oct 16 14:19:40 2024 X-Original-To: freebsd-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 4XTClr4pTqz5YZ8w for ; Wed, 16 Oct 2024 14:19:52 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTClr4F56z4QYY for ; Wed, 16 Oct 2024 14:19:52 +0000 (UTC) (envelope-from girgen@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729088392; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Mmfy3D+3K7PLLRiIfxMNV0P0cX8ZTTLGf4JevnRDYZs=; b=cpZi/yhkLjc8x+uUGKsY4UyQmPHKP7K6JSp81YLKlUh6csz4mH7BS4imk124+HlRJZ44Yz ZBA2jSuqigi8Un5YUXb7lFhPTJoshAe0EGS6qP9vf1tj7DZ0/tTu53FxZnfrlaKi+D720S Hdn+3SfmcUV2ImfClJLD8f3pJtqZp0Xsmew5eu7V7IRMOEihG+nkYi6ut3zwSQENs4cz9l IkEWNImXExheDUwzwyzz+dyq7Y/X7HGBlLOtjAUBFMibEQkUkOLZsjeNXpx0o9VlL6pd0D C+JDlDTJjTxnhYSBoBkuKwhsP4v1f4WaY7WCzac3N9eo6I58bieJ2fvSmAIe+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729088392; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Mmfy3D+3K7PLLRiIfxMNV0P0cX8ZTTLGf4JevnRDYZs=; b=og8u1jljlm2V6Mhx5g8swfRxBPUo0L99arzO4tODggpgWI/88Ybqyxn89/GMpCVEnmGAGG RiTdldEU3077eBFnU9G3f7nDgbFyZYmYt/A4U3ESlX0r8gdE0lZicBCailnuFnVCdiuMp6 EybNC3delUdh+Zsc7KUqn8XOG8H0cuQSoJTAcRhMpT7XBP5s1GXlpK2F1tCZAHx9wkL5lp RPt9plCMzUC6XFNpnXRVV63md9ma1L7MnYFELk/mp+4aZkvgZUbZ/czEKqGjOWZwxYvaY6 iS/82VD5gILUgcJMvya1FtwwQ6l9ppelaaD6zBwo6tP95pJuHbWKqS3BGrUUUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729088392; a=rsa-sha256; cv=none; b=MdrJWt55HmJHYjLnHpMxoRO/jOzp2FaI6bHanPgbKTbzZ4sCWhzu8nsUcIm1s9SCsM38Ba ejFlpP2am2cScxWeiUGC6amXlMAac8h/OzFc25myiqe0HkPa2YrHwPk+hUF+iyo8cUzMnf Qx4kovlLw/RtC57HeEPvv6biZf9BwERQVw4n2a62UPN5V1svjn0bdQ/VDRS6HP7HKpsYS7 BWI9lP6HzTJkfhAIZ08QjWBGgxIq7dHTShp/ep1h3HUo7FwCImSkfDKKmyfbVUDp88T5Rx A2KtvF/WyZc+WSPNGJHuFudMG1PEBjkj1OlN2j70yZ8pSa8PkTBcvMlH4Hh2kQ== Received: from smtpclient.apple (31-211-209-78.customers.ownit.se [31.211.209.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: girgen/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XTClr1T5sz1SFd for ; Wed, 16 Oct 2024 14:19:52 +0000 (UTC) (envelope-from girgen@FreeBSD.org) From: Palle Girgensohn Content-Type: multipart/alternative; boundary="Apple-Mail=_AC6D5B8C-A6E6-413A-BF25-E00942506C27" 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 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) Subject: pf for netgraph jails? Message-Id: <7D5BD9CC-8A08-4C74-B2E6-E0437235F3B1@FreeBSD.org> Date: Wed, 16 Oct 2024 16:19:40 +0200 To: "freebsd-net@freebsd.org" X-Mailer: Apple Mail (2.3818.100.11.1.3) --Apple-Mail=_AC6D5B8C-A6E6-413A-BF25-E00942506C27 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi! Using FreeBSD-14.1, I have a rather simple setup with jails using = netgraph (using the `/usr/share/examples/jails/jng` script and "model"). The host machine has two interfaces: bnxt0: (external, has no IP#) bnxt1: 192.168.1.79/24 jail.conf: -- host.hostname =3D "$name.example.com "; # = hostname path =3D "/jails/$name"; exec.clean; exec.system_user =3D "root"; exec.jail_user =3D "root"; vnet; # netgraph vnet.interface =3D ng0_$name, ng1_$name; # vnet interface(s) exec.prestart +=3D "jng bridge $name bnxt0 bnxt1"; # bridge = interface(s) exec.poststop +=3D "jng shutdown $name"; # destroy interface(s) exec.start +=3D "/bin/sh /etc/rc"; exec.stop =3D "/bin/sh /etc/rc.shutdown jail"; exec.consolelog =3D "/var/log/jail_$name.log"; mount.devfs; # mount devfs mount.fdescfs; devfs_ruleset=3D5; allow.mlock=3D1; mount.fstab=3D"/etc/fstab.$name"; fw {} -- which creates a single jail `fw'. /jails/fw/etc/rc.conf: -- hostname=3Dfw.example.com ifconfig_ng0_fw=3D"inet 1.2.3.4/26" ifconfig_ng1_fw=3D"inet 192.168.1.212/24" defaultrouter=3D"1.2.3.1" sshd_enable=3D"yes" -- $ sudo ngctl list There are 8 total nodes: Name: ngctl69965 Type: socket ID: 00000021 Num hooks: 0 Name: bnxt0 Type: ether ID: 00000001 Num hooks: 2 Name: bnxt1 Type: ether ID: 00000002 Num hooks: 2 Name: ue0 Type: ether ID: 00000003 Num hooks: 0 Name: bnxt0bridge Type: bridge ID: 00000009 Num hooks: 3 Name: ng0_fw Type: eiface ID: 0000000e Num hooks: 1 Name: bnxt1bridge Type: bridge ID: 00000016 Num hooks: 3 Name: ng1_fw Type: eiface ID: 0000001b Num hooks: 1 I plan to create a reasonably large number of jails this way, by just = adding jname {} to the jail.conf file. Now, I would like to have a simple generic setup with pf filtering out = unwanted ports from incoming traffic. I tried this simplistic setup: -- ext_if =3D "bnxt0" int_if =3D "bnxt1" block in on $ext_if dns_servers =3D "{ 192.168.1.194, 1.2.3.9, 8.8.8.8, 1.1.1.1 }" pass in on $ext_if proto { tcp udp } from $dns_servers to any port 53 pass in on $ext_if proto tcp from any to any port { 80 443 22 } -- but nothing happens, everything is passed directly into the jail: nc -l 4444 (inside the jail) and I can just telnet 1.2.3.4 4444 I assume I'm doing some simple mistake here, but find very little = information wrt the combo of netgraph, pf and jails. Any tips? I tried = configuring pf to work on the bridge interface but no difference. What = am I missing here? Palle= --Apple-Mail=_AC6D5B8C-A6E6-413A-BF25-E00942506C27 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi!
Using = FreeBSD-14.1, I = have a rather simple setup with jails using netgraph (using the = `/usr/share/examples/jails/jng` script and "model").

The host = machine has two interfaces:
bnxt0: = (external, has no IP#)
bnxt1: = 192.168.1.79/24

jail.conf:

--
host.hostname =3D "$name.example.com";    # hostname

path =3D = "/jails/$name";

exec.clean;
exec.system_user =3D "root";
exec.jail_user =3D "root";

vnet;

# = netgraph
vnet.interface =3D ng0_$name, = ng1_$name;          # vnet = interface(s)
exec.prestart +=3D "jng bridge = $name bnxt0 bnxt1";        # bridge = interface(s)
exec.poststop +=3D "jng shutdown = $name";  # destroy interface(s)

exec.start +=3D "/bin/sh = /etc/rc";
exec.stop =3D "/bin/sh = /etc/rc.shutdown jail";
exec.consolelog =3D "/var/log/jail_$name.log";
mount.devfs;    # mount devfs

mount.fdescfs;
devfs_ruleset=3D5;

allow.mlock=3D1;

mount.fstab=3D"/etc/fstab.$name";

fw = {}
--

which creates a single jail = `fw'.

/jails/fw/etc/rc.conf:
--
hostname=3Dfw.example.com
ifconfig_ng0_fw=3D"inet 1.2.3.4/26"
ifconfig_ng1_fw=3D"inet 192.168.1.212/24"
defaultrouter=3D"1.2.3.1"

sshd_enable=3D"yes"
--


$ sudo ngctl = list
There are 8 total nodes:
 Name: ngctl69965 =      Type: socket =          ID: 00000021 =   Num hooks: 0
 Name: = bnxt0           Type: = ether           ID: = 00000001   Num hooks: 2
 Name: = bnxt1           Type: = ether           ID: = 00000002   Num hooks: 2
 Name: = ue0 =             Ty= pe: ether =           ID: 00000003 =   Num hooks: 0
 Name: = bnxt0bridge     Type: bridge =          ID: 00000009 =   Num hooks: 3
 Name: = ng0_fw          Type: = eiface          ID: = 0000000e   Num hooks: 1
 Name: = bnxt1bridge     Type: bridge =          ID: 00000016 =   Num hooks: 3
 Name: = ng1_fw          Type: = eiface          ID: = 0000001b   Num hooks: 1

I plan to create a reasonably = large number of jails this way, by just adding jname {} to the jail.conf = file.

Now, I would like to have a simple generic setup with pf = filtering out unwanted ports from incoming traffic.

I tried this = simplistic setup:
--
ext_if =3D = "bnxt0"
int_if =3D "bnxt1"


block in on $ext_if


dns_servers =3D "{ 192.168.1.194, = 1.2.3.9, 8.8.8.8, 1.1.1.1 }"


pass in on $ext_if proto { tcp udp } from $dns_servers = to any port 53
pass in on $ext_if proto tcp from = any to any port { 80 443 22 }
--

but nothing = happens, everything is passed directly into the jail:

nc -l 4444 =   (inside the jail)

and I can just telnet 1.2.3.4 = 4444

I assume I'm doing some simple mistake here, but find = very little information wrt the combo of netgraph, pf and jails. Any = tips? I tried configuring pf to work  on the bridge interface but = no difference. What am I missing here?

Palle= --Apple-Mail=_AC6D5B8C-A6E6-413A-BF25-E00942506C27-- From nobody Wed Oct 16 16:17:22 2024 X-Original-To: freebsd-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 4XTGMV1GTTz5YjG0 for ; Wed, 16 Oct 2024 16:17:26 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from BEUP281CU002.outbound.protection.outlook.com (mail-germanynorthazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c20b::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTGMT5ypjz4g44; Wed, 16 Oct 2024 16:17:25 +0000 (UTC) (envelope-from hausen@punkt.de) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=U3Y1A9hWaCXU2090dtjVyjLHM31XcG+2U4L//cVf0sbq8Li3FE04Kg88np9/On0WqwCOJcMIzFTgRZW9gID2Mw4Y11MMSR5B15lq4B0mOHQbtRcBAa6W0wWFIUbXKdFgOjjiwtZFQvjRbZwdNHOz0SbG0fW0EFDETSor2CUpdYanDQ8nUz6sE7brA1CPH8NT0vk8RYXrTrC6EM3xhrju/uHWmP+2A76lknbcQh7oDQ15pSYE8dJkVZYMQwhS9ZeSCygNMgbnxOxOUVYy1nKdQ99ESbE/3PGAmVZAZ5poJ4YGVSHq+E8FoyLe+G3Ax5pPQ02QKx/+0JCiPP415hnzLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Zrwbj1g604lqIn6Goe1AiIXc7Z076qe18V1bO37oZd8=; b=rTjZkHwO0z8xW3nyJqW1Nigeqiu921pIDSVIIMvbSj09MCZUL5UtgPOOHu0/D9KvIxzNKX+JKaRoGPpC4oqVqk+FTlhWvV0bJ7BTCeg5Yoh3ShxxosSQE4+4k6yuWJC0Zj2riMKHu48HAR8Yy41d3bZr9A4HBM8n7LaD1IYiiDMdWV/n2lF65sreFqLK0CgYvHeyZA/ZbPlmkHiij9phOLYMHbLpC+wzxMmZwiKbSRRTou0SMevOvHgd8V8xxb9/53BQoicRi+vHhgXMl23BBr85H77UYYA8A9t+60qRvUfyZ0ZliK4U1gi81gECIK8dOEIYf47kcBKpu2q4lOvetA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=punkt.de; dmarc=pass action=none header.from=punkt.de; dkim=pass header.d=punkt.de; arc=none Received: from BEZP281MB3159.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:2d::7) by FR3P281MB3056.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:5b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.17; Wed, 16 Oct 2024 16:17:22 +0000 Received: from BEZP281MB3159.DEUP281.PROD.OUTLOOK.COM ([fe80::d3b4:7f52:df34:f8e7]) by BEZP281MB3159.DEUP281.PROD.OUTLOOK.COM ([fe80::d3b4:7f52:df34:f8e7%3]) with mapi id 15.20.8069.016; Wed, 16 Oct 2024 16:17:22 +0000 From: "Patrick M. Hausen" To: Palle Girgensohn CC: "freebsd-net@freebsd.org" Subject: Re: pf for netgraph jails? Thread-Topic: pf for netgraph jails? Thread-Index: AQHbH9Z9n7R/C7Uk30akJCyhQrUWW7KJjgiA Date: Wed, 16 Oct 2024 16:17:22 +0000 Message-ID: <16E8EF1D-9CB0-4158-B0A4-FB4F91A03D2C@punkt.de> References: <7D5BD9CC-8A08-4C74-B2E6-E0437235F3B1@FreeBSD.org> In-Reply-To: <7D5BD9CC-8A08-4C74-B2E6-E0437235F3B1@FreeBSD.org> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BEZP281MB3159:EE_|FR3P281MB3056:EE_ x-ms-office365-filtering-correlation-id: 932652c1-e1d8-4f76-dc0e-08dcedfe03d2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|376014|366016|10070799003|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?MUhnVW5Qa1RsdUhaVGVqUXUxeDhVa21uVUJaY1RObWdUTGlVQldHaWtmSVRF?= =?utf-8?B?QXJDbVArYWlXQ2U2anZCZDJ4WVkrNGl0VjFOUzJqZFRJT21WcitKdUNiSWtn?= =?utf-8?B?VG5QdlRQU2pEbXFQNkgybTNkRFhuOEpXVTlmb1lkTUV6MEVkcG5TdG1ac1RB?= =?utf-8?B?TVlvSVg3QlBDTXhGeVh4N3NOMTVlODJ3RG4wYTNzaUU2SHhLelB1L3lpYUFL?= =?utf-8?B?S1hoWnJoRHQxNTFnM1NSQTJ6WktrZUFha1ozY29mSDBUUzFiQ0oxQzJ4dlJW?= =?utf-8?B?RFNiZW9Kc0I2aTNpTWJ2SVV3cXBEeDdGb3h2Z2ErU1dqMzI4VjNYbHNNdE1V?= =?utf-8?B?b1hPN0hxSGgycUVSTTUrYmxoMDI1Ri9LYVYxNWRtMm1zOFl1VlNrOURCd3JU?= =?utf-8?B?YWRrV0daaU9VQlR6Nll5dEdIUUJxSUkzUkw5WWxyNCtyWDVrQ0FwczFIV3h0?= =?utf-8?B?ZStBWjk4NFdrS2NaQ2Z3MEg3VVBON3RLbmNLMFN0bTllK01HQkVyRzV6M0FS?= =?utf-8?B?NXVkOHY5TGNZNzhZWHdrdnR4MFNBRHVrR01YY0JGSnptNGNDNkk1WDZTQmYz?= =?utf-8?B?SXY0OUxlRldUU3dpQjBjUEFZYk1NWWxkT2greno3M0lwVFFJQjAyVm8rR2Zx?= =?utf-8?B?REMvR1o1U3JOZm12NjlNTTcySVlPWnZaNGdaVVYrOFFUU24zNmdpTDVERWhC?= =?utf-8?B?ZHZiaHRzSVNEbmJtZWM2V2pVSU5VMktsNDd3a0RDc3ZObCtlMzdUaXRMKy8r?= =?utf-8?B?cEV0MWFMdHg1ei83bHBCeGV6c28xYm54NFRhZG5zZjM2d0VtcTlyZE5BUFJy?= =?utf-8?B?RGRGZE1neXQ2V2xlN0Z1QllkMU9MWnIzTUpES2xiNG5TSUNuYm9LNjd6bURB?= =?utf-8?B?TlpteVNaVVFFMWVkMGc4ODI3QWRjeDR0U285TDVBaTNCTVFCamJ3dEdTRGtG?= =?utf-8?B?YS9CWVpVMmVGaWtCOUFSU3NCOGNzSVdKcU85bEJCWkhFVk5XQXZPOWFQVTJT?= =?utf-8?B?dnRTbXNBV3c5TXVnbnRpL1BCMmp4SzdxSW05dWh3ZU5ZZDJzdkNhZG9DSnI5?= =?utf-8?B?U2NzUjJ0Ny9KeXNDeWhIWDdRZVp5ZFkrSHlzSXNMeGtYeTE0TlFBWlJzRjN1?= =?utf-8?B?ang5TVl5eml3d1ZUYXlleCtwaHR5RFUvcUJjeGJocGJXQXFCUTRJaUtZQXI1?= =?utf-8?B?eE5aQjB6bzhxNW1JSDlwNFRWTHJpSS9BdG5vUGJGRUtqZ1A1Q2RXaENWMmdC?= =?utf-8?B?V2pSZC9JUHBRV2FkMmoyc2dwS01JazJVMnF3RzAvVHc4MUcrYklCWVAzS3JQ?= =?utf-8?B?aWxUZ08vSkVuUnlJeTJncHlvRHhQSGI0ZHZrckE2REZ3VlhNUHQyMENXNTB4?= =?utf-8?B?clU4QlI1N2N4SjZzOUlsY3pUeVlFM3puM0hEYUNHRUtBTUwwd3hMOXM0SlFt?= =?utf-8?B?c0hEWGdOc2gyKzEvRUIwank1UjJlM0svaTlyeXBJdzlqaEVuZUhyOHhVZldL?= =?utf-8?B?YXdzdHFZNDFWeG9VdVFoR3ZIOEJaTlhrcDBaNFY5aVhWSktvU0tvRngvSEdH?= =?utf-8?B?bGdTNkJacmtCNEJiTHZUUFhrakVtTVBGYjd3R2ZaUUZIN3ExOWx6ZW1mU0VC?= =?utf-8?B?Si9UVUVYZWR3UFdydVlsSmF4NU5icVJqS2RkK050SmdNdERJY1d5bjN0dWFV?= =?utf-8?B?VkVEVlV6TW1vVWlMaFlVZzlYNUg4NkJRVmFabEpTZ3Q2SExqTkI1bzN3PT0=?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BEZP281MB3159.DEUP281.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016)(10070799003)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bXVzY0k0a3hBYmJ6eURsTDBiWG9DWkh3U3VYOE8vU012RDRpWlNPckRZS2pN?= =?utf-8?B?Yng2d1htbTBPUmZqell1S00zOFBuYjVoaVVKWW5XSU1ja3dMY0pYMVRRanlK?= =?utf-8?B?N1R2cFI2eDk0QytCRzgrM1crSko1eVVRZXdWRFg1eGNtUWhRYWpFVW53MHRo?= =?utf-8?B?cXVwZFBOK1JmSXpxdTY4WXNPMENUUGluYTdxWUVzczhtc2d6TWE1c0dPMlJB?= =?utf-8?B?RnZCM0RkNVJwc2RMV1ZabWVhTTJ5U0lEa0JQTHZ0VFlRZ3hlZUZWUUFnd0l1?= =?utf-8?B?aWZJNU01S2JwVjg3K2ZHQ1JsQWF1SUdrc0lqUXJIN01tSVZRSlgrRzY5Ykl0?= =?utf-8?B?Zk9TNCsxU3hHNDVGemZkaUNnOFF3MnRXRVFCQk5IQ0I3SmFwNFNBU1pkMlVv?= =?utf-8?B?VnJUUzd4Wm56NEIxY20xUy93eDA2blZOQmpsdjUwM3pabEdrS2JPSFdIVENT?= =?utf-8?B?L2ZibkNjdXhqOWJIeDNRNjNIWVVXbFZCcmZpVWI5cHowVXREbkp3clJOTW1P?= =?utf-8?B?azNHUTNzZFRDS2xkbGloVytlZGsreWM3d1RGK3dKeW9qbkhEYmNxNHVaRjAz?= =?utf-8?B?Nnp1bmFDWkNseHlVSkNESnI1ZWthMElaSUFiOU5HNlRTNlIrWmx0K3hFNGdG?= =?utf-8?B?dDJERk5HQ2I0bzFsM0VtN1JSZDVmb0F5a0FXSzhHbDM4aXc1dldNb2FpM09a?= =?utf-8?B?cSs5dG9JM0U2a0ZyWDgzekVrTGZMeU1hZDZSbU9ER1lmSm01L2FsTDkvRG05?= =?utf-8?B?TXBydVZBZExPU3RRUTJEbnVmTXlwYUVMRXoyUm5vWFpuZzRJMFZ0R3F6bTdF?= =?utf-8?B?b1VqTmZMWFNENklhRVNVK3U3ODlJTU1Sb3dkazIzVExGQ2hoaUJkdGxTSER6?= =?utf-8?B?ZHlORzBDNGFoVWcyLy9UcXdGTndPRkRnNWNiTzg1dUJPUWxLNjdxZUZrM1VK?= =?utf-8?B?OXlGT3U0YnFuN0V5VU5wSmNlN1ZDQUhweVZnbURObU92N0VUMktzcFRpZm8w?= =?utf-8?B?d0lyb3pwRlQ2bHJoRU5mZTMxMVozL1BNRjJONVBJZzVxN0JHUGlES2d2M0pL?= =?utf-8?B?MGhWMFJXak9mVk90NjBpcGhzeXRWbWw5SGFHbjBDOVA3bXhIMThwWXFiMnV3?= =?utf-8?B?NzJVS015bDhaZ2l2ODFMeDNnei8rOUY1TkV5WWhGZFMvbWNSclVJeU5zdEl3?= =?utf-8?B?aG0wa3piTE9Na2xIcm8ya0NTeW92My84SDNRTnpBcjhjZmJsVTJUYVBHQWxi?= =?utf-8?B?ZUoyK2dpc1g5SWtkNW5LWThjbHpHdGc4cFZqY2pUVnlOZjlaNlRBWURuTHJo?= =?utf-8?B?cUFyRGdlUHV3cE9QUndVTVhNb0FyS3NaVlB6V3ZVSXN0TndNV21RUmxmeXI0?= =?utf-8?B?RHZJSTFVN2lodms0dGlkQWVJVjRQVndDR05xemNCR0RTdGlCYkk0Nzd0L2R2?= =?utf-8?B?Q2RKYzZiMFRCT1BUTUNuMjFMbm1uZURqSWlDcG8wcnVkeENUQzJybXhCdzBv?= =?utf-8?B?MkJPZHcwcTlmN2hyQ1Z2YW9EeTZXTlRod0tHN3E5VzlVQTJqYWdHeE9mTGZX?= =?utf-8?B?UFRCbURROTF2bDl6WVkzQ2JoR1Y2VUNQNzRENXpDaW44cHJna2VOWW92elJk?= =?utf-8?B?T1hSaUNlb2UwYWpDTkpCVFJkdWI2S2N1V01pL0dnUlkrSzU5THAvUTJnRFVU?= =?utf-8?B?a2crTGFnUGRUMTNqZ1ZsNG1OaGY5cEQrQkFTdlpDTW9aWE0vU0ZKM3gyaTA3?= =?utf-8?B?VURGZWtOekxQdEJUeDVXeGhra0pWbzhPb2ZreVpEbjh2YzhJUVBmTjBZQnM0?= =?utf-8?B?eGxSVDNWUlY0QzZnSEpVOC9wVm9jUE1rVlgxa3FZVTkwVzZyMnhIYWFuUDlX?= =?utf-8?B?V2RENkV2Z3ZIdUZnSzM2dlhRaW5jVFVncU1wVW5sRW40RTFjcFg0RXlFM0o4?= =?utf-8?B?ZWwvbkwvVUE1UW45RGRxd1dIUDF3OUhaZ1RYVHVKU0s5QnpPc2pUMElsUkhG?= =?utf-8?B?UnZJMHlyQnhCVTBiZlhhOVhiZzVSVVl0OUR0bEhJM2hjWFVxZWkyWW4yMHVw?= =?utf-8?B?d3RQRzF3ekNRenFvc29VcVAwTnhlWmVmQUtSL25MRWU2ZTgxM21uVFQzakNp?= =?utf-8?B?aGJZWmdFelF1QXlRRVFmTWIvNXNjZ3o1MXgwV3dGVW1lRzBjTXZoc2ZGTFJx?= =?utf-8?Q?Gs5D/sKoG5+Lp3mmDkIjShJi1qvooBe9cJXHGEOBjFCf?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 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 X-OriginatorOrg: punkt.de X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BEZP281MB3159.DEUP281.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 932652c1-e1d8-4f76-dc0e-08dcedfe03d2 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2024 16:17:22.1188 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d1aa1808-3734-45fc-a490-f8ba49028756 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8OLyk1x4O9GtMbpoJ43cgNMMhinqcS2zF6e8vWi1bSHNQcENgG70W3ydMOyKgeSu X-MS-Exchange-Transport-CrossTenantHeadersStamped: FR3P281MB3056 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US] X-Rspamd-Queue-Id: 4XTGMT5ypjz4g44 X-Spamd-Bar: ---- SGkhDQoNCj4gQW0gMTYuMTAuMjAyNCB1bSAxNjoxOSBzY2hyaWViIFBhbGxlIEdpcmdlbnNvaG4g PGdpcmdlbkBGcmVlQlNELm9yZz46DQo+IFsuLi5dDQo+IGJ1dCBub3RoaW5nIGhhcHBlbnMsIGV2 ZXJ5dGhpbmcgaXMgcGFzc2VkIGRpcmVjdGx5IGludG8gdGhlIGphaWw6DQo+IA0KPiBuYyAtbCA0 NDQ0ICAgKGluc2lkZSB0aGUgamFpbCkNCj4gDQo+IGFuZCBJIGNhbiBqdXN0IHRlbG5ldCAxLjIu My40IDQ0NDQNCg0KVHJ5Og0KDQpzeXNjdGwgbmV0LmxpbmsuYnJpZGdlLnBmaWxfbWVtYmVyPTAN CnN5c2N0bCBuZXQubGluay5icmlkZ2UucGZpbF9icmlkZ2U9MQ0KDQpBbHRob3VnaCBJIGRvIG5v dCBrbm93IGlmIHRoaXMgYWJsaWVzIHRvIG5ldGdyYXBoIG9yIHRvIGlmX2JyaWRnZSg0KSBvbmx5 Lg0KDQpCdXQgb2J2aW91c2x5IHlvdXIgcnVsZXMgYXJlIG5vdCBhcHBsaWVkIHRvIHRoZSBicmlk Z2UgaW50ZXJmYWNlLiBUaGUgZGVmYXVsdA0Kb2YgdGhlIHR1bmFibGVzIGFib3ZlIGlzIHRoZSBv dGhlciB3YXkgcm91bmQgLSBkb24ndCBmaWx0ZXIgb24gYnJpZGdlIGludGVyZmFjZXMuDQoNCkhU SCwNClBhdHJpY2sNCi0tIA0KcHVua3QuZGUgR21iSA0KUGF0cmljayBNLiBIYXVzZW4NCi5pbmZy YXN0cnVjdHVyZQ0KDQpTb3BoaWVuc3RyLiAxODcNCjc2MTg1IEthcmxzcnVoZQ0KDQpUZWwuICs0 OSA3MjEgOTEwOTUwMA0KDQpodHRwczovL2luZnJhc3RydWN0dXJlLnB1bmt0LmRlDQppbmZvQHB1 bmt0LmRlDQoNCkFHIE1hbm5oZWltIDEwODI4NQ0KR2VzY2jDpGZ0c2bDvGhyZXI6IERhbmllbCBM aWVuZXJ0LCBGYWJpYW4gU3RlaW4NCg0K From nobody Wed Oct 16 17:39:20 2024 X-Original-To: freebsd-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 4XTJB93vgGz5Yntq for ; Wed, 16 Oct 2024 17:39:29 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4XTJB856YDz4njC for ; Wed, 16 Oct 2024 17:39:28 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=yPE7UErR; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=gXakuKJK; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.147 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id 6E67C13800B7 for ; Wed, 16 Oct 2024 13:39:27 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Wed, 16 Oct 2024 13:39:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1729100367; x=1729186767; bh=Sq+nZbnWDt ujdczfQk5+X0OX7FDdds0YBB7h1b3et3Q=; b=yPE7UErR4R3YgJjAmi4KRcnXhS AK4CcLR4KRer/Y7Y5uQ+HbybtS8m8f43O9vyaKs9ofM+5lI98mmGou6QZGBuWWMh R/zoY7pfkWSRSsXSoPHqSkLxZkWQCihUlEGmr+N6ryVMHWtMFtscbcO7x6iUNF5a bxwZSLUc1akGZayT2DvoubvQh+D2jxHIask+eF9k7pFI4RxBQHiCu17sRdjRPM// y5F64oZaSB3AJT/UsMPkNeRDpY4vfjIaz/lmjw74xIchCjsXzOSmiQZJAwppN5JO Xye4m2ld696H683XqUGZPpsz825Mr4zOwYwLv+mDVO4IPj0i7ydquWDmGhDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1729100367; x=1729186767; bh=Sq+nZbnWDtujdczfQk5+X0OX7FDd ds0YBB7h1b3et3Q=; b=gXakuKJKtvYMLsfqx+28UO/2c29vRFpbVM3jBJc37HYA IdOIG3q+etZ2jVqGA8KdKlfkl9ehnO8WKuQBJMMoc+JPZtK4LvM2zFCBP3TvycyD 3WQ36s+HopMyZqBilMhm/zkGNbf6ZIBUjGR9fklmY0s8rsj3L+MGVzkAh38tk+5N saQQveOnktoyZVgQaorf+mnTdv36vRUlcC9Hc3ecCADU+ZIwsUmSWmOiiF8E+pSl 6ONNVjv8qZg4+2ZSkuhm8C8SLidCvJrX/xoKRDpvs54jwEoU5QyAIwi2KvpAM1lx /iizcMtlX99TKF193bnL2aHHQavSKlRo6mLyz2bGCw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegledgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvf fukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdq mhdrfhhmqeenucggtffrrghtthgvrhhnpeekleduvdelhfeileefgffghfffkedtheelle fgudfgvdegkeejjedutdehhefgueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehvohhiugesfhdqmhdrfhhmpdhnsggprhgtphhtthhopedupd hmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrhgvvggsshguqdhnvghtsehfrhgv vggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 16 Oct 2024 13:39:26 -0400 (EDT) Date: Wed, 16 Oct 2024 18:39:20 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.147:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[103.168.172.147:from]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XTJB856YDz4njC X-Spamd-Bar: --- Hi, On Tue, Oct 15, 2024 at 09:48:58AM -0400, Cheng Cui wrote: >I am not sure if you are using FreeBSD15-CURRENT for testing in VMs. >But given your iperf3 test result has retransmissions, if you can try, there >is a recent VM friendly improvement from TCP congestion control CUBIC. > >commit ee45061051715be4704ba22d2fcd1c373e29079d I've just realised, your commit didn't land in main until 17th Sept so I'll need to buildworld etc on the bhyve *host* as it was last built on the 8th. Would this make a difference? The new vms are -current and have been built over the last couple of days, from fresh sources, so these will have your changes. The iperf3 destination is stable/14-n268832 amd64 1401502 1401502. -- From nobody Wed Oct 16 18:20:36 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 4XTK5d1tZmz5YqVN for ; Wed, 16 Oct 2024 18:20:37 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTK5c54QBz4sxT for ; Wed, 16 Oct 2024 18:20:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729102836; 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=gunGrS0ANA7b1irElQh/mMnMPHC6ixeC9lbNOx9alYU=; b=WL/aU2W+vHEO82SBp08maQ9glQp2X8zZqgNle8cpeSo4eMlqK5t7aCaWC+tuot2s60yUhm aD917SUSXjanGg17LYZkhNWOE9EBxTIeSGyu9VsYq/3mi/nLYDkxgyQPtCjMZNAlHbJcGo cKMLoA8fZkstfRx+yu3y9b40OVyLJMG6wN0vqXzZdgA62oyJi6SlCAaUUM5XTo0necDefA H45C0FKPR/rmSkb7ZwiG3vhk30RxREKBI1bQUIVtK59I4k7z+MtIhiy/ekB5KxhsHJnad8 yr3C5MqqSEGUqRzU7JOzPNMCs519953uX8YpUJEkqPAi3G/x1IS9kUh7IA82aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729102836; a=rsa-sha256; cv=none; b=F19xDcz0eZ+s4HOFsyaB/4mvVU4v7WTqb3IUzODFUiZZ7JIKi68/7egIpwKITVSQ9mdAfk +yJcezi/yheDOjyVEL5HMU/RkCxJAuEsuvUA1ELQmOIW3SQbbtKmoPoXigt2ZJB52dKVUH Bi+C1xL1IwExoRf/aTYJrcUXIHIdHwjsbwq3PqBtI0bToslY0H+NyOZzivH9yWrplt6DCl BPnuuNTV+ghwzCoHFKR5XJNyUIJK7X+g9+6vZm+hKxpYlPzp/Ya/n46W+hWUiTBVMt1nsj XORLul6xvkVkVnSP73t79/8lBzoOn4q3/k2K8s7DSa3d7DB4ckCUhRiQh+OpaQ== 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 4XTK5c4gxVzGlH for ; Wed, 16 Oct 2024 18:20:36 +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 49GIKaIF068232 for ; Wed, 16 Oct 2024 18:20:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49GIKaCo068231 for net@FreeBSD.org; Wed, 16 Oct 2024 18:20:36 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 282140] igc(4): Wake on LAN not working with Intel I226-V and GENERIC Kernel Date: Wed, 16 Oct 2024 18:20:36 +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: 14.1-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords 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=3D282140 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |IntelNetworking --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Oct 16 18:47:37 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 4XTKhn6S8Nz5YsGr for ; Wed, 16 Oct 2024 18:47:37 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTKhn5PSmz3ynp for ; Wed, 16 Oct 2024 18:47:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729104457; 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=DJom7Xc6KVqAE/78FQZ2139HRaGbRbMDtrG2eMbX/qE=; b=fkREddFFXZRkJA7kC282kJBSRjPl26oV0dIbzn+fN/xIjDNqOWq3oIhBJAUafsPxOlEill VH2CZ2SZMNzo7BIldKGZhx+X+JUG/Mne7EydGwDAMo+ZVjNVYiRmhGRa6ZcAiwWNw3+fwG z0FVpykpR5PYaFJb4BZ0OJ2F3c4tBFYas5UrB/yWknF4cv6Z4mzFm0c3HxpRsNH07Ibgg/ jAGopLrD5ZXTzHviJJ0Vrw9zG/1ALwQcQv+EfePYdnmvkgoxsMyvNYtU2onbaKtbcbLA6V 8NcHH+RbQyXZdoybYSgjJsw0QCAKBszdG+j4PZb3eagWXYLMZujJLgz6PXtywA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729104457; a=rsa-sha256; cv=none; b=Wxjpp3+hVlP0eIjGGDhhF+uF9I2viCYqFmsZpMt+hbtKhxFlj7bNqmfDW+3xS+DCzvLZDs X/NWLYiK5B4Ks6jPWCPaLXEWdAJXnJNhxxjkLY+T4gnDaHrd52ZD9m3xP5XAIQC9sGKL3w CgIhWabIHEnzQq3SAfVuBtqLgmF8ME93zi/Uxmli2g7Fj0Hd4uj6WBiIaMJ/EwsdE+tiAZ LEgSv6iVeDkAEUOwEkimLoHrkw98qEQOaTq4us9rLZgGLQ2FPvlaWYMuSprIcbvjJOs/k8 MD5LRrLmGiio7qi+ghUpydAXyvhqVpkefpr+LF2Nn4zfAL248Vv0RrlOnnqoJg== 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 4XTKhn4vqWzHQ4 for ; Wed, 16 Oct 2024 18:47:37 +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 49GIlbvl017989 for ; Wed, 16 Oct 2024 18:47:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49GIlbeW017988 for net@FreeBSD.org; Wed, 16 Oct 2024 18:47:37 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 282140] igc(4): Wake on LAN not working with Intel I226-V and GENERIC Kernel Date: Wed, 16 Oct 2024 18:47:37 +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: 14.1-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kbowling@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: 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=3D282140 Kevin Bowling changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kbowling@freebsd.org --- Comment #2 from Kevin Bowling --- This is a known (to me) issue, the e1000 driver also does not currently sup= port WoL. It will be a fair amount of work to audit the driver and datasheets to make= it work. If there is some use case that would benefit a corporate sponsor, it would be good to make acquaintance. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Oct 17 00:15:52 2024 X-Original-To: freebsd-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 4XTSzp3LfWz5ZBkZ for ; Thu, 17 Oct 2024 00:16:06 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a8-smtp.messagingengine.com (fout-a8-smtp.messagingengine.com [103.168.172.151]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4XTSzn45zRz4MwF for ; Thu, 17 Oct 2024 00:16:05 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=NvS6xlWM; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=RliyV8ou; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.151 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id 856DC13803A9 for ; Wed, 16 Oct 2024 20:16:04 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Wed, 16 Oct 2024 20:16:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1729124164; x=1729210564; bh=dX2eJ3iiSK wVs6yP+5K8PwZJ1aRR6WNHnVs71I5T7gA=; b=NvS6xlWMgpG0mDDsyVtsUmVtWh u9HxXScMKZgbyGmmJMtCibJGp9pfqdYzoYUdgE3vS2uPgvrGYZChbpVRG+7ZJDxv FPpJwAbDQtRbKTCkKbH9RvZ5DQ6RPF2j+2sKVRinOhrkSfV8HlwtyXxgdDGc/xlK xYsKzOoOVKUG5EVL1SiO77D9qO7zEfBM90NUMq9Ys+i0K/PsBPFGkMTxLc+ImXsJ Kzs3XdL2yp0Hwa9W3lq52LeM69XxvePa26Cbv2emIqKOMovt/vo7vLMtcJWSQ2Y/ G8CWU9mtsl8YXk/ETw46kgHHwJTQxTDOjKA49eWIHZuav4PwvcF3WytdPBEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1729124164; x=1729210564; bh=dX2eJ3iiSKwVs6yP+5K8PwZJ1aRR 6WNHnVs71I5T7gA=; b=RliyV8ouEvcZvSarrAi8mFeSgLrBhjQ3P4hyQaZlqi8L TjRIbP462BV2EoPIe0ita7zsEOGAqfr2060Z4RkGq1AV+z2SF9nxjNB0j66rfcus H1Erdg+3pPfb6UX7E9qqETSqKVx4AedzbuRQCadqQoDu1mJcxfWdepDlILNdZevW 5y6LvhU0WccfoYI7Dn6Fuiq1mxkoU4kfMH+Z1yeqZzbQFlvFeYMR/GKkzehXlWT3 cfxU22cj2K0pzWeMYOu1rwGHmKLIlrLORsxtSFffNQaFp+PW150cY1JPNyQBQyTt Z0VR9uSjZyxQGsXgoTrNtkbHq2Z/6ZmTNd7xlvH/ww== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehtddgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnhepleevvefhheeffeffheefffekvedvfffgtdffje fhfedvgeelveevudejjeejleehnecuffhomhgrihhnpehushgvrhdrfhhmnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhhoihgusehfqdhmrd hfmhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohep fhhrvggvsghsugdqnhgvthesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 16 Oct 2024 20:16:03 -0400 (EDT) Date: Thu, 17 Oct 2024 01:15:52 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.59 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.151:from]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XTSzn45zRz4MwF X-Spamd-Bar: --- Hi, On Tue, Oct 15, 2024 at 09:48:58AM -0400, Cheng Cui wrote: >I am not sure if you are using FreeBSD15-CURRENT for testing in VMs. >But given your iperf3 test result has retransmissions, if you can try, there >is a recent VM friendly improvement from TCP congestion control CUBIC. I did some further testing, also rack v. non-rack. http://void.f-m.fm.user.fm/speedtests-cubic.txt -- From nobody Thu Oct 17 09:03:20 2024 X-Original-To: freebsd-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 4XThhw2rPcz5Ykg5 for ; Thu, 17 Oct 2024 09:04:00 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XThhw154hz4FXX for ; Thu, 17 Oct 2024 09:04:00 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-539ea686fd7so96132e87.2 for ; Thu, 17 Oct 2024 02:04:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729155838; x=1729760638; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gj7s9ca58oAlw663j9CjctWeGrX6ZM4FJVE8aduq8RU=; b=APp1v+v+r90bARRaiCw0FjfIiDWp5EW5MJDlkSIaClRaT2AcvRCfV2GSkhzdzqhbzo IiWg4b1+a89SbflpeIlXh5cDtO8Ng7N5W1yO7bHHFZjlL09t8dfotgTDUnQeePb8P7aN K88Ge+xfSXJG0b5WzQh/QB/gLx46BiM2RCrSuPesoFlnNZ5T952rOVKWakKoiDE0w0Vs wfFwMBeX5Duu9IwVG2zk1cyRcpeY32PJtIB2LjpqpU2LTHnVrk9cKIT1YvQXrqddMHZ4 P2MU+wvntRkR+Iorz2aUvyy0ButkloVz39NDQmt6xx25XttG9C6ij3bxRNqlXQ+yD8Ec rcMw== X-Gm-Message-State: AOJu0YzMPuD7ue0eWpYqz07WaTgeVVxs9N7y/mCWnhwXWVAAf3cpIvp9 MBsFQZLIEOPW30ZM5BhiSW3/Ol4bPgBzHRjrBMmSWJA1QS4zAP++zbJrC/EL X-Google-Smtp-Source: AGHT+IE3kSlc+8ytWNl6nrvKnQjHknqU3XvJOos4x8OtatURShWdz5WUWNmw58qJ4+WfMFYd9XKPig== X-Received: by 2002:a2e:bc18:0:b0:2fb:3e40:a8fc with SMTP id 38308e7fff4ca-2fb6df10446mr3981581fa.5.1729155837130; Thu, 17 Oct 2024 02:03:57 -0700 (PDT) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com. [209.85.167.54]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2fb5d0fdf5csm6663501fa.14.2024.10.17.02.03.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Oct 2024 02:03:56 -0700 (PDT) Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-539e576d665so87620e87.1 for ; Thu, 17 Oct 2024 02:03:56 -0700 (PDT) X-Received: by 2002:a05:651c:2125:b0:2fb:56c1:c4 with SMTP id 38308e7fff4ca-2fb6deeee40mr3674971fa.3.1729155836658; Thu, 17 Oct 2024 02:03:56 -0700 (PDT) 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 References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> In-Reply-To: From: Cheng Cui Date: Thu, 17 Oct 2024 05:03:20 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Performance issues with vnet jails + epair + bridge To: void Cc: freebsd-net@freebsd.org Content-Type: multipart/alternative; boundary="00000000000067d6b70624a8771f" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4XThhw154hz4FXX X-Spamd-Bar: ---- --00000000000067d6b70624a8771f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for your testing! >From your VM test result in the link, if I understand correctly, the CUBIC in base stack has +24.5% better performance than the CUBIC in rack stack, and it is better than old releases and OpenBSD. That sounds like an improvement, although it still needs to be improved to catch up with the Linux kernel. FreeBSD 15.0-CURRENT base_stack: 807 Mbits/sec FreeBSD 15.0-CURRENT rack_stack: 648 Mbits/sec FreeBSD 14.0-RELEASE: 594 Mbits/sec FreeBSD 14.0-RELEASE-p11: 478 Mbits/sec FreeBSD 14.1-RELEASE-p5: 551 Mbits/sec OpenBSD 7.5: 676 Mbits/sec Linux 6.6.52-0-virt: 941 Mbits/sec cc On Wed, Oct 16, 2024 at 8:16=E2=80=AFPM void wrote: > Hi, > > On Tue, Oct 15, 2024 at 09:48:58AM -0400, Cheng Cui wrote: > >I am not sure if you are using FreeBSD15-CURRENT for testing in VMs. > >But given your iperf3 test result has retransmissions, if you can try, > there > >is a recent VM friendly improvement from TCP congestion control CUBIC. > > I did some further testing, also rack v. non-rack. > > http://void.f-m.fm.user.fm/speedtests-cubic.txt > -- > > --=20 Best Regards, Cheng Cui --00000000000067d6b70624a8771f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for your testing!

Fro= m your VM test result in the link, if I understand correctly, the CUBIC in = base stack has +24.5% better performance than the CUBIC in rack stack, and = it is better than old releases and OpenBSD. That sounds like an improvement= , although it still needs to be improved to catch up with the Linux kernel.=

FreeBSD 15.0-CURREN= T base_stack: 807 Mbits/sec
FreeBSD 15.0-CURRENT rack_stack: 648 Mbits/s= ec
FreeBSD 14.0-RELEASE: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0594 Mb= its/sec
FreeBSD 14.0-RELEASE-p11: =C2=A0 =C2=A0 =C2=A0 =C2=A0478 Mbits/s= ec
FreeBSD 14.1-RELEASE-p5: =C2=A0 =C2=A0 =C2=A0 =C2=A0 551 Mbits/secOpenBSD 7.5: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 676 Mbits/sec
Linux 6.6.52-0-virt: =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 941 Mbits/sec


cc

= On Wed, Oct 16, 2024 at 8:16=E2=80=AFPM void <void@f-m.fm> wrote:
Hi,

On Tue, Oct 15, 2024 at 09:48:58AM -0400, Cheng Cui wrote:
>I am not sure if you are using FreeBSD15-CURRENT for testing in VMs. >But given your iperf3 test result has retransmissions, if you can try, = there
>is a recent VM friendly improvement from TCP congestion control CUBIC.<= br>
I did some further testing, also rack v. non-rack.

http://void.f-m.fm.user.fm/speedtests-cubic.txt --



--
Best Regards,
Cheng Cui
--00000000000067d6b70624a8771f-- From nobody Thu Oct 17 09:05:41 2024 X-Original-To: freebsd-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 4XThld60bZz5YlNH for ; Thu, 17 Oct 2024 09:06:21 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XThld43j2z4GRt for ; Thu, 17 Oct 2024 09:06:21 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-539ea686fd7so96475e87.2 for ; Thu, 17 Oct 2024 02:06:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729155979; x=1729760779; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WMxwntStj1nbrRyWW2U/93LKbLrtffJfYIlH0yooy54=; b=do04eO84S4SjFnV6Tf0vi4TJDgsZR3rTjWzeYZEA3K0DwcfioGYzikVd2fpzfBcvwh ue2njWgyk6M/KUhmI9GpDdfmShMPH4fjO5r0m+uwYGW60AjYXpxIUwq/fCQKHlXq8odE HvzoZXngwqPvRf9T09S0Np8wrO/I1l9XFCNOzEL0NSnDm1nGHKpAvsNdRp7cE8Vis3S8 Eow3D7+jBMYZNusnC33aWTbo+SwMmTritOIbZtgh+VGZq8Hsi4WkqefjTvmIsPldIoB1 /Rb/+z9m0do3BWBV+DBmaUqV4NQ2G9C74nVlmUotUzwt9+tGs4go9TwynLe0TTcKyb5V R3Pg== X-Gm-Message-State: AOJu0YwMoGQp3O9gugS6IJNVF57OLAfwIrgScDVzKQ5Utvj5Gwd//X2Y kqz5LqX7lGikufOI9uCFs7CRMA6XnjPvK4Ks/aA/el5yqUaE4u2svWmWyEbT X-Google-Smtp-Source: AGHT+IGUFkYfWjNViDLwBs1tHF/drna37KPBwNf7J4H2u9F8WyEMFVz/pr9gsPbfiPTVUdo6H91I2g== X-Received: by 2002:a05:6512:128f:b0:539:a353:2762 with SMTP id 2adb3069b0e04-53a0c636231mr398707e87.0.1729155979030; Thu, 17 Oct 2024 02:06:19 -0700 (PDT) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com. [209.85.167.42]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53a00006862sm709028e87.200.2024.10.17.02.06.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Oct 2024 02:06:18 -0700 (PDT) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-539ea686fd7so96471e87.2 for ; Thu, 17 Oct 2024 02:06:18 -0700 (PDT) X-Received: by 2002:a2e:be83:0:b0:2fb:519e:b773 with SMTP id 38308e7fff4ca-2fb6deeeccemr3394811fa.2.1729155978610; Thu, 17 Oct 2024 02:06:18 -0700 (PDT) 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 References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> In-Reply-To: From: Cheng Cui Date: Thu, 17 Oct 2024 05:05:41 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Performance issues with vnet jails + epair + bridge To: void Cc: freebsd-net@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ddd7330624a87f22" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4XThld43j2z4GRt X-Spamd-Bar: ---- --000000000000ddd7330624a87f22 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable My commit is inside the FreeBSD kernel, so you just rebuild the `kernel`, and you don't need to rebuild the `world`. cc On Wed, Oct 16, 2024 at 1:39=E2=80=AFPM void wrote: > Hi, > > On Tue, Oct 15, 2024 at 09:48:58AM -0400, Cheng Cui wrote: > >I am not sure if you are using FreeBSD15-CURRENT for testing in VMs. > >But given your iperf3 test result has retransmissions, if you can try, > there > >is a recent VM friendly improvement from TCP congestion control CUBIC. > > > >commit ee45061051715be4704ba22d2fcd1c373e29079d > > I've just realised, your commit didn't land in main until 17th Sept so > I'll need > to buildworld etc on the bhyve *host* as it was last built on the 8th. > Would this > make a difference? > > The new vms are -current and have been built over the last > couple of days, from fresh sources, so these will have your changes. > > The iperf3 destination is stable/14-n268832 amd64 1401502 1401502. > -- > > --=20 Best Regards, Cheng Cui --000000000000ddd7330624a87f22 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My commit is inside the FreeBSD kernel, so you just r= ebuild the=C2=A0`kernel`, and
you don't need to rebuild the `= world`.

cc

On Wed, Oct 16, 2024 at 1:39=E2=80=AFPM = void <void@f-m.fm> wrote:
Hi,

On Tue, Oct 15, 2024 at 09:48:58AM -0400, Cheng Cui wrote:
>I am not sure if you are using FreeBSD15-CURRENT for testing in VMs. >But given your iperf3 test result has retransmissions, if you can try, = there
>is a recent VM friendly improvement from TCP congestion control CUBIC.<= br> >
>commit ee45061051715be4704ba22d2fcd1c373e29079d

I've just realised, your commit didn't land in main until 17th Sept= so I'll need
to buildworld etc on the bhyve *host* as it was last built on the 8th. Woul= d this
make a difference?

The new vms are -current and have been built over the last
couple of days, from fresh sources, so these will have your changes.

The iperf3 destination is stable/14-n268832 amd64 1401502 1401502.
--



--
Best Regards,
Cheng Cui
--000000000000ddd7330624a87f22-- From nobody Thu Oct 17 09:49:17 2024 X-Original-To: freebsd-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 4XTjjX3Vw1z5YnKV for ; Thu, 17 Oct 2024 09:49:36 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a6-smtp.messagingengine.com (fout-a6-smtp.messagingengine.com [103.168.172.149]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4XTjjW5cvKz4QNG for ; Thu, 17 Oct 2024 09:49:35 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=rxcRQpik; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=bxmotn7V; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.149 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id 246471380368 for ; Thu, 17 Oct 2024 05:49:30 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Thu, 17 Oct 2024 05:49:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1729158570; x=1729244970; bh=SNJDRQSdbA 1Dbl+YgesGEkDgOk0lU45XlLboNvpDlnk=; b=rxcRQpika/cCjZSO2DXaoWTGl7 +0DwwB3p3JjTM9bAm/NtjG8qHRXF/NG7e/S4+3p/VL5yW882D4hnDaimJVcb3uXM 0mypFu8lRt5RDwDud2w+1Ie5tx+kckFMjXvSPCvS0bgWaBfDhEmLRDehsvTFhUFj FRTauSe2X99vFAedXBE0sVgBIRUTPoziTSc29wQpvRGxnGF8F9NOTTra9Alu+VSy 3tz5g6NAKGhdMZAAFcMQ61M3La797xSlLo3nZ05Psh9nDzj4AqbSOK1RHnN4PH0W rQtCRx15cRonn3PiN/0iaKo92O7Oqsp2kqZaXGWFFaT3qGBpV4OouMHvAwow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1729158570; x=1729244970; bh=SNJDRQSdbA1Dbl+YgesGEkDgOk0l U45XlLboNvpDlnk=; b=bxmotn7VLFOzTiQFq+8Ha1AyxUHLnHQA9/EacTV7ddXA EA7f5vE42XeZm2zPr/Tetandywl2qzGjOiiDC+U2uInEBBuTqltMw2InqIKlHahU 9wLRBFPjoKmAwJLw0TXbOZ2rw2+D4AM+EHsE1e9U2JnquLjK8S2nJ/Qdydcc7tvs H3yvhJHNKeab0xSTsJGfbrScR1HS906MR/Y2L4bCmrWHEOXY7nfSiakw1XQOl5Ui M7qnFU1M5H61bawZqtgga9tqXk1Dy5U2JY+92JUigeTr490mAkBBQSrAnJuEn7NI Mp4z7f2lnuJH2B606rmigT/eEpDTY5L1LacMHcdN9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehuddgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgf dugfdvgeekjeejuddtheehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepvhhoihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghsugdqnhgvthesfhhrvggv sghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 17 Oct 2024 05:49:29 -0400 (EDT) Date: Thu, 17 Oct 2024 10:49:17 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.149:from]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XTjjW5cvKz4QNG X-Spamd-Bar: --- On Thu, Oct 17, 2024 at 05:05:41AM -0400, Cheng Cui wrote: >My commit is inside the FreeBSD kernel, so you just rebuild the `kernel`, >and you don't need to rebuild the `world`. OK thanks. Would building it the same on the bhyve *host* have an effect? I'm asking because you earlier mentioned it's a vm-friendly change. I can test this if you like. I'm wondering if some changes on the host also change the vm throughput. The host is currently using rack but the kernel is older than your changes. The host has expected throughput for 1GiB ethernet right now. Everything in the tests apart from the test target had the default params for the ethernet interface, so things like TSO are enabled. How can I apply your commit into a local 14.1-p5 src tree? I think this is called 'cherry picking' but I don't really know much about git at all. It'd be interesting to test, i think. -- From nobody Thu Oct 17 15:08:27 2024 X-Original-To: freebsd-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 4XTrpC4VDGz5Z6BG for ; Thu, 17 Oct 2024 15:09:07 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTrpC2FKVz57LN for ; Thu, 17 Oct 2024 15:09:07 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-539d664b49aso157972e87.3 for ; Thu, 17 Oct 2024 08:09:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729177745; x=1729782545; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UMcmKbaMKz+0JBYCXZ1VDqunWgDoV/gAL7uxT/2GGnI=; b=Uq/7b9h7hRsuWVwolFP6+M2/SRp8nF+K/gFfNmak5QwRw6iH5bZ/hlWQot0LcX8+Jl I5lW5Vtd2YowhOuJtKemRzu6OF9720QwWPtUggVL5Vfq7ddLfxTqk0px8cBoNxdR0q3A 99SyRaBOA6NyHa0FnFK+BXEm7DjYfLu5zBZhf/EN8go7oo5akpexNK4lv2z9BTjWTNIJ nb4v+vv+QSEtIUr+ame4eR6pMQQ9KXDYcTH//5C7WqlEa7fjt6uo3zi2TN6h9qO9VUGv lm1f3AD4Eib84yKg9a4ldfmlB8cZtrY+QJLT8mFYmGcqOebhu3DKyoj5D9s3FTH9sXCo Uylg== X-Gm-Message-State: AOJu0Yz54shgMsPVSkCPD1xtx3DJrtmAgqc5YZibVRjtqlm0VsbFU0Wy xyiyQjFH911Uv+VY8P1HKIx13vMguYoQ6afXPcLyE3M7pC3elcGxFRds/zy+ X-Google-Smtp-Source: AGHT+IEYFcy3GQOm/ZfiUONzzih2laFBuM6C0k98Gfgp4XBOgnveOcDoEVeVm3d6tKk0jnrPx9oExA== X-Received: by 2002:a2e:be9c:0:b0:2fb:357a:be3f with SMTP id 38308e7fff4ca-2fb6dee44a1mr4823491fa.3.1729177744883; Thu, 17 Oct 2024 08:09:04 -0700 (PDT) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com. [209.85.167.43]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2fb5d0fdd3fsm7648401fa.1.2024.10.17.08.09.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Oct 2024 08:09:04 -0700 (PDT) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-539d9ba5c81so151830e87.0 for ; Thu, 17 Oct 2024 08:09:04 -0700 (PDT) X-Received: by 2002:a05:6512:3c84:b0:52e:fd7c:8b9b with SMTP id 2adb3069b0e04-53a0c75d39amr674439e87.7.1729177744481; Thu, 17 Oct 2024 08:09:04 -0700 (PDT) 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 References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> In-Reply-To: From: Cheng Cui Date: Thu, 17 Oct 2024 11:08:27 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Performance issues with vnet jails + epair + bridge To: void Cc: freebsd-net@freebsd.org Content-Type: multipart/alternative; boundary="00000000000036b48a0624ad91ff" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4XTrpC2FKVz57LN X-Spamd-Bar: ---- --00000000000036b48a0624ad91ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The patch has no effect at the host if the host is a data receiver. Also the patch is for the FreeBSD main (15-CURRENT in development). There is no plan to merge the commit into prior releases, given the code base has been branched for quite some time. cc On Thu, Oct 17, 2024 at 5:49=E2=80=AFAM void wrote: > On Thu, Oct 17, 2024 at 05:05:41AM -0400, Cheng Cui wrote: > >My commit is inside the FreeBSD kernel, so you just rebuild the `kernel`= , > >and you don't need to rebuild the `world`. > > OK thanks. Would building it the same on the bhyve *host* have an effect? > I'm asking because you earlier mentioned it's a vm-friendly change. > > I can test this if you like. I'm wondering if some changes on the host al= so > change the vm throughput. The host is currently using rack but the kernel > is > older than your changes. The host has expected throughput for 1GiB ethern= et > right now. Everything in the tests apart from the test target had the > default > params for the ethernet interface, so things like TSO are enabled. > > How can I apply your commit into a local 14.1-p5 src tree? I think this i= s > called 'cherry picking' but I don't really know much about git at all. > It'd be interesting to test, i think. > -- > > --=20 Best Regards, Cheng Cui --00000000000036b48a0624ad91ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The patch has no effect at the host if the host is a = data receiver.

Also the patch is for the FreeBSD m= ain (15-CURRENT in development).
There is no plan to merge the co= mmit into prior releases, given the code
base has been branched f= or quite some time.

cc

On Thu, Oct 17, 2024 at 5:49= =E2=80=AFAM void <void@f-m.fm> wro= te:
On Thu, Oct 17, 2024 at 05:05:41AM -0400, Che= ng Cui wrote:
>My commit is inside the FreeBSD kernel, so you just rebuild the `kernel= `,
>and you don't need to rebuild the `world`.

OK thanks. Would building it the same on the bhyve *host* have an effect? I'm asking because you earlier mentioned it's a vm-friendly change.=

I can test this if you like. I'm wondering if some changes on the host = also
change the vm throughput. The host is currently using rack but the kernel i= s
older than your changes. The host has expected throughput for 1GiB ethernet=
right now. Everything in the tests apart from the test target had the defau= lt
params for the ethernet interface, so things like TSO are enabled.

How can I apply your commit into a local 14.1-p5 src tree? I think this is<= br> called 'cherry picking' but I don't really know much about git = at all.
It'd be interesting to test, i think.
--



--
Best Regards,
Cheng Cui
--00000000000036b48a0624ad91ff-- From nobody Thu Oct 17 15:17:16 2024 X-Original-To: freebsd-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 4XTrzz6ryjz5Z6ZH for ; Thu, 17 Oct 2024 15:17:35 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a1-smtp.messagingengine.com (fout-a1-smtp.messagingengine.com [103.168.172.144]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4XTrzy0z8fz58BD for ; Thu, 17 Oct 2024 15:17:34 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=HfxytEkt; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=J3vpQy1+; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.144 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id A3455138081E for ; Thu, 17 Oct 2024 11:17:28 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Thu, 17 Oct 2024 11:17:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1729178248; x=1729264648; bh=YZWpr4fYwe qxcMwpYURC4qjOegxAHZkof/S1iQsoRMc=; b=HfxytEktstVIYjtUfmxeH0hoKU 59+8nQri+tODF2dFaDblXVxri0/ZWPfXJOHG5Hts7lM9pOUD9a2nb372f5GauBXU EzfEA2z6/DNP4jDzYxZfv5ohgdrufN12wetP3BLI0LXFkrD5Akcn3lvcm4eNrsUE XzQh4VhsUPwSQuShlbYmzC0jzrULFiEcisRIw7hhCX8nv9wDrfuXudom3CZONQWi OA/tFCTSR7skTrQ2aUtHjlsXQDQf0Y0+XXw7fBUGWpL5r9FgpuTa7zeJdyVEkzQW PX82EbhjMSE0ZDDjmfTHlF3a/t8DBjHUyJQMhEyhQtT1U50gi+eXUGiKGKEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1729178248; x=1729264648; bh=YZWpr4fYweqxcMwpYURC4qjOegxA HZkof/S1iQsoRMc=; b=J3vpQy1+NUG88X0SsarMSUL5Kak7oQycSOG5A3oEEBOG CmA5P4750JVeKeDgwxg8IX5LnarBpgxLOD9w8VwIJxGE+UTAcFJjG2AWydR8wXqV cSTK/jz5Cpug3EKV7mrkog5rtXTPs2g7sKq8ba7vAU64fdWonkd5aQpwWp3g1pKH pdvwOuXRYOjTqm+iVKR8juN9eb3xTY82ptpY92y/RcnKOOh5XI3sQUtuknqoQ8pP ArZtEay/2T/y6FVg+b9zplzBwR1nKqtqrOmo2x/+TKuQXN17nFBZQ1+oW74MMtni L9vnc20sAHW+CUmbadZHqcjnI6LLsdEuTA69hDjvqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehuddgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnhepkeeluddvlefhieelfefggffhffektdehleelgf dugfdvgeekjeejuddtheehgfeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepvhhoihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghsugdqnhgvthesfhhrvggv sghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 17 Oct 2024 11:17:28 -0400 (EDT) Date: Thu, 17 Oct 2024 16:17:16 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.56 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.958]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.144:from]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XTrzy0z8fz58BD X-Spamd-Bar: --- On Thu, Oct 17, 2024 at 11:08:27AM -0400, Cheng Cui wrote: >The patch has no effect at the host if the host is a data receiver. In this context, the vms being tested are on a bhyve host. Is the host a data sender, because the tap interfaces are bridged with bge0 on the host. Or is the host a data receiver, because data goes tapN => bge0 and then goes on to the iperf3 destination? The iperf3 destination was always a different physical machine, stable/14 -- From nobody Fri Oct 18 01:06:18 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 4XV63J0DPBz5Zh6p for ; Fri, 18 Oct 2024 01:06:20 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XV63H4g3Zz47wq for ; Fri, 18 Oct 2024 01:06:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729213579; 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=RVO1h9Xg9Pt5n2G4YFWY0YrHx8pXyLBRNqvQWmUQ1DE=; b=v84dvPu5wufMLNT/VGp3Dy0KsRGVHBdAHfoQ//h6zojoJMKwLPN1DwsmCtuQcAiAz9sVHZ xBXcw0BVoIYDusKWdgSuiFLeF5AFTyTpTOf3md948O1X4GYhF/bSzy0N5L0We6AkDuzUur xskttQhhL+RQjiGnUZLk2ZBhu0hbG4FxuKS1kmaImRKxIaMKzI5Pv/XTM1FYemDM7xTle/ kkh8SZqf4vyZbhzSRdgMCcwARq9GGLBxatKF9F/SU1ie8cg4uVu987PdEP5plXai6+lcsj MwDtcpyBAUu35yHnSCjHiU6oPT6cFJkKSxz1HolwSITxvfgRVkwTQr2Ix+Ig9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729213579; a=rsa-sha256; cv=none; b=pYnFejaOT+Y5Q/5HaOBCfT76x1Zrnf9g6lmvQqttY8qUyh7qLXrC73R2pC2RpUJBr4ooQh 3USTS4fcLFYGtWrpGYFmvLZC7OSfdJ2Zy6Mecd4p5fUF+7msW4s3qmK+Z6pNTFdyH0By5W pQyXHfouhn291p2wXJF217yxpb1FtXaq6cPtXYzfrkerbpimTOampzJtnPrVZ7gcC7VNqN ZWgoTPQymaGcYsJXgDcYpTh9opFFmAKOs7VOii8UiXHfyhhC+J8vwgjOfeJvscCZpZvrTb 8r2OBXgE9pFPwwDAKh4wsg20RmD7puSXEVv/AT8n+8IVUYOes5LDYOL/i41dZQ== 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 4XV63H4GhYz1C1V for ; Fri, 18 Oct 2024 01:06:19 +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 49I16JIp059459 for ; Fri, 18 Oct 2024 01:06:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49I16JqR059458 for net@FreeBSD.org; Fri, 18 Oct 2024 01:06:19 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 282168] vtnet(4): panic in if_attach_internal() when kldloading Date: Fri, 18 Oct 2024 01:06:18 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords 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=3D282168 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |crash --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 11:28:49 2024 X-Original-To: freebsd-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 4XVMtK6s51z5Z5kN for ; Fri, 18 Oct 2024 11:29:29 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVMtK3PPLz485J for ; Fri, 18 Oct 2024 11:29:29 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-539f0802bf1so263333e87.3 for ; Fri, 18 Oct 2024 04:29:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729250967; x=1729855767; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dxMwwHYU+lKJF0MlaieP13iBKCuxUNB0a/t5NC5TZ3E=; b=l/oJtkTdKuSN64FO3cMybeHUsEnAdjHRjopBoFaqr+TbweeDhfZGjzYlfYRwvHLOAY UFP6A96yBJiyo0H4/gBfUckQhgzxVqatB6miEVFe3VL4aLBERYPTvtMGPglSIvWZYR6d 8W1YEnG+akamycwOJL4thsAJnQ3Vv3cAxl5U8U2NP4gB8qA/ymqU6P0JLwgk8rS27ruq ODvn5f321gBrFIbTXY6wyDbAhv6TfF3sV/7rcBS8xd3VhXYcnO1TR0vAZweriD20Ar5l SL50aijA0gFMM5BeFib1uqmXzFMqyqhNV7NupM/Gvi3XZBwnhJq53v5LAMMh9famOC6q 1VVw== X-Gm-Message-State: AOJu0Yy+35sFur4jpNOf+0CsPhqg6XgPIkDxJ8LpYBPVDZe/wJv3G9t5 LBhsr+v7Bh3Bd5HYC1TI4dvKGAVnzl+o3fD9Cw74JOlPpCakG8uSDQ1oxmvY X-Google-Smtp-Source: AGHT+IHBZoSoC5VkaFX6fPRdvd6Q9x3V0Hai0XIVhZmERttdzk9lj3i7tMsMdVr2HMkE2MIei9gNmQ== X-Received: by 2002:a05:6512:3f1d:b0:539:e9c4:2602 with SMTP id 2adb3069b0e04-53a154bfc72mr404032e87.5.1729250966780; Fri, 18 Oct 2024 04:29:26 -0700 (PDT) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com. [209.85.167.53]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53a151b02bdsm196346e87.49.2024.10.18.04.29.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Oct 2024 04:29:26 -0700 (PDT) Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-539f0802bf1so263332e87.3 for ; Fri, 18 Oct 2024 04:29:26 -0700 (PDT) X-Received: by 2002:a05:6512:12c4:b0:539:dde3:e8ac with SMTP id 2adb3069b0e04-53a15514833mr354696e87.10.1729250966278; Fri, 18 Oct 2024 04:29:26 -0700 (PDT) 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 References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> In-Reply-To: From: Cheng Cui Date: Fri, 18 Oct 2024 07:28:49 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Performance issues with vnet jails + epair + bridge To: void Cc: freebsd-net@freebsd.org Content-Type: multipart/alternative; boundary="00000000000092a3510624be9dbd" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4XVMtK3PPLz485J X-Spamd-Bar: ---- --00000000000092a3510624be9dbd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Oct 17, 2024 at 11:17=E2=80=AFAM void wrote: > On Thu, Oct 17, 2024 at 11:08:27AM -0400, Cheng Cui wrote: > >The patch has no effect at the host if the host is a data receiver. > > In this context, the vms being tested are on a bhyve host. > > Is the host a data sender, because the tap interfaces are bridged with bg= e0 > on the host. Or is the host a data receiver, because data goes tapN =3D> > bge0 and > then goes on to the iperf3 destination? > > The iperf3 destination was always a different physical machine, stable/14 > -- > > The patch is a TCP congestion control algorithm improvement. So to be clear, it only impacts a TCP data sender. These hosts are just traffic forwarders, not TCP sender/receiver. I can send you a patch for the FreeBSD 14/stable to test performance improvement. If you think FreeBSD 14.x releases are critical to your business, or you can't wait until FreeBSD 15 is released, you can file a request to add this patch in the 14.x. I think https://bugs.freebsd.org/bugzilla/ is where a user can file such request. If it is approved, which I am not sure if it can be approved, then maybe it can be included in the next 14.x release. --=20 Best Regards, Cheng Cui --00000000000092a3510624be9dbd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 17, 2024 at 11:17=E2=80=AFAM = void <void@f-m.fm> wrote:
On Thu, Oct 17, 2024 at 11:08:= 27AM -0400, Cheng Cui wrote:
>The patch has no effect at the host if the host is a data receiver.

In this context, the vms being tested are on a bhyve host.

Is the host a data sender, because the tap interfaces are bridged with bge0=
on the host. Or is the host a data receiver, because data goes tapN =3D>= bge0 and
then goes on to the iperf3 destination?

The iperf3 destination was always a different physical machine, stable/14 --

The patch is a TCP congestion control algorithm improvem= ent. So to be=C2=A0clear,
it only impacts a TCP data sender. These host= s are just traffic forwarders,=C2=A0not
TCP sender/receiver.

I can send you a patch for the FreeBSD 14/stable = to test performance
improvement.

I= f you think FreeBSD 14.x releases are critical to your business, or you can= 't
wait until=C2=A0FreeBSD 15 is released, you can file a req= uest to add this patch in
the 14.x. I think=C2=A0https://bugs.freebsd.org/bugzilla/ is wh= ere a user can file such
request. If it is approved, which I am n= ot sure if it can be approved, =C2=A0then maybe
it can be include= d in the next 14.x release.

--
<= div dir=3D"ltr">
Best Regards,
Cheng Cui
--00000000000092a3510624be9dbd-- From nobody Fri Oct 18 13:13:21 2024 X-Original-To: freebsd-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 4XVQBR51TJz5ZBfn for ; Fri, 18 Oct 2024 13:13:35 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a7-smtp.messagingengine.com (fout-a7-smtp.messagingengine.com [103.168.172.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVQBQ4KsWz4NRF for ; Fri, 18 Oct 2024 13:13:34 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=Qzj3O4hd; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=dUig5mB9; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.150 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-07.internal (phl-compute-07.phl.internal [10.202.2.47]) by mailfout.phl.internal (Postfix) with ESMTP id 382A4138020F for ; Fri, 18 Oct 2024 09:13:34 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Fri, 18 Oct 2024 09:13:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1729257214; x=1729343614; bh=IXtp1lvQd6 +3a8yWZ6ukKltKI0qLbYvhbZrkQFD4EII=; b=Qzj3O4hdh6YhQg6PN54Xen1Y26 t8oPj0/2O3BFDm1Rc3H0WQdF/vZdqEJDe9uler1l1wjJyi09bxywPp6eugX2Ixg0 CvgwzdlTbHAac6+Iqjmoh5PE1YWjYmOQmFTD/B3o4/nY+OONW+LmZvOEMSF0nKsD b3Zj/s5b53Hl5qnjUCSswVDq/uVSfnINcOPcryAULV8iv5plJQtTneFeyu0WGP1C O2gWHa2kWAQDi5Ql3mgdqfatUProh1I2E9u6g2P7FHYGxDGvs+MR4smtoAvZ7gVy gtY9pEYu+5mF8PTPK/zrbOOj8CwNBQKDI9oCq446wNNYaGIa49QDE1Y9f5KA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1729257214; x=1729343614; bh=IXtp1lvQd6+3a8yWZ6ukKltKI0qL bYvhbZrkQFD4EII=; b=dUig5mB9WCzeyfAoUNVSIfcBTAt7PtuTUaOFITJnc8Yn vlppe7Fyf6Ww0PwMiLwVYIbHFRpchniPPc3NVwVLt+/UwzqiYaT5FKAjBH5nP1Dm 1XEF0qYf8D6uxN/8H1ETVynrHp0nQhSQWkn/3hNylUVlLXjNA1Q/ZZ3xNDdUZsvu iloIo469emitmOyMiPq5nT+VbS4RhzCwi6Xb6egnfDR7ndnWrs3eBVnaAV1gHM0G d/RwlE+qyT524gEEpYaaujQsR8VRASMRl+zsEYOQFNeW7sPc00n1dIBxfSYtGNrO kOF6gwcgCSItipQrIOoBMtmL4bOgqDMEpCDhH+GGqQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehfedgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhm rdhfmheqnecuggftrfgrthhtvghrnheptdfhheeuteejudffkefhtdfhfeekgedtvdeite evgfejtdfgfeffhfeuieeltdeinecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhhoihguse hfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtohepfhhrvggvsghsugdqnhgvthesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 18 Oct 2024 09:13:33 -0400 (EDT) Date: Fri, 18 Oct 2024 14:13:21 +0100 From: void To: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.58 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.982]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.150:from]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4XVQBQ4KsWz4NRF X-Spamd-Bar: --- On Fri, Oct 18, 2024 at 07:28:49AM -0400, Cheng Cui wrote: >The patch is a TCP congestion control algorithm improvement. So to >be clear, it only impacts a TCP data sender. These hosts are just traffic >forwarders, not TCP sender/receiver. > >I can send you a patch for the FreeBSD 14/stable to test performance >improvement. sure! I'm happy to test >If you think FreeBSD 14.x releases are critical to your business, or you >can't wait until FreeBSD 15 is released, you can file a request to add this >patch in the 14.x. I think https://bugs.freebsd.org/bugzilla/ is where a >user can file such request. If it is approved, which I am not sure if >it can be approved, then maybe it can be included in the next 14.x release. thank you, I'll try :D -- From nobody Fri Oct 18 13:25:43 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 4XVQSS4BdGz5ZDJX for ; Fri, 18 Oct 2024 13:25:44 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVQSS0zgQz4PD5 for ; Fri, 18 Oct 2024 13:25:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729257944; 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=Xlp3nwHsiFlsGfQWhf4vz/vaBUTMVfrKQixduNPDZp0=; b=xr0fdI3LLSQ//zbpLSNEHTow/HfurfkAuctXOCyr/mKUQli2jPw2P2GMA3DOV90aKxVatw MSf6ipXkXGM9RIzzF55Fm3HhzW9kcGEQxqI/3UexTBRpwopRvskFODIpwQH9QhoUF5ncRF nj7RtEblhgKDZeCNGG+4IJVOT4ZZQMtIkrKYfi1cfC7Y9FSw7KJbNUFO3+C6wUR8CG93Am gjNyXvggdwxaU1J7AZhVlZ+ZHlGQiaDxgdzpl1bSR+z4hNvasK2JbbwXog+Ws+sSOHdsGx +ljCUhK5j+2H/8A/CjPHRGdyQD9DeHmy5PkBpDXjftzzFxwFu+d9JTSeoo2/zQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729257944; a=rsa-sha256; cv=none; b=t298WegFxtM9pdRtru5V8t3quNowAZkPGEu7TllW1QsHIl48MNXOJy54jAn6BM4T5IOf/K Lm7pnwZhFBM2w2clTMfusfBr9uOQP28b1ZmhtoOtgqonCcAWDa+GeWrSMMkeUSdt5h7WEb dTHxdm/HX8R5Eb1tzzYxB760EUtaZim2IcR7W73dGkfkwxwgj1pCPY8IIA6v8YzkkRKPiP b2VXVs3XfZI4dishQtneYjI7Cxozn1lhM1tHib5/ixfGekBlEqusaB4wXE2UT9q+IRk9GE kTrI+PSZl+BItbRILMdvjZJb1cjyBA9zz+7hUHrDpXDtpl7d1YvykKtESlnMfA== 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 4XVQSS0Tdvzb6S for ; Fri, 18 Oct 2024 13:25:44 +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 49IDPhLe076963 for ; Fri, 18 Oct 2024 13:25:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IDPhCT076962 for net@FreeBSD.org; Fri, 18 Oct 2024 13:25:43 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 282168] vtnet(4): panic in if_attach_internal() when kldloading Date: Fri, 18 Oct 2024 13:25:43 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open 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=3D282168 --- Comment #6 from Mark Johnston --- This is due to a VNET bug. When a network driver attaches, it needs to have the current VNET set, e.g., because if_attach_internal()->if_addgroup() accesses the VNET-global variable V_ifg_head. Normally this happens in device_probe_and_attach(), which is how drivers get attached if they're compiled into the kernel, but we're taking a different path here. I posted a patch here which fixes the problem for me: https://reviews.freebsd.org/D47174 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 13:38:21 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 4XVQl20p1Pz5ZF0t for ; Fri, 18 Oct 2024 13:38:22 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVQl15n7lz4QZC for ; Fri, 18 Oct 2024 13:38:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729258701; 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=MMPkxejbTYCv6IsG+JJm+g2mrNiasawAMeLjPjtupY4=; b=R+oc2ASRXFGyboaW5xIiE+ySSU5aeQEvOw+CKRD/+HdhOb9OnzDfuvm5ktPWGI8tdlh2lP MlLkrCoMDkR+wRFY9+2SfqGp/yZp9WVZNeRI6K18+KGzZdMGjpty46Nel36hTWhurLRMcE SDb1UlN7UUZX9sKeQKszF/ijo+DWRCuUHwJVlMsjo/KBMlLvOZKHbG6LrXxRtzL0veduVj 69eYRtLE9gGeWcvdEiPUqqMpp/Fi8xdsFtOSMVa/NlyOQZQKATVo9DSJ8xPv5mD1YvrUJ1 EhM+e2gJuMvqbcOGMcK5Jv3+ClA0+BVO5HB8cRDjL5a1cd5XcWiXtRCa6PdlgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729258701; a=rsa-sha256; cv=none; b=rMQLy/oub6pc4XEMTf7KUjy7asWeXuaGRI/LS6l6rDtikjyDW7bxfz/v3nPS2ePF/5FXO3 FycGI4rO9xBFLqdFjOoAUL4twHOaTHcZtPJigeNZLodA6kqJmX9qMs0FNkOf5jt/a3uWEg 95R3Ys1UnJDNMGInomVUddz1garMopM/xLtasA/bJleoCQeHVtq28IPRjMwbnXOebjZzp9 yRyoonJSNvWiedeuFbzIUW76FFGdi79Tx6gsgarFTdxOJw2/U4UssnjAK20ZcNnkhKay/E lRInaCzaVHMf6IGGET5RvDMZC9NeO7mQOE5QeaaPI56aDqg+btH+fA75dDu47g== 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 4XVQl150y4zc3H for ; Fri, 18 Oct 2024 13:38:21 +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 49IDcLqt092688 for ; Fri, 18 Oct 2024 13:38:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IDcLnA092687 for net@FreeBSD.org; Fri, 18 Oct 2024 13:38:21 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 271270] bnxt(4): kernel crash during kldunload Date: Fri, 18 Oct 2024 13:38:21 +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: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: 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=3D271270 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erj@freebsd.org, | |markj@FreeBSD.org --- Comment #1 from Mark Johnston --- I bet this was fixed by commit a52f23f4c49e4. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 13:47:48 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 4XVQxx0ClDz5ZFC6 for ; Fri, 18 Oct 2024 13:47:49 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVQxw3nJ0z4RQv for ; Fri, 18 Oct 2024 13:47:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729259268; 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=WVCa4kbfvn+gF2g1A3I42WQ/vmN8QKlWbT/gIedz1Ng=; b=ZdAFFKnwMWzQspGfbY2AjCld9Ngwh06rnRqkxHtGxthvBPWW8ejcwtXLi6cTTUOlIE8VWB CwkNmRkLI9fDNTlrVgPmw4spc6HubMhsxzyqUrjuriWR6WpSTEWrq6Va1lWxwGyicxblBA c0O5zdqfkVb2WPAG5aARCYTemLNtuMpoW8GR0eXcvbPYZ+T5ORYbicMXskTzCckNjP4gds 9NO9x+/VgJXmlJM2X3/KGstVU4XAwUexbVZMX2r6AfgFtRBEMWnQI7onx5wDitkxCc64K4 vDJBeozsRzy8sm9qLtcXPGwkbTrnIJHLaiSNgDPAVIl+e6zHsIx9BoHRqsPddQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729259268; a=rsa-sha256; cv=none; b=Sr18WyPVb+Mjs2B8fNMJ+a0Ps8qsbC+ATiMSvGUNhqr8dcmeG2HOHob7yjoZspM6JOpDoF HAxe6guaqrcdNaOH2FXj6+p7IGU7O0vkEN9sCZ8TFM23byzp6ZLVpD0BuS1fdhTQyjohsI l5Fg1BdaIS3sXOeb7cvaPlozupb923zg9O5wCioLMazV6S0XcJsQpw5Kfdhd/r0onnjetU L9G2TyExU9J4adg4GwrwEWgYXqMMFEJPKJz2iWlKecRDE93F1pnwUX59eKOiXPDLAH9D9Z 8K4BUAmdFMTp01DA1OUZsq6wsl7HBaf7EQsEavC/fs7JGMNeRanejZt+x96ddg== 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 4XVQxw3Gwxzc40 for ; Fri, 18 Oct 2024 13:47:48 +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 49IDlmHi006658 for ; Fri, 18 Oct 2024 13:47:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IDlmLg006657 for net@FreeBSD.org; Fri, 18 Oct 2024 13:47:48 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 282168] vtnet(4): panic in if_attach_internal() when kldloading Date: Fri, 18 Oct 2024 13:47:48 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lexi.freebsd@le-fay.org X-Bugzilla-Status: Open 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=3D282168 --- Comment #7 from Lexi Winter --- thanks, i'm in the process of doing a src+ports build now but once that's d= one i'll test this patch and see if it fixes the panic for me. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 14:18:20 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 4XVRdB21WRz5ZHMl for ; Fri, 18 Oct 2024 14:18:22 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVRd95MFJz4Vhl for ; Fri, 18 Oct 2024 14:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729261101; 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=tQw0JR9P+XQh2yFrcSlPFHh3IOiQ8v1zTrH/gxAw4+s=; b=Ep8D5e2uF51KyTBif/JGMNZZFbvIaJT9akN62Q4dUxv0GRM1ctO6urhHzKe4bgsVYMj0zH B5D0GE2gS2wVbRRTsf0QkY7V0xX6AL1CLpc0eKtncLJq8fiqcegWLLth8waphaADtFkn9J nKQ5MmHXUMMI8mxARhaq1WNUTdpAY6o4PmcaW3PC5auTqpTd7H4gPwH1M7sBznEmd2fNVt gpiNmGN0C6lIhqAZhZqjrkhhb10SmGIYdXEvBT96C8yYGHsB7OAC2HqACp0Dq3MoP6jr0/ I174zwIfZ7ZQbzVs87Vsc+a1Klhc1TTXQYF00biZB+q3eWvVcQH5FKgVMQzoLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729261101; a=rsa-sha256; cv=none; b=qoW6H+jxnhp5Tf2pVG91bvlsA3HvjzT3BIqfCEaeftdEYWhw859JZZzqig4yo+vMWCsp+t REiB6sXvcuyXrRqW0+KxAFjXQE46Zv4eMwbuKbQ2KWu+6fA+fHgAXnwblFlNrDr9dkElg5 R/G+9/sQUQMXInXwA18YYPu4K37E7rhEW8wl169I3KaReZ2k1FQh7wXIyXrn7RRLDXvh9t klj6RRgOxowCyLWVIyqa2KxyO4/QRsQQeC6mo3FVaRGZfgqnaa0U4nffPEEmDegRrM8Wxx iMhakCV0oRdquvLkHpNCNFXmi2yLn5CURXv2hXFqh5Lm8v4Azv6KXtOpb2k/Jg== 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 4XVRd94prVzcy2 for ; Fri, 18 Oct 2024 14:18:21 +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 49IEILfc055249 for ; Fri, 18 Oct 2024 14:18:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IEILk1055248 for net@FreeBSD.org; Fri, 18 Oct 2024 14:18:21 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 271270] bnxt(4): kernel crash during kldunload Date: Fri, 18 Oct 2024 14:18:20 +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: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open 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=3D271270 --- Comment #2 from Alan Somers --- (In reply to Mark Johnston from comment #1) I can't be, because that commit was already present in 14.0-RELEASE, where = the bug was originally observed. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 14:24:30 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 4XVRmH1F9Yz5ZHJ3 for ; Fri, 18 Oct 2024 14:24:31 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVRmG4NfJz4XQv for ; Fri, 18 Oct 2024 14:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729261470; 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=loKPDQQFYJxKcrR7xI7udUK4+jIMnNlCLBQgQaIG6M4=; b=XfpLX1gPJyKGK6LQKrzgjw0gV1efL0f4sKniJ71oxUzdMy6wd1slpuzIxwKjSaLQSMG4Vb 56Zss9Xm5UqniNtFzujxo/86xdGARbfSnwgCsSmSTxXdn3IMBcp6X7Is4TiFvVEWMDQ5qe AOyUStDgIo+XKZnTadF/duEZIQqxiodEbbalePyC0Ew3QEjBICpI3nvKCKQ+SwzKA4O7lh tknV0KspCevaRh90otaCZIeaqvq4NS57KCvCHsJOtps3SkD4XJhzJ029/YwIrfB9Itvkyc Fyhg+9vu/pZ+/l02hcLjWQyF8LFy4PjF5YqnC05cPwawe8p7EhW8KrI8TbpkaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729261470; a=rsa-sha256; cv=none; b=oiFGTcPCLom0/j1iwJbHw+HC2Abyf37jxinKmzv8wW/IzBtgmwxE9ek00nKw8C+Hj3JVES AmG4WspOp4oojzrX5k02fEGR1Rz33w/0N4en/3hiOk2anKwFIn35cZDzm/po87GOIclWGK 0Mnj9kayLxLUq+MUWfVky6LuK6UAG5SDOkBuIIl+aJNXNwMAW/mrVSAgTZG0NqD7+nAMb0 E6wcZZLMpRVk5WbHD155AVrv2yKC4eomcW7eIgB9DodLt4wIYBP3ZL2nKANCtOnSTiL48W ce7xTm4ZR6hD641CuYs2Ty9DHMV3KqhirGyMUB9LD7EpX5pdy7G7CZaYjhs6+g== 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 4XVRmG40N5zcrG for ; Fri, 18 Oct 2024 14:24:30 +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 49IEOULW068090 for ; Fri, 18 Oct 2024 14:24:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IEOUFr068089 for net@FreeBSD.org; Fri, 18 Oct 2024 14:24:30 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 271270] bnxt(4): kernel crash during kldunload Date: Fri, 18 Oct 2024 14:24:30 +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: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open 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=3D271270 --- Comment #3 from Mark Johnston --- (In reply to Alan Somers from comment #2) Are you sure it was observed in 14.0-RELEASE? The first comment says 14.0-CURRENT. This bug report predates 14.0-RELEASE by about 6 months, and= it predates the commit in question as well. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 14:57:24 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 4XVSVF5xJ2z5ZKQ5 for ; Fri, 18 Oct 2024 14:57:25 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVSVF4sW3z4Zb4 for ; Fri, 18 Oct 2024 14:57:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729263445; 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=QbVd9/jg/N9VsLirmbfCiPIruXX4J/4Y6/3vcEcU7gQ=; b=pHvlcYYVyiGpaZl7gJtQOFaApfpMEL7dC7T2b3VddmGgZgXw4nDISS2FdZvgBAFL+GdAks 0Z6VGl4hFhHezDFjJYqnffriLJ5HoKSIQrBiMX9Axa9B9JSbf9fM1XI7S8O3u8rZtjM3GF 7+ilWbuYx0OXePqTKad4WrdyLBqew4+sT2eV7m8knNChpo6HOKPpddBPno87GuJqJDoa5x TsIW2BPEn7KIDzJKB1l2chGA12evHR+Jwt3MpIXcu5Qu/7C7VFJQ8gjeL7t7W4BZ6RJGea iY6zEltW8/GgQkn3vdo0cYeY5jWhghIFqBsqRB3Y7eKZJOQddma2InZ3nPU0iQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729263445; a=rsa-sha256; cv=none; b=Gu9omNikjm0QCHzYSgs1Ff8IqYt1c3eU4JT/4vvM+ixHpS7bI4zTI4rK72rVEriyjME50h 3mJJm2yO5ViI+TMlnC2RVWrUxuvRSckSsxdIOiFIzVBeGM0Ulb50YKYlFIE+fnCWN42bv1 j7JVl6s8clUp+wL7C/VBlAZX9AX8+5pOD/Uhmu0ICVPww1Kx+4aiIgKaH9dN8yf+SAXQfl yCe1r9ev4IUWrpw5k+jJJkNOsG7tfoc+bNVMwcLNZFj2SRbRDH+2DQmhSeGrOVNxKBc5jI iimoiMxlYRL4HWPMZRPkJhETaonLKIdv7c+z787AYMcI02ZKnxJrKwKR27v0AQ== 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 4XVSVF0wQYzdrR for ; Fri, 18 Oct 2024 14:57:25 +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 49IEvOC7014829 for ; Fri, 18 Oct 2024 14:57:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IEvOGv014828 for net@FreeBSD.org; Fri, 18 Oct 2024 14:57:24 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 271270] bnxt(4): kernel crash during kldunload Date: Fri, 18 Oct 2024 14:57:24 +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: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open 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=3D271270 --- Comment #4 from Alan Somers --- (In reply to Mark Johnston from comment #3) Oh you're right. I should really read my own posts more carefully. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 14:58:08 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 4XVSW466x3z5ZKmD for ; Fri, 18 Oct 2024 14:58:08 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVSW44rtWz4b3y for ; Fri, 18 Oct 2024 14:58:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729263488; 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=jloBUd8QSti7+X/3tOPIAi7UVdSSV+uPOwIgJyzT8uw=; b=kQMVWbcRllWPVlJMSuLNQz3t4TAsHH7vGL/yZLPrw4OFqpiTztp0KdE4WzTMaIG+MlzbHv jqa91cgVJG8UVXMoWb04Q9y4sytpLqogPhRaifZYeNy2PkduO6z9vvOHa6p3mzQhhXwNJk NEHA1PoFn3m9F9ENLWpXeN8D/MLXPOg1RO+1tX1GnZra/FGwK1Ro3Dt5m2VKwlzgi3nIsJ 8T9gF7SkkFVUYO7aAj/Yzf4e6BTCkpLARzBo7cW2CL2DXMBPdffV5Fa22Sd9jPeIWAuAXH 6lYJGXn562NBeKbFceXdBdxKUF2v9HEgbaHqC4gbfANvsyDtC8ahmtZfAdlogw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729263488; a=rsa-sha256; cv=none; b=E3bfOU8+89yFzYyG4trwtCXm4knBSTdFMjL8539XkIDfCBVSmN1LspeKRQaSDgn6wwZTcX 4akqMoxzaZE5q9Brop2+twxuE2H60abxsr5Eyy7f9feDZj4Nk57M7fh5Azkq1CDk1N2AcX bWlx80WMniJFgB5mTIl3YvTfCftG+wzV41fzS+/H7qbjKSe1d0dmsK0cz46cTygg7Gm828 EdgCxIN//rZbB3iiSrsVDId69Km08hd0L6Coq+qEk0Zclk7hlS93c9Xvsr+qVkxJ/FD1Jh hISFUDlRD8eokUcPP76syR7MMQCUFMYShwgD+xuKa7sVnLRNx9tYk+b0/BA5Zw== 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 4XVSW44SnXzf5b for ; Fri, 18 Oct 2024 14:58:08 +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 49IEw8LB015342 for ; Fri, 18 Oct 2024 14:58:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IEw8XT015341 for net@FreeBSD.org; Fri, 18 Oct 2024 14:58:08 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 271270] bnxt(4): kernel crash during kldunload Date: Fri, 18 Oct 2024 14:58:08 +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: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open 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=3D271270 --- Comment #5 from Alan Somers --- That said, I don't currently have any systems available to test with. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 16:09:49 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 4XVV5n6576z5ZPHr for ; Fri, 18 Oct 2024 16:09:49 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVV5n4w2Gz4jDW for ; Fri, 18 Oct 2024 16:09:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729267789; 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=Clkc8IDHo/RvXzNA8kq9zkdm1+4Q2c7oyvrw2T82JVM=; b=GkotIDluyrGHAEzzyKEji1P3qO1IrrvIhN3wY6M0t24uLIbQggom5Se0BxysiKlfFTFxAN 2yXbHzYnLqXE2JDUUGN3134a6axvIOifaRSwpVcJS73xVSYof4xSyhNqpHaNTmS7aOR+TE OjbolBQujnciKT5z7s3qtNL2WQdkEW7e/CXN0pX6s+vcSdAEOlSHp5/SK8PPm+X9KZ+k0b 9nng/VhTU5duvu42/zbGKfSP3EjJA0XwPiDZgUjnwueCTp5ZmyUNY6mzKBwy7zNAIUudXv BVoVYprHYBoEoTS+j+/y1tBux+Qt6zO9Fqx7n56WspLtRd7an7hSudQ7/2zaag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729267789; a=rsa-sha256; cv=none; b=AWdr0MXgsGlEcrkFzbbD5aYgBMfelKyjya2m+qYrvLg9wCotjLjUc5lD7sDp3tJNp5qtDO iqdWVE+ROjTOinnjyMv7vywiVgc+GnGRdCCeWDSafcySF+zH77y+pq1LXZ8Ly7mlgpUNNa ZP+iQohk7fpCwiQzRXLDQxh5Acf96YDAZUOw1F2ltwaQT2iwaBbKmH55CBhqSqtZO9DhEA ZQ5ygq8TYrzI506GEtcKcUSKXi4RahxDGTeygQzpXBhyYZ9lWvRJ9v2W1hSeiWTKQG9jIW MBlC06GjOLOmyHYVGB6YY3v8WHIRwz3u6SHtCS+w2rK/Adx4iA3bePUxRFvYzg== 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 4XVV5n4Q2NzgcJ for ; Fri, 18 Oct 2024 16:09:49 +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 49IG9nTJ024680 for ; Fri, 18 Oct 2024 16:09:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IG9nnS024679 for net@FreeBSD.org; Fri, 18 Oct 2024 16:09:49 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 271270] bnxt(4): kernel crash during kldunload Date: Fri, 18 Oct 2024 16:09:49 +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: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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=3D271270 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |DUPLICATE --- Comment #6 from Mark Johnston --- (In reply to Alan Somers from comment #5) Taking a closer look, I'm quite convinced that the problem is fixed.=20 iflib_device_register() would have called ether_ifattach() with the ctx lock held, and the stack is virtually the same as that reported in PR 271768, it= 's just a different driver. *** This bug has been marked as a duplicate of bug 271768 *** --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 16:22:46 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 4XVVNk5Z7sz5ZQ79 for ; Fri, 18 Oct 2024 16:22:46 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVVNk4WkHz4lhR for ; Fri, 18 Oct 2024 16:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729268566; 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=3k7utz6KiKgMeSyz/Ftb5hZJ2MyvNsXxBktHRo8znpU=; b=E5oqka1QeKBgIkm9Zm38gB4H3U72unJGqkOSncvZWx1Iwij83hEn4J5FSe8xIraWdL3I41 31gn0LG69/aPdUG4vHnRNEGeVaWZX4o+d+oLoesVX9O311maW4+7G/d2mND74yQ2SW0HzD odv7YsOGTip/rUxVPFyFpY6V5GMLPHWjnYhyw5lRUWZJMy9+3NbskjUpLDOvZ9O3bQMygC r2g5nFfAj41ZHvSRiPmC8s+clGLHnM8e78V8XyqFeN8w7fbdHuERtw0TMNOJixFrExKClh sQO3h2oosCxiOmQcOm7jVYMNEXbso3WKVEJsuTFex3k0QfkBCEtP1jVEPAblew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729268566; a=rsa-sha256; cv=none; b=jLVCZEdc4HIkgc1q2p6Zs4yM7cTniNjiLMvZxyupL9U+KMzC4DmbKViWZm9p2ytTFne182 TG5wypuwp4zGEzAsH653t6kr8zWeuoQWwZvs3KvVbR2M4TdpjErtnQLEEDmLz0TBkNYMh6 Oo/l1+bGnJgJBut4Wn1B4fABqnIHf0CbBFPWtsxqh/wyiibnKXY8Nb/Q8Y5RE81VJt9Hj2 H2eiyPsW0tGqT1+t8NZ0Yc340hDWsxOuoBt/ovFEsR9og6r4KaWhf0k5m5wzWhRlDJ2OKv ZUrVdQd2OEBEXQgaKwatNM5d/DOkGxuOU+Vo6lw73DlBTjqXvcLeFe4PnNjkgw== 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 4XVVNk47whzh50 for ; Fri, 18 Oct 2024 16:22:46 +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 49IGMk3X056275 for ; Fri, 18 Oct 2024 16:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IGMkc6056274 for net@FreeBSD.org; Fri, 18 Oct 2024 16:22:46 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 282168] vtnet(4): panic in if_attach_internal() when kldloading Date: Fri, 18 Oct 2024 16:22:46 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lexi.freebsd@le-fay.org X-Bugzilla-Status: Open 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=3D282168 --- Comment #8 from Lexi Winter --- i can't build world with the patch from D47174 on top of fa573868f187956b384722a90392866769f4965a. --- subr_bus.o --- /data/build/src/freebsd/lf/main/sys/kern/subr_bus.c:2577:26: error: incompl= ete definition of type 'struct prison' 2577 | KASSERT(IS_DEFAULT_VNET(TD_TO_VNET(curthread)), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 2578 | ("device_attach: curthread is not in default vnet")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/build/src/freebsd/lf/main/sys/net/vnet.h:248:25: note: expanded from macro 'TD_TO_VNET' 248 | #define TD_TO_VNET(td) CRED_TO_VNET((td)->td_ucred) | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:247:41: note: expanded from macro 'CRED_TO_VNET' 247 | #define CRED_TO_VNET(cr) (cr)->cr_prison->pr_vnet | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:245:32: note: expanded from macro 'IS_DEFAULT_VNET' 245 | #define IS_DEFAULT_VNET(arg) ((arg) =3D=3D vnet0) | ^ /data/build/src/freebsd/lf/main/sys/sys/kassert.h:144:24: note: expanded fr= om macro 'KASSERT' 144 | if (__predict_false(!(exp)))=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ | ~~~~~~~~~~~~~~~~~~^~~~~ /data/build/src/freebsd/lf/main/sys/sys/cdefs.h:315:51: note: expanded from macro '__predict_false' 315 | #define __predict_false(exp) __builtin_expect((exp), 0) | ^~~ /data/build/src/freebsd/lf/main/sys/sys/cpuset.h:152:8: note: forward declaration of 'struct prison' 152 | struct prison; | ^ /data/build/src/freebsd/lf/main/sys/kern/subr_bus.c:2579:20: error: incompl= ete definition of type 'struct prison' 2579 | CURVNET_SET_QUIET(TD_TO_VNET(curthread)); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /data/build/src/freebsd/lf/main/sys/net/vnet.h:248:25: note: expanded from macro 'TD_TO_VNET' 248 | #define TD_TO_VNET(td) CRED_TO_VNET((td)->td_ucred) | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:247:41: note: expanded from macro 'CRED_TO_VNET' 247 | #define CRED_TO_VNET(cr) (cr)->cr_prison->pr_vnet | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:221:15: note: expanded from macro 'CURVNET_SET_QUIET' 221 | VNET_ASSERT((arg) !=3D NULL && (arg)->vnet_magic_n =3D=3D VNET_MAGIC_N, \ |=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | ("CURVNET_SET at %s:%d %s() curvnet=3D%p vnet=3D%p",=20= =20=20=20=20=20=20=20=20=20=20 \ |=20=20=20=20=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | __FILE__, __LINE__, __func__, curvnet, (arg)));=20=20= =20=20=20=20=20=20=20=20=20=20 \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/build/src/freebsd/lf/main/sys/net/vnet.h:184:8: note: expanded from m= acro 'VNET_ASSERT' 184 | if (!(exp))=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 \ | ^~~ /data/build/src/freebsd/lf/main/sys/sys/cpuset.h:152:8: note: forward declaration of 'struct prison' 152 | struct prison; | ^ /data/build/src/freebsd/lf/main/sys/kern/subr_bus.c:2579:20: error: incompl= ete definition of type 'struct prison' 2579 | CURVNET_SET_QUIET(TD_TO_VNET(curthread)); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /data/build/src/freebsd/lf/main/sys/net/vnet.h:248:25: note: expanded from macro 'TD_TO_VNET' 248 | #define TD_TO_VNET(td) CRED_TO_VNET((td)->td_ucred) | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:247:41: note: expanded from macro 'CRED_TO_VNET' 247 | #define CRED_TO_VNET(cr) (cr)->cr_prison->pr_vnet | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:221:32: note: expanded from macro 'CURVNET_SET_QUIET' 221 | VNET_ASSERT((arg) !=3D NULL && (arg)->vnet_magic_n =3D=3D VNET_MAGIC_N, \ |=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | ("CURVNET_SET at %s:%d %s() curvnet=3D%p vnet=3D%p",=20= =20=20=20=20=20=20=20=20=20=20 \ |=20=20=20=20=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | __FILE__, __LINE__, __func__, curvnet, (arg)));=20=20= =20=20=20=20=20=20=20=20=20=20 \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/build/src/freebsd/lf/main/sys/net/vnet.h:184:8: note: expanded from m= acro 'VNET_ASSERT' 184 | if (!(exp))=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 \ | ^~~ /data/build/src/freebsd/lf/main/sys/sys/cpuset.h:152:8: note: forward declaration of 'struct prison' 152 | struct prison; | ^ /data/build/src/freebsd/lf/main/sys/kern/subr_bus.c:2579:20: error: incompl= ete definition of type 'struct prison' 2579 | CURVNET_SET_QUIET(TD_TO_VNET(curthread)); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /data/build/src/freebsd/lf/main/sys/net/vnet.h:248:25: note: expanded from macro 'TD_TO_VNET' 248 | #define TD_TO_VNET(td) CRED_TO_VNET((td)->td_ucred) | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:247:41: note: expanded from macro 'CRED_TO_VNET' 247 | #define CRED_TO_VNET(cr) (cr)->cr_prison->pr_vnet | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:223:46: note: expanded from macro 'CURVNET_SET_QUIET' 221 | VNET_ASSERT((arg) !=3D NULL && (arg)->vnet_magic_n =3D=3D VNET_MAGIC_N, \ |=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | ("CURVNET_SET at %s:%d %s() curvnet=3D%p vnet=3D%p",=20= =20=20=20=20=20=20=20=20=20=20 \ |=20=20=20=20=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | __FILE__, __LINE__, __func__, curvnet, (arg)));=20=20= =20=20=20=20=20=20=20=20=20=20 \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /data/build/src/freebsd/lf/main/sys/net/vnet.h:185:9: note: expanded from m= acro 'VNET_ASSERT' 185 | panic msg;=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 \ | ^~~ /data/build/src/freebsd/lf/main/sys/sys/cpuset.h:152:8: note: forward declaration of 'struct prison' 152 | struct prison; | ^ /data/build/src/freebsd/lf/main/sys/kern/subr_bus.c:2579:20: error: incompl= ete definition of type 'struct prison' 2579 | CURVNET_SET_QUIET(TD_TO_VNET(curthread)); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /data/build/src/freebsd/lf/main/sys/net/vnet.h:248:25: note: expanded from macro 'TD_TO_VNET' 248 | #define TD_TO_VNET(td) CRED_TO_VNET((td)->td_ucred) | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:247:41: note: expanded from macro 'CRED_TO_VNET' 247 | #define CRED_TO_VNET(cr) (cr)->cr_prison->pr_vnet | ^ /data/build/src/freebsd/lf/main/sys/net/vnet.h:225:12: note: expanded from macro 'CURVNET_SET_QUIET' 225 | curvnet =3D arg;=20=20 | ^~~ /data/build/src/freebsd/lf/main/sys/sys/cpuset.h:152:8: note: forward declaration of 'struct prison' 152 | struct prison; | ^ 5 errors generated. *** [subr_bus.o] Error code 1 make[2]: stopped making "all" in /data/build/obj/freebsd/data/build/src/freebsd/lf/main/amd64.amd64/sys/GENE= RIC --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Oct 18 16:34:46 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 4XVVfZ5QgYz5ZQPp for ; Fri, 18 Oct 2024 16:34:46 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVVfZ4DCYz4nj2 for ; Fri, 18 Oct 2024 16:34:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729269286; 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=l6v7AFQuG5P34s3PZb20twJk/4piB4p5GweKFtrJJoY=; b=W8SXuQe5OFTihjm0xuU4gGLWvJRbcegUNHg9hjq6dqTKEmlbSW/73TpK3aa/5PGLE/B8Yn COYjnnxvaHu7V/+OAUlTdamX1X1PldUwDfL+Or3Wd0YE63l2WXFUnIGhlXU/I6/lx0vSCj 7gmFVD1UHTfgyJ+1sexHP7ytguhTGKMw6Va+4+TutVgW88YxI/H4//y2SwYaQS8RKZwro1 2hPwXioRuTXQxV1NZhe/n9R93YNeeWEr6sgn4aixo0oAZ1fbw+I6lkUF00KqS6JwG9ZPo1 6kiMBxQBlN0LmBusD262MFus1kpnn8UNPgfUTUy8k8Q5Hw7Xk33YCIZSfWGs8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729269286; a=rsa-sha256; cv=none; b=Eg0IG1uPB2hBeTLKOCLsvcnjtlhzD11ZFaQMRv80HSrbm27KZifsmJl+Crp24TwPYk0ViV CYsk35+gP8+TBMoRp31EoAvc4AjLgfw704Pi43zKAyegZUTLVIvsbdYMERFvCTlrCB3R1j 1O34OX90pvMK5guwheWjFc1bQc8LzAbFEzbjIjQpKx1LK00u5ERoGxtSjwzpS6eiVLjSqi /1MJ2hPJLRFqHU0eu2CCQLsZBanFR29G1L4kd9glpapFi87+OCK04deQqqfoSh6xsBGeGF wmGU9R1bQtbKdY8MXj+eVOjz+YFju2i2kYsTOxaCjilKzyom/fEYpgaO5U65wQ== 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 4XVVfZ3jR9zgf6 for ; Fri, 18 Oct 2024 16:34:46 +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 49IGYk3a072614 for ; Fri, 18 Oct 2024 16:34:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49IGYkf3072613 for net@FreeBSD.org; Fri, 18 Oct 2024 16:34:46 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 282168] vtnet(4): panic in if_attach_internal() when kldloading Date: Fri, 18 Oct 2024 16:34:46 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open 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=3D282168 --- Comment #9 from Mark Johnston --- (In reply to Lexi Winter from comment #8) Oops. Fixed by the latest revision. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Oct 19 10:56:45 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 4XVz694mtTz5Zy8g for ; Sat, 19 Oct 2024 10:56:49 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVz693f6Gz47yS for ; Sat, 19 Oct 2024 10:56:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729335409; 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=+Vic3VnKoca2evoGOXCg5SouFLdJE50HceGQe8T2Usk=; b=KfJtteXzpsSZB6NPqv/9uYceWlVQXUeh9YUSWjuEfPrN8u51pn5RrU622xjfTwCnE60b4Z XkFwa7QzfhR0Y3jtyy0nEDqYpgCm0L6BprzppqNLXh1K26Au0Isg3fNkfl0Rbw5es60BH+ 51dOQZIsu513vfKUW2Tns84x7dee4o3s4J1NVFthLeFb49bgl8ZanSLAjcAW/UtaZWguv6 dYtvqrSThsxhz3jIw4Vi4rvCDbZu8JdsI1RKMH8NDnhgVCNRXYbuthUtMh9SSZRniI8FOS Ri51ZuVjE6B21yowDZPNwn9JoHAkuO1aJkNBbn6rpEz9Xt6Xrr8PfFi9g+VuLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729335409; a=rsa-sha256; cv=none; b=jZjn1fs37U9M08AnymLVSkEHOPCa8/CygMYhOgPGTM6S3vwd42dzlQ1/prT+ZHOkvFL6mS VipTLvZf8y7Yf9Jbo9g3JPZMEoCA0qFcMq72hR0+Uz31Cj2eZ2cO9OD4DhmisCkXs+dmlZ CIZvp/3kh1YQ3+vEhRlEnUkIlkZ8CJdIgS/o6J2pEHJUqtbht26LQOqjE2XFkbn06BxBug Z7Q6dQlbGMNp8EDkYFWdUPMivxHVL43LgBLVdnri3Ljf6AdUmueR6iPL+MF91Bdiw0cp+N Hh46lMDAHgaGRgzmLguLZ0TCHktKylAlBOcjhCbO5e0TlWV5sxTH4ukVf97LKw== 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 4XVz693FM0zFFp for ; Sat, 19 Oct 2024 10:56:49 +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 49JAunNY077547 for ; Sat, 19 Oct 2024 10:56:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49JAunek077546 for net@FreeBSD.org; Sat, 19 Oct 2024 10:56:49 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 255678] security/strongswan cant add routes via RTM_ADD via PF_ROUTE socket Date: Sat, 19 Oct 2024 10:56:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: resolution bug_status 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=3D255678 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed --- Comment #26 from Mark Linimon --- ^Triage: note that FreeBSD 13.0 is out of support, so the MFC is OBE. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Oct 19 12:42:30 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 4XW1S82Qtvz5b3wD for ; Sat, 19 Oct 2024 12:42:32 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XW1S80mBHz4MZ5 for ; Sat, 19 Oct 2024 12:42:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729341752; 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=+R8b7m98FS9vD4KP7dVIIscq4UQ/by9IN/GGJDwTM4E=; b=vsvdkJZcFzca4bhjIRyB0rQ3hMRT6/zk63NC/BGqcw5Lrf7sBShWdSmI48iDBbORFMwgCC /u9W6n2Oiet58mtOCjSY05/pdsikkAjXzjjhYJxGors3DMm5DGPrmGu6IvfdYD1+MzsBwu SHMg347EuaBZK7KpQW+9ATNEX5tYEk9J5Aunbi7h50WP6hLwkja70/VA9cNiGRE80Q3iM/ FpPKpfS5bpS6yo6ht4XVhnJ/0IMknnlDXqc5RoeQ/NdUL4s2PK3vyoUVz9/6jN5G2sqvAN e7oJS0N5EjUN+VjpTqXzVdtn4UgVO7hc3StlaxppELpFocWvelKeKseeWTyCGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729341752; a=rsa-sha256; cv=none; b=TlM0nqUdG/P3L2ck+mk+RQUOyvhkoLagPIjVPp9YqHwHIWpqJS8BTQcTdBhu/ZoxGkr6e3 y8GTuEl1PLfexPitrP+AXxoX7uc84SZMF9sIG1LSsuUewg4mw1HxR6z1wol1JElnu/YtBP KblLEf60tPx7aqcNEJj14rsLMgOHZrRHm54N97O0cNY1VvrgrV0mq/3iOhkVLrEdWeXAan QUzV9HMqh4WCFUoOrj/viHKikMKTCk40wm0NvyQ3huEmPmSsnIexoLV/vawRFDoY4u9gFG 96CnnRI2uPi6P3CziFvCOi6yg0x1JeERMXZL5bHimsufolpX1+DFweXM0DUBWA== 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 4XW1S76x9ZzJPn for ; Sat, 19 Oct 2024 12:42:31 +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 49JCgVjw062791 for ; Sat, 19 Oct 2024 12:42:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49JCgVLL062790 for net@FreeBSD.org; Sat, 19 Oct 2024 12:42:31 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 282168] vtnet(4): panic in if_attach_internal() when kldloading Date: Sat, 19 Oct 2024 12:42:30 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: 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=3D282168 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #10 from Mark Johnston --- *** Bug 275381 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Oct 19 13:05:05 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 4XW1yB1YsMz5b4l3 for ; Sat, 19 Oct 2024 13:05:06 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XW1y96V18z4QkH for ; Sat, 19 Oct 2024 13:05:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729343105; 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=IAiVEvJpEGagVniZ9aB4GM4UMNWFIONemCa4XDT/Unc=; b=n0+5yE4GiX2lgWlng7ROFsz1XSQi3xbLBmvF/qiP7ZQAWyDpJ1ypPc7Od+0Le+iuSD7K+R lIlO/XIK35oe7dP3x4XHY8eaG9quCzJB41LGVwTbVfzUB9NtHDPoMDwS7083CfehjWfyN9 LcC9auIk8ZlXbpU9VQMIKq1qvjVSrOdRyViDXcXXl53TbM14CRbWhPUhP74I6dvtbO1Bw3 TC89ioXKu0RgEmvEBOVjUabkm1Y+i7njUPKh0P99LTUOWRzLicCqf2qOVrB8bKlLOal7wD 2U3WyiNvIypMJd9npdkMYBnyLOO5myIfVfd7WZDnZCmrKxglwZHNSWGM21MeHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729343105; a=rsa-sha256; cv=none; b=EL9kmgQgipWPyACEvMuEcQUNdHNn4IZjrAi35hevgPAfUOVHLvu6E2atAG5EWPAHximwvG oaG9gNEaUAWDpbUf+lQQHTh8UMXDoDKU7Ao6Tccx+aRmKb/ein1IzpVcYXpfSDERTOYjNw kGLUUiZZORhAULTbdWgc0k1NqQaVJQR0JVuCQ12g0LQrbVQms2s5kV68n80SWNUWqUpumA BtYVX3qGEmmm+T0d/6oes5Nv+GT7ioOaMReAnDD8Q2XXemNkLNHv63Jf3obacgIGFV5u4E N/87Ra9SdmzuaWBrIWDMRu6/W362nvNseSyhflONRrOdo2P68XjuKJ3u8weNWQ== 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 4XW1y95zCMzJgg for ; Sat, 19 Oct 2024 13:05:05 +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 49JD55h5000948 for ; Sat, 19 Oct 2024 13:05:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49JD55ID000947 for net@FreeBSD.org; Sat, 19 Oct 2024 13:05:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 282168] vtnet(4): panic in if_attach_internal() when kldloading Date: Sat, 19 Oct 2024 13:05:05 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open 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=3D282168 --- Comment #11 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df4e35c044c8988b7452cefbdcc417f5fd= 723e021 commit f4e35c044c8988b7452cefbdcc417f5fd723e021 Author: Mark Johnston AuthorDate: 2024-10-19 13:03:56 +0000 Commit: Mark Johnston CommitDate: 2024-10-19 13:03:56 +0000 bus: Set the current VNET in device_attach() Some drivers, in particular anything which creates an ifnet during attach, need to have the current VNET set, as if_attach_internal() and its callees access VNET-global variables. device_probe_and_attach() handles this, but this is not the only way to arrive in DEVICE_ATTACH. In particular, bus drivers may invoke device_attach() directly, as does devctl2's DEV_ENABLE ioctl handler. So, set the current VNET in device_attach() instead. I believe it is always safe to use vnet0, as devctl2 ioctls are not permitted within a jail. PR: 282168 Reviewed by: zlei, kevans, bz, imp, glebius MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47174 sys/kern/subr_bus.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Oct 19 14:42:41 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 4XW46p1QvWz5b9Z3 for ; Sat, 19 Oct 2024 14:42:42 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XW46p0K44z4ZfV for ; Sat, 19 Oct 2024 14:42:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729348962; 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=6U7pTHdaC4xtc2Cu4LFqYm2s7QPB/NDxtXazlX4eSEo=; b=YTKp8ep7UDVMk8PObqu0VVZ9xQQzP1vLjw3RCp6bppS3GAklRxdk7qh0lH8vj/oH/Ta0xv kBcoO3GVi3L7+OsE2zk/HujT7ic2/ap4RHPuvdPqQ4mmmwXk7PEUOonA9Oiit6dfEVUHWk GzNJxgrwDE264UM+r8GwnFwJm4Ofc0VQNb8kPHuwY1rda8GW3aJzP0+grp58xuiRidEwKO 5opzmgR2Ruftk11iVQcRkoZ9C6c0NgQkQAEGb0JeRUAQhkpFKvlbtvuMwbyhhgYGiAncfW jQZhepBPAzYGmpXMz2yfC7+rnDoo7kpzEfD6zoViG4c2wUD3TEXx9bwY0C8blg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729348962; a=rsa-sha256; cv=none; b=UlZVvVUO07V2eaECPAvXp/U7k+OPsBYbxjVeee1QByCAkQSpG35vZNQA13XwjaK291yeR5 rde6Am57u7nc5bhyz0S6O1nJ5HWkOdQ7DflV1tMj2byAvMbDADvK8ht54+2N3DpMsmWxqa zXEOHQocFPsJIbUQk3pIQDu4m2MjdYBXJAlJNqKvNZRPOu70xlM3zt3v6MyuDzAkGmpK2V 23nepdvJ3J49xIqK18OmJj1jyQS6du6uUiG8hB9hxGRWWXHjJ0kzFNcYA73YYdCEqE0z52 4HauBXNnKdJmYNLzSjdBYUwceSHxuXzSc9iylN0Yt5/0UT6F3ptc3kB2LuMnUw== 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 4XW46n73N7zMBR for ; Sat, 19 Oct 2024 14:42:41 +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 49JEgfxa068144 for ; Sat, 19 Oct 2024 14:42:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49JEgfTr068143 for net@FreeBSD.org; Sat, 19 Oct 2024 14:42:41 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 282168] vtnet(4): panic in if_attach_internal() when kldloading Date: Sat, 19 Oct 2024 14:42:41 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status 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=3D282168 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |markj@FreeBSD.org Status|Open |In Progress --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Oct 19 19:57:22 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 4XWC5v48gGz5Yyrv for ; Sat, 19 Oct 2024 19:57: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWC5v31Fjz4D8x for ; Sat, 19 Oct 2024 19:57:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729367843; 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=YuGtP1hKKoEwBBPUDLhElHy0XsfneMPUJkzah9rlTe4=; b=ZgizDXzfHaguh1uNrRQfYOh3J/TqAPYHLcqcCQRQCpPColAjoETIHXlxGTzowfeikqPBzW SvqVA8j/yIA1ASSpEIO/zpkwN4MpSQJ5IOLwfSsTRPuLrLbumhDmncSOze/M6Hpa0njgog diWSADiBt9Ng37tzOFaayqjg5lC3mPdy+c/17Eo+b4O34Z3ywMvrKjFbqWmnx4oV+MMvA+ xmLGcuME+3/h7SHiAczxJQH4KS6FRhMHZZfAgDy+usqUSvasGb6ZxnYFg1Q3RRW2TbHIkM 38B43IjBHLJAxCy4GHOX7drUKsrLB2zJ3x62a9sobpApzHTGnnQ5c5BMpSPYgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729367843; a=rsa-sha256; cv=none; b=GlKMm3FsfYsC8akWK0jQ6VsTTWlFq8loJ/E0rsp4gfuYzy3TlncOSZvB8mIXaJbVhtddiW c2q6nJLFx9MR1aPSVw5SE3PbCKs8j8CbV6tlIeozfeuaYYK+rlg2CCQgIHkECQS+S3Ml69 4FEe4CsEG3jaANgrnrIX0lpIS0tgNE3cbAL5ZA1dUFxwqskEq6XwHuhpuR2Fa92kcwP3rt +kTa7MyCaLnDyCrYxtcIoQTp4SakdSi6H3Mm2xxIoHL5SO1oR5iMSgnZq9XpUCCT3cuNb7 ooxyzli/Lc3MpAOaZy0UM8N/gdG0NZgG+4PwfmOubJPON0Z+h2a+YE1D5cxNpQ== 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 4XWC5v2YYZzX0x for ; Sat, 19 Oct 2024 19:57:23 +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 49JJvNvu084722 for ; Sat, 19 Oct 2024 19:57:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49JJvNqf084721 for net@FreeBSD.org; Sat, 19 Oct 2024 19:57:23 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 279653] Page fault in in6_selecthlim Date: Sat, 19 Oct 2024 19:57:22 +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: 14.0-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tom+fbsdbugzilla@nuegia.net 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=3D279653 --- Comment #17 from tom+fbsdbugzilla@nuegia.net --- What about upstreaming PFSense's workaround until a proper solution can be found? https://github.com/pfsense/FreeBSD-src/commit/9834d8bb0d3344cd82552c3cd16e5= b2d84543d8f --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Oct 20 14:47:06 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 4XWh9R0vJcz5ZNmV for ; Sun, 20 Oct 2024 14:47:07 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWh9Q6qPsz40qx for ; Sun, 20 Oct 2024 14:47:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729435627; 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=7oeym7RrFCr5oL1mTKVb8mlAGxO1oh2JkXQxfb5qq7U=; b=J6I+M0H8WTmBx4+tyzSUPtNxG6Q+pXjY5dbiI/iDNBq40l1HQJ/iiCRptCnVKpH08fEoVP 4sweqWh2nd3F7cvoZ5z6n4W9987Eu3Dq2Jlijq+HymZBgIPPx3JJbfVFdlWgyBEZDBmhoq Wm92ZOHSniF1AaIPosT9kcOSJBSBlMEOGlco9PeTZaHi74RKj+7BMWhUbKoK3S4cmmCyCR Snox7gtcbaVFcQW48gTHalhJmrtKin9RPk0Y3+JMAv3z3OzYrxEmXNFQe8CtpWs3dzDV4G CxWPrUydhWQbcvqGo+r2L5QekiaigtDy1V3G0CQgvpbM07LWIfZ5Yz6uQ4AWWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729435627; a=rsa-sha256; cv=none; b=x0D/s63koOgQPfSJ3Kjx+fBG1VTut7MS7RONiObrqKu4MZ5OyOyic+c9BIykDit35I0wuW xbcezF8IdW1ltG8a0iaYEojxFapsIznz4EESQLs7BJQv+aHW4aPVOgD1n+dLHxeq0Z8LAA JzU8pMUVo/oEk6u9PwbWUvR8oMnmorf6ZxS4kOtJRXJDgjwq8U/5xA2exFwPh70XgjYL+g PcB9Q2McAdr2K8vwvaGlPA2lA+7sT4E1/HZY4Ey/WxUdvxgma/qSL+CHVX58Z53D30Cfiw oKEfdmx3fRB84TxIsBTWInwxF8rvKgGgtIXHYljof9sHKZMPhs0PkmRSxM+C7Q== 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 4XWh9Q6KWgz15Gd for ; Sun, 20 Oct 2024 14:47:06 +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 49KEl6ww067557 for ; Sun, 20 Oct 2024 14:47:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49KEl64G067555 for net@FreeBSD.org; Sun, 20 Oct 2024 14:47:06 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 279850] wireguard: wg(8) fails on INET6-only kernel Date: Sun, 20 Oct 2024 14:47:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@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=3D279850 --- Comment #7 from Zhenlei Huang --- (In reply to Lexi Winter from comment #5) Hi Lexi, this should be easy to spot which line of source code is to be bla= med if you have kernel debug options enabled. Or you can provide a simple / min= imum setup so this can be repeated quickly. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Oct 20 15:30:10 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 4XWj766VKtz5ZQpP for ; Sun, 20 Oct 2024 15:30:10 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWj763Ltzz45Kx for ; Sun, 20 Oct 2024 15:30:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729438210; 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=LsfxGD6W2dq1TrvjmAxNy0t+3rS+Pje+safhIsZYKt4=; b=yR+atKnTshhxifwjRRiI8HNSU/hUxU6n917uGLrFk2gSay0zaYtr/G0VAu5lh4S2UStNMG ka83VXbgUnrBslHVv+sCzGMs7egXTzQYqNgapXloBioJo6B/cc2FJ3b7y+2j5rxGJ0ghMp /wi4kUXFPpFz4alhZYhIwT+6UNFBE83UWn5X+gD1JVkG4MWX6+JPUMp3UWDaveNpzm8QId 4GESdq7xsWroNCSM3EzhIzJ6H+ubUryZ4wm24ydZRyo164RZhL9/4YfdlA7aWmlCmAQHyt /TfCKDa1092Gh6AfAsXkUTXqzZiqZsHUFTYTq6p5nKvMBr5p8KvmrxdMbAzL0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729438210; a=rsa-sha256; cv=none; b=t2mfqkNowQkHMqpbHW17yyl5WfqejxChmk0FNypgvIn4g2gtp27uDEow+PQRogzeU+J+vf HXaVyNdIuiWRKzv4il/6vUsrjYomoIJ6XUBAVRhdKP0NwrugscHkzh6weM9dXe9kWEfldi /YcdEm137aY6hm6NgnwQej94zic/mgx5e2GxWNlgn1e6DrJO0PEH9jkBuK38GNmLrwOxDU yM9g7ncgQoCbFyAjdAW4mVJcwuC+xZrjdud758S0APozpbp7PTZDSz2sfSip1jh9CfLV32 nlfWCiOPo6W57m0+K0INlFSSIB9u+JWlb0UihbdW5+i62guPnTlBxamVY4aoUw== 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 4XWj762s8Bz16Ss for ; Sun, 20 Oct 2024 15:30:10 +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 49KFUAxE033257 for ; Sun, 20 Oct 2024 15:30:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49KFUAF6033256 for net@FreeBSD.org; Sun, 20 Oct 2024 15:30:10 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 279850] wireguard: wg(8) fails on INET6-only kernel Date: Sun, 20 Oct 2024 15:30:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@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=3D279850 --- Comment #8 from Kyle Evans --- (In reply to Zhenlei Huang from comment #7) We have a patch, but pending a better patch. See https://reviews.freebsd.org/D46670 and commentary --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Oct 20 21:00:47 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 4XWrSc4ts0z5ZmgD for ; Sun, 20 Oct 2024 21:00:48 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWrSc0cbBz4nFt for ; Sun, 20 Oct 2024 21:00:48 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729458048; 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; bh=rxPS5ZYrdJXKDoiVDz/lvMDJPY9Wqon5ToV2/Z1zjo8=; b=f70fbAQk3YOM5IyEzbSu0ceH0ywH+f75uY5wBzzYdoKwKde1YzuoNvagm2rP81h6+ie+xI iKu4x+NcswxcZDA00zW0YDU0R4/uJT/Qchxs7Z6DeZTfeRdZuWKk2/H3NqoEgD6MRKE/dP gftr8pQnWmJf6JpbVCJPuoiDR3fGDEhgaXOAKHKakfBR91wgG3sDpIIkiplKYz9GQAvnh4 OSHF05135OuSmQRM30DUQ90ku0QHOmr9IHEPOUW+slUuXfYt8z9lZXHDNgHOWJ3NxNSNV0 x0ZdIIlBGv0BGHNmjpa8DvmI+OW2hboAWukfO25Vxq1Nu06T987MUrYw0/st4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729458048; a=rsa-sha256; cv=none; b=l3WX2twf9oW8zA8VWpEBQ8V0AinYJ3XMmes85AIEJtfUcdRyfeRHC4krdeWuKWc0+B75X+ 3N3ylD3TKgldC21rsfy3hd8yNF4W+efQaC4H1LZOG4JqsF/1nXUU3BWForJk3ygw5+A9kM TVe8vv4Tkk8SKpxUnh5ZzdVXxMpitUJYvS5aX4nkvfFsO9J+vnBzhjDjtckPLeMz7LnPHE zJO3EEABGjrLQEzNUxmVxkvwcV8NXMvDkUJezu2u2V9gn0UqhAOFR+y9CGNpzBNA9pz/Eg QE7Fx5u5Dy66MXGHnadcSGT0ODfeUjB/4SFmRzadKxydJny85zmYG3388Nzg8A== 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 4XWrSc0F34z1GH1 for ; Sun, 20 Oct 2024 21:00:48 +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 49KL0liL046757 for ; Sun, 20 Oct 2024 21:00:47 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49KL0lcg046756 for net@FreeBSD.org; Sun, 20 Oct 2024 21:00:47 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202410202100.49KL0lcg046756@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: net@FreeBSD.org Subject: Problem reports for net@FreeBSD.org that need special attention Date: Sun, 20 Oct 2024 21:00:47 +0000 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 Content-Type: multipart/alternative; boundary="17294580472.Bf69F.41595" Content-Transfer-Encoding: 7bit --17294580472.Bf69F.41595 Date: Sun, 20 Oct 2024 21:00:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 254445 | cloned_interfaces="bridge0" does not respect net. In Progress | 118111 | rc: network.subr Add MAC address based interface 2 problems total for which you should take action. --17294580472.Bf69F.41595 Date: Sun, 20 Oct 2024 21:00:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
New         |    254445 | cloned_interfaces="bridge0" does not respect net.
In Progress |    118111 | rc: network.subr Add MAC address based interface 

2 problems total for which you should take action.
--17294580472.Bf69F.41595--