From nobody Sat Oct 21 06:09:55 2023 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 4SC9z93t42z4xXlq for ; Sat, 21 Oct 2023 06:09: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SC9z91TnBz4V2r for ; Sat, 21 Oct 2023 06:09:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697868597; a=rsa-sha256; cv=none; b=pCxD+cRNkoqTT8H+Nvp2zM2W4dcGVk0jI2BmGK5NzJ5eIOzwYxleDg9jfsFXfuXHUhQ0Kj AzPy1z9pps3oZ+x8VZs+M1MBmuRIkYfkaK8sH6CknOqxp66QUK5M4opdReu/elgBpANUqj f8Q1GSf7lhIboMOKddYBJnIPWluGSIRhVWDahVF1kwdkvX0XmeWvknagYE0Ny3nu9jNTts CFaTpqRsMb7nFp/0KHd7PFEe/cLHF+suvorVTMWy9iWh0VBLh0vjD/XRi5/BMpJfw55euH vKg3kVicS+5aUaYh9SUnniNw9mW3avJApC7XO7sXa6dIk+GnK/gaZDdbnr3y8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697868597; 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=uvL/uJPMXOR6CuSdPE7lZQBnUfqAqrpXGx4+lNQaEBI=; b=KkslD4wB35iSn9HE0CrFZ3/lx17Xqtpm6j2wqIuooUjPk4/iySksX35I/z19IdyfrxBrU+ RhmbSZoiIqSEQgvW33FHzvh6PKrQYi4ca/A6fvKpbyKmtJyFKcUnvp9cWkDX0cKYO3KyHG wDccJ2U6qbgPty6GYSgk+c0hJeUDf5smq6TpzVK9dmmgn9F0ZtDjMozzynjBsBFJI7j30T QiMprepaq/YvTRiZq2cURupF10Ilor0DCE1FpA7i3ToZ4y5SK6si0pNuD2W+tLI0fd5MEI WolLW1wMyXDIlUhPkOcbBme72aaFa5vuWHXTjckuc5ckSU+j/lcRqVKDRgTbqA== 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 4SC9z90Shgz140S for ; Sat, 21 Oct 2023 06:09: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 39L69vjC024757 for ; Sat, 21 Oct 2023 06:09:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39L69vFG024756 for net@FreeBSD.org; Sat, 21 Oct 2023 06:09: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 274618] if_wg sometimes configured badly and then sent IPv4 packets with src=0.0.0.0 Date: Sat, 21 Oct 2023 06:09:55 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: franco@opnsense.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=3D274618 Franco Fichtner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |franco@opnsense.org --- Comment #1 from Franco Fichtner --- This commonly happens when you force an interface route without having an IP assigned first. It might even persist when you add the interface address la= ter on. Seen this multiple times on FreeBSD 13 over the last two years. Cheers, Franco --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Oct 22 04:24:43 2023 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 4SClbH4dsZz4y2Sc for ; Sun, 22 Oct 2023 04:24:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SClbH20Z2z4SK9 for ; Sun, 22 Oct 2023 04:24:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697948683; a=rsa-sha256; cv=none; b=Lef9aXOrHBM5mUpx1EUweSwFFQPAwh5yZMOo6Ke0AG1zbURRHJrM9Q8CZHLc0BmkbQY9mx BVmjwCaEof19qhBS45p6Ea3MvGFH4eaFeiDRfAoQNK6iPOkWuhByMXg8+FxKoI/eCRXxp1 4a54smVzF4AzCQsQpEFnI2JFy8V9k3OXmTVBYvekMrID7Mbx5KZBwtfUGMT/8/sklWL5e3 5+J8MxIFZiFWyEAsYUtoV/MJQA+ZIsFuJnDdAi94/VdGNc0y5R26dcGpMjo/G/+0tKqrLh fikTPiK5lA8YUffppoo1+nPXJjCfJgYqlGBhyEIewPdqFTuYCq+OueCPV2YK4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697948683; 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=XNvxzK77Pm+GTGHzRE3QCIOYnxXBTr+5KPoph6s7LyM=; b=W7an68qxe87AuByQ3UcfymKOndJItUCyTYBgVoC5oUzstdCSq3962JjljEesjTBYlAybcn rp5QDQL0wwIFybF42SrXhJwB+JZdNyaLPUfSDGbEaR5VnsnwEmf7bNO9zM4tVE++xLa3hU FyrQGPQAXHgbQftAWgp06vhJi+mgxlp0clJxVEf6xkRXC/tViaEQCO2DospuXM0lrSAYkB pmFThVtzUMbsXAxp2HQSr+IImynLVfRc4gOddT1k+gG+XIO03U7XL4MHETgzychTRdFBKe vhPL5LUNo9LA6+Y/3NtsPqe0i8Qvh2h3qZ3T84UMYxSqMWmQdHWn1BfpGu0LXg== 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 4SClbH13Nzzjy8 for ; Sun, 22 Oct 2023 04:24:43 +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 39M4OhVQ047479 for ; Sun, 22 Oct 2023 04:24:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39M4OhX2047478 for net@FreeBSD.org; Sun, 22 Oct 2023 04:24: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 264179] em(4): 13.1-RELEASE hangs on boot at 82574L (em0, 0x10d3) with I219-V (em1, 0x1a1d ) enabled (Intel Alderlake GbE NIC) Date: Sun, 22 Oct 2023 04:24:43 +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.1-RELEASE X-Bugzilla-Keywords: IntelNetworking, needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yasu@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yasu@freebsd.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? 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=3D264179 Yasuhiro Kimura changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |Not A Bug --- Comment #19 from Yasuhiro Kimura --- (In reply to Yasuhiro Kimura from comment #17) After the BIOS update onboard NIS have worked fine for about a month. So cl= ose this bug report. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Oct 22 16:05:27 2023 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 4SD37r4lZmz4xVH0 for ; Sun, 22 Oct 2023 16:05:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SD37r3jzDz4T6K for ; Sun, 22 Oct 2023 16:05:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697990728; a=rsa-sha256; cv=none; b=yzmR/pFcCJb3rt/pxth9puyIUFPq9s20kuWuVLg0GLl+CDaEDyYB2vTSJBkEpc6VwAcx7k NHn4jSjkHHRmP4w3yD+UwmKNstBSGH+IH0dtTlYd4OhUvAtq3eH5a9pRktglexiUQTGs4/ 2g3ZymOIpTR5WWSjbIdghuWWSWNzUCss5MzYb6pWRIpcXYgbxzECv0lkDRB4o0P0LOlX+d E1e7iAcaoX8yWMdS3H2Nxip2UsMiGJy2t7xF1l4Bu6r4OT+piSImIq54xo9+Ku6fLCfC1C v9CTDFDQE0jY0g4Le7blb9euTYlblyEbVqwJc6yIRvFKOhd/3Hbeq5A+sfXOeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697990728; 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=+4HNFGa1FHX+lYcfhh4zX+XWCfYu1KTAMNJpsrBo6fs=; b=Dl7iOdVfSLxZEbzUdbguD35kzyYqrWl21WmaSuo2Qho0PbKeDTqRITxvTVQdM1PRFm+Eqg RcRi1PBCeaa2w7nZtTVCH7hbiwFYShjkfqDMZkgvTt77Zkv0cCk3lIMvqV/vnYbuM63vjp pdkoQqloDoAr9lHxXZQV0Ajp8I2Pw5l2BsvMuYCLHI0M2HmTyD5OEWb33tA/K9l+JRcIYz UTx9FLdgm/e5EsMV/sdruSWOQJl5Aq/FZHtdbdTzTURtR4Td4iUOwbS4zdW+C8Wpkj61bP zdLxDqQIrUHl2Fh+o/fRiTiBQgN3w4vXitYiNHxX+s0rSC6QTr9pLTOnVVvXVg== 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 4SD37r2prPz141M for ; Sun, 22 Oct 2023 16:05:28 +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 39MG5Sgb013368 for ; Sun, 22 Oct 2023 16:05:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39MG5Sw8013367 for net@FreeBSD.org; Sun, 22 Oct 2023 16:05:28 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 274618] if_wg sometimes configured badly and then sent IPv4 packets with src=0.0.0.0 Date: Sun, 22 Oct 2023 16:05:27 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vova@fbsd.ru 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=3D274618 --- Comment #2 from vova@fbsd.ru --- Script which starts wg0 intrface is standard from wireguard-tools-1.0.20210914_1 both interface address and route is assigned by the script. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Oct 22 17:56:27 2023 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 4SD5bw65xqz4xcrb for ; Sun, 22 Oct 2023 17:56:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SD5bw53hBz4hjT for ; Sun, 22 Oct 2023 17:56:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697997388; a=rsa-sha256; cv=none; b=DFv8A9dxjBleFqHa9WDKq1zbSn7cqZCXU6KG7HxcwJs0SpsEFRXdDaeKIEvez4BFdyFuFy Moce56vSSAp0zP2jyuZbeKqML1rrWKv+8bNhggTMy/ho5sxLDy60AxElG3ZyrX2iJgT35l s9Ex1UYuDbzPzBKWGKrPHnLhcum2cwFprZfx+Q8NCTMubvffEDwoElrKM0n8SQGQw0Scbv ByDj6cFpp+ayfIL902l3XIYWQpzrL4X6mY64bNjYALxw4VwXDRgPfR7hYPjrFZjBEn3FqK FRi87yUxfTIvAi4du7vGpQmPojJeF4836/cKF/djaqjucX/0nk7J0ktGcE3ZSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697997388; 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=ArDHZYFbZHIAWRuxX5kojKntPlLc1BzPvSTUthEpIXo=; b=Ahm+9exsIQWvM2IFSrzpFx+a8XFOdZE7FT6z3NHsH2Z+I6pBqLR0qr1Ag9F5Ufz/jDgfnv KdJew2o7LH+hoRN9C4KDu6rZEoMPQsVoadGVF0KhaIByjhngRdoBlHT0Nm43UVwxBdf0gT ZyXmx4MlmnxKrkR8PbZYt1Wj6fJ57ti500NFzVhWpl4JaC1vx2j5MUTQhZiWNHIWH8ffDj G4f58F6nUsY6dOgNwGREZdwXC/YZN0WZ7ceMzXY+Bmn7S+DhOGswoa0sRfyeaghsqAIemO JTGyyKkEO4dXqJSdzUkWAkoestWGOs1iseaQj1NE8zs+GU9wjuzY7Q6jZosQ/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 4SD5bw3nMPz16CB for ; Sun, 22 Oct 2023 17:56:28 +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 39MHuSIN083887 for ; Sun, 22 Oct 2023 17:56:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39MHuSVg083886 for net@FreeBSD.org; Sun, 22 Oct 2023 17:56:28 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 256587] tcpreplay not working for if_tun (tun0) Date: Sun, 22 Oct 2023 17:56:27 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: seth.hoffert@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: 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=3D256587 Seth Hoffert changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seth.hoffert@gmail.com --- Comment #1 from Seth Hoffert --- FYI, I'm taking this on as part of https://github.com/freebsd/freebsd-src/pull/876 and also took the opportuni= ty to make other interfaces consistent as well. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Oct 22 21:00:14 2023 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 4SD9gz0sXPz4xpxT for ; Sun, 22 Oct 2023 21:00: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SD9gy4PSvz3GPN for ; Sun, 22 Oct 2023 21:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698008414; a=rsa-sha256; cv=none; b=GS/VSn1Gz1d11CdXWaT6GsELkiomA4ZiqGx9X14bLjiLGhHb4OFobwAS/4MQkBtzPwq9GW Lx9aBFJRy8nEa0QjrIwJ30QDDv9bOw3OLgfxWQ/8JwZWgZq9NOI22ftYFqUpNg7ovelIyV 0zD60t/z3mo9E4U5038RdoZrLoObmqRtNVQa6/ZpRKsMBUVCBjpcKUbfSPB59nYXLBbNxM BsDChcbeb4sVJB3gZ1wl9IQ25P7wbzdQvFYlP8gUxolP75QnAdiE8T2mHvmZ0UL5h0VgIS pUtVUHgXpFwy1gNSVFGls/GGXojSjmA2hKK7UE+KYMxS7RUrYjvGFSpLPOhfpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698008414; 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=U6IJGd6Q7n7wynhaGh1LTGeD/DCCubNIRQxVhjTT7oA=; b=BDFH8D6BV+gqIEnAF16NGHncSnehDWGc1GcEYM7fYCzern+a6U61LuNKbE4wlV+n8LMNmA pL4iDKg76S1C7Fu+SaGzOs846la6ZjlopvJKVRm2YBUFUoGcQRf5eRdAfg7rrroEOAfZpF H3DSJ4cUQGymzYS3xFaIPqwoiX6D3QiUi3kIKjzxnvT6S2llKEzRyW2CoJjOyGFvEYOAtZ ODbIqJjG51R3ZzhUMxzSwC5P9RitLyUuPxs+F4F+fhe7X2hVBwkcgIgePcu9hWAt1gWtA6 PO5tfJUG+UjpAaSIQuol6hMBMLamMimHqOyJ1JIN5fr/ZKzXJUofxdgsONOLdw== 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 4SD9gy3Sn0z1BmS for ; Sun, 22 Oct 2023 21:00: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 39ML0EqH060007 for ; Sun, 22 Oct 2023 21:00:14 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39ML0EIi060006 for net@FreeBSD.org; Sun, 22 Oct 2023 21:00:14 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202310222100.39ML0EIi060006@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, 22 Oct 2023 21:00:14 +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="16980084143.00fC6a.58185" Content-Transfer-Encoding: 7bit --16980084143.00fC6a.58185 Date: Sun, 22 Oct 2023 21:00:14 +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 | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 213410 | [carp] service netif restart causes hang only whe Open | 7556 | ppp: sl_compress_init() will fail if called anyth Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 207261 | netmap: Doesn't do TX sync with kqueue Open | 225438 | panic in6_unlink_ifa() due to race Open | 236888 | ppp daemon: Allow MTU to be overridden for PPPoE Open | 237072 | netgraph(4): performance issue [on HardenedBSD]? Open | 237973 | pf: implement egress keyword to simplify rules ac Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile In Progress | 118111 | rc: network.subr Add MAC address based interface 13 problems total for which you should take action. --16980084143.00fC6a.58185 Date: Sun, 22 Oct 2023 21:00:14 +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         |    204438 | setsockopt() handling of kern.ipc.maxsockbuf limi
New         |    213410 | [carp] service netif restart causes hang only whe
Open        |      7556 | ppp: sl_compress_init() will fail if called anyth
Open        |    193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc
Open        |    202510 | [CARP] advertisements sourced from CARP IP cause 
Open        |    207261 | netmap: Doesn't do TX sync with kqueue
Open        |    225438 | panic in6_unlink_ifa() due to race
Open        |    236888 | ppp daemon: Allow MTU to be overridden for PPPoE 
Open        |    237072 | netgraph(4): performance issue [on HardenedBSD]?
Open        |    237973 | pf: implement egress keyword to simplify rules ac
Open        |    238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver
Open        |    240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile
In Progress |    118111 | rc: network.subr Add MAC address based interface 

13 problems total for which you should take action.
--16980084143.00fC6a.58185-- From nobody Mon Oct 23 13:45:21 2023 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 4SDbzj4203z4y4NX for ; Mon, 23 Oct 2023 13:45: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDbzj2y98z3cmR for ; Mon, 23 Oct 2023 13:45:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698068721; a=rsa-sha256; cv=none; b=NEdflfmC2JvZ1AztyxOKgeSayvU+9oTsju9At6YTMDq/Z0plK6iq7Avpre3QtGcFKo1MJb 0+JSPQM3JzI4+a6WYDH2Er1WR8djAf0pyfHo9MydERUW6SRNIvYyJIRfQX/rI+USAjDBT6 sedknbMy+g6+WaAexT+a3qx/XaRYdLg542eXrZmrQhPKkia7UCZ1h9TzDzRaEkb0Pye2M/ 9SQyLjXrNxEfQKVPieXZExencz7nPRyRdwYs+SKHQE/7EWf1mGTm0YNl1VBwIDe53gyFc6 ao7wjyY5TOXZRrwRjK6gywuGZ8yZCAG6D7H3rP94QaL/ih2qXPbb7xG5WokvAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698068721; 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=5bibVHxZ93Y1ztylgH9cnTyI57ckxrJTaknOdft27+E=; b=NMLN3lBGNtObCOil9cfNcQvUHS+UFdJ2h4bi7KlDTkcyAnIhvWIk4ix7nC3zdMQkhYLJcb tXdk5uvBL5UV+eLLXQSdW8VQ9ku/qiskWuiYCfLtJ4cuff6CXOO7tWRJC+QKoQgH71xqAs qLctMV4Lc2fDQ1beyRj+CD7IdWCw8HzvARUAytEoMV8f8imj2tpteuUAWFZPCitJgill84 I3uBeKrgH7KBgEZ3SunTp40N4r+EJPAVwdc94IbvP2ezf5PXFAS+PH4KljgrbNle0ZNYQz LFP4IQdx1M93lcRUmMqkWEbP86k4zzHaIeYznAYE3zKA5kPRRsUW3HPtD9paoQ== 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 4SDbzj22tNzhmG for ; Mon, 23 Oct 2023 13:45: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 39NDjLXY053875 for ; Mon, 23 Oct 2023 13:45:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39NDjLfb053874 for net@FreeBSD.org; Mon, 23 Oct 2023 13:45: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 264193] pf: scrub max-mss rule stops working (but still counts) after 13.1-RELEASE upgrade Date: Mon, 23 Oct 2023 13:45:21 +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: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12- 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=3D264193 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #11 from Ed Maste --- Is it the case that this "worked" by accident on 13.0 then, and the behavio= ur on 13.1 and later is as expected? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Oct 23 16:26:18 2023 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 4SDgYR5LJmz4yFPd for ; Mon, 23 Oct 2023 16:26: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDgYR4KCxz4RW9 for ; Mon, 23 Oct 2023 16:26:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698078379; a=rsa-sha256; cv=none; b=FJwbIuXruGXsYbmWZQoTkOGfi46rLWEs2KEx5DddqMOY8uotBhDqMvMa9MOh0nkLbHVk3K 9JRELSWnk9x1VHD3WuPk/zInKHr+YKDXztrweRI7zAe6gzQV9vAuAgSt5Pxr5jHAUT6KZl +0O+LGZOHUQFghMnTj1FflX1/+wnv3zVEXrpxmwf+ME5RD3xdLBMkOGPj/qWDrAeinXSFq NCiGVMQ+UlPpugklxtDEMVbAAbUd3MJ5txhqbRL6h1L3PEvg+O8rIGG6kJtV9UeyRsffi/ tm6WuPb3Kwt5hlkqBVh0U0BnVzJPPaZuwUU1GtDUoMy0vSpwJoCEu3EVx/nRJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698078379; 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=tlz4RA29maxVHGNq7yNk98kJGKHQsI+s3NR52aM/JYo=; b=G5duw5m3FKwGvJ0Dg8BsAB8Zl8Mqa7C1RIHfx+uL/V6SCaadkYiOS+GZxnM9JD9Q0a3yAG Y16UdUg/L6GKmqtG8yCW1kQVtTGAHLce3vuO/gCAJPRMQBnD8kMXoKLMSslSSKMTcM3UqF rmtfTcRk8DbrQ5mgtZLHOXukiPiPcmdo0+EEMcOFuOr69k9kW0eFrTe6+90alXLTAF7Sxe lfm6C+EcLT8R/UAEKeFpVfgh4uwYNMQXOk3F5giMH0tDcFF/WWHOV4t+gpUDHdvJ3lOH4Y 8bs/SpnJ3qKxoQFqk2GwLTG9ZYkih42A30KofgreUmFg6ITa5sGYhqCuYfDqCQ== 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 4SDgYR3NKgzmWR for ; Mon, 23 Oct 2023 16:26: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 39NGQJsA098790 for ; Mon, 23 Oct 2023 16:26:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39NGQJ1Y098789 for net@FreeBSD.org; Mon, 23 Oct 2023 16:26: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 274440] ice: ice0: Failed to set LAN Tx queue Date: Mon, 23 Oct 2023 16:26: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: 13.2-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@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=3D274440 --- Comment #12 from Alan Somers --- (In reply to Eric Joyner from comment #11) https://supporttickets.intel.com/requestdetail?id=3D5004U00001Di7doQAB&lang= =3Den-US --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Oct 23 23:26:36 2023 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 4SDrtN4kMxz4ycTy for ; Mon, 23 Oct 2023 23:26:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDrtN3dkpz3fXY for ; Mon, 23 Oct 2023 23:26:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698103596; a=rsa-sha256; cv=none; b=XDDIR599F0zNXy/bkBvQghdM6lZg4lec+5AHaed2Hh3Wd3igZiYtLwTjjMi0uRJIoxh6YX DJlaR92IxGXFk6OE+f5zSnKIZwpqaTjh0A8RWN1MvqyiqZQIl1CB4l3JXeVXvGuNidBdqJ 1Y+WBWA0Tn2jDAu2DhcwkoXKDtA6yh4AhRkBxkgVTUgi+bTSvq1uIWpNgDBTQ3PxTMJCCY bkUNjmQnbTCfbX4BNkGp1bPie2N1S6M0A0DET0MKvOQB6gcjEDH6t+w6P6PJIxvorgxd4p +WH9lSFr5cDvV2NAHb/aGZG1UzxfvVXFY82jTHWrB6B1PEEyqUN19eUzx5RK+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698103596; 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=Fd75+sCohTTSMb/tBw3sowwXChYsmXkATBQH/u6AKXs=; b=yHX/EjHXUIWQ+7XQHNFNk5L3RjYckZvkl/ckHux+C+ZWn0wN44fbnnHkQF/zkrkJAgdiUC jdCm7dzUF6neOdQje3jiEZaTs/kTvnmkpQUwJWCFrPk+kdPyqzVU4fGmesaTN8eIEypHZc jTdp9/7azW4J/g76Fhl6mQzcMtDtCopKF3bMzlpEB5YUcQtGPP5WCC+xjZpKeMpYc8ZAv7 828mc9Ml2VYkk4QPDynzn9gpAYh2zXBIKEnxXD9YqHyoWYo/0trSg3eLfSIi4rxRuLmy9e eKzHip+CJCJz9B3bDt7jhYrtQekro67mmUirPK5ReQFriK35hfwLfeLvijgfaA== 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 4SDrtN2hMdz10Mp for ; Mon, 23 Oct 2023 23:26: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 39NNQa3o089075 for ; Mon, 23 Oct 2023 23:26:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39NNQaEc089074 for net@FreeBSD.org; Mon, 23 Oct 2023 23:26: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 274440] ice: ice0: Failed to set LAN Tx queue Date: Mon, 23 Oct 2023 23:26: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: 13.2-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: erj@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=3D274440 --- Comment #13 from Eric Joyner --- It's ok -- we found the ticket last week and escalated it; hopefully we'll = get some traction on it internally. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Oct 23 23:57:05 2023 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 4SDsYZ0pvhz4ydxM for ; Mon, 23 Oct 2023 23:57: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDsYY6vrLz4FLQ for ; Mon, 23 Oct 2023 23:57:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698105426; a=rsa-sha256; cv=none; b=iRIAAuQ6fVhy396aKoBvPXD9LiuD4FOwXim8cJuG0VhfdpYKw5kKucDhsen/whrM9xM1s/ DGSihtd8dCJCGQgvZQRXocoVbeqXgvo4uFXYjGNROsFiYs6rPmlhjCBVX5oJl8i/nbcGET C7qLAD/omYBHu/akBlYZyVjxiZubVm7g+KQScWYDiKsRxLoHtzbzAj2ecCc9M2abkyzDEE fX/A4DNpUUBZmz4S9WsjEW6mQax+xktB1iOKrw//2tJt/7Jzz3NuMlsVdZfMLhLnYYcL62 WkeIGLkJ8Pj/FsW3CQm1e3vRUZcoJStK+59nWp537QpJCFn5QyhTG/d13L4OXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698105426; 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=DCddH2+XorxUQGNxjzy46mH4SCfOuLbCfFpMBgQEj+A=; b=dKjBhxLppsaNdbn5oJbqVy78eLZBmxBndViI5Ig4PGpWm9tOKtKuVAMLOfqFFFXn0hkExd ohXVv7KUBh7OR69/KbQu+puboFbgHxS2GoF6VRQpWSxuqBxDWYszU2DOyGT6PIeVsBkKWV QxFM/Is/EFC80VuTbrkSOvp3zpy0ShL6LGqyeXKBG3UtfU4qR2IApCL0P9qsIJoGYwInG4 y9o6g2C9MLA8fq5Qga1k3rhlyvufDIuOkYJu/G9tcuHU7Vq3XzpHc0Br6j2fBckhBH+4rZ e5ss0Yya+7URwpVczKxUdYlPWsNjsJEqn2UdjaDuW2swN0pQ1Ni/5xl+/MZpcA== 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 4SDsYY608Pz10w1 for ; Mon, 23 Oct 2023 23:57: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 39NNv5wF039225 for ; Mon, 23 Oct 2023 23:57:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39NNv5Ep039224 for net@FreeBSD.org; Mon, 23 Oct 2023 23:57:05 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 274292] Adding patch to support Realtek Killer Ethernet E2600 Date: Mon, 23 Oct 2023 23:57:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dragonflies@mailfence.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@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=3D274292 --- Comment #11 from Sk Razee --- (In reply to Graham Perrin from comment #3) Sorry, I don't know their real names. Yes, I wasn't aware about that. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Oct 24 01:16:10 2023 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 4SDvJr2ZVqz4xFvK for ; Tue, 24 Oct 2023 01:16:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDvJq6TWyz4TM4 for ; Tue, 24 Oct 2023 01:16:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698110171; a=rsa-sha256; cv=none; b=brdgfkUIG6UmG7EYILuQ4g9Rx/SQFqx2EBnZUW2VQU2Z0m0HSaBbg6lw/jXC7l4QXm4BKV tXRabNuTjLnDET1SjwXDE66v6S5J9/usvt88xdI/tEZoyTBxkmoPYDNNSLtTnCW4CRS8O2 DGCtJOmfQjEuu9Hjq1is0NfKwW8FnsjCwD+JdiSIfm3FS3Zmu9ONVOLubquMsBgPLrLr9G Y6saxiprS9IHJ9+ej3TO84c0cN3eWYivTqi+bKqaKV6UodYZKKxiAIiBlFEzczEEZFnWeI LkOCXQHprTLLvEGs/KWprAEHXkuMCjyhaj7ZH4ary8EJhkI+4mNgPgL3JugtaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698110171; 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=BdsoxXAXf+fie3m1ttXw4BN8UEGjT3eqK/rqk4Q+Yvo=; b=USWTSSqhOo1lJ7CId5oWC/RCc2V1moX+UhxoMorPdca6gmn1MTcu/Yj81d4kkDiO3Ck2hN +vhLdjPBm6CxYrMEshrfKU2WJGfs77FYZ7HPwBNasHO9PEiSeSVR70XBU5jhjIVl7VWafJ 8uv692ie232D+qmBswfEmIJ/XPXSylyUJIvrG6GKHpspSffD4Ojn6hGH79lD8aM8FPvTzB SBrXnTOd6S1Y8VkvDsgAUsax9r652CmyMz6mTTOLDkBFpvGkfakEg9fnyJHEp1O7wn01s5 Y7oVY4tIRntR4wqvYO419M0BL4zlcHuyz8R94Z3oyle3viQq0J6/BpO+lQEWKQ== 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 4SDvJq4kwQz1323 for ; Tue, 24 Oct 2023 01:16: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 39O1GBfv075572 for ; Tue, 24 Oct 2023 01:16:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39O1GBKj075571 for net@FreeBSD.org; Tue, 24 Oct 2023 01:16:11 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 274292] Adding patch to support Realtek Killer Ethernet E2600 Date: Tue, 24 Oct 2023 01:16:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@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=3D274292 --- Comment #12 from commit-hook@FreeBSD.org --- A commit in branch releng/14.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D19232cc73b4b17246bbeec9dd133648ca= 1b608c0 commit 19232cc73b4b17246bbeec9dd133648ca1b608c0 Author: Sk Razee AuthorDate: 2023-10-06 06:08:16 +0000 Commit: Ed Maste CommitDate: 2023-10-24 01:15:26 +0000 if_re: add Realtek Killer Ethernet E2600 IDs PR: 274292 MFC after: 1 week Reviewed by: kp Event: Oslo Hackathon at Modirum (cherry picked from commit 3c871489cdd6c5606b2b1125f66b0e9b8f39561f) (cherry picked from commit 50cf84e93c5be087316da4495395b66793fe80d9) Approved by: re (gjb) sys/dev/re/if_re.c | 2 ++ sys/dev/rl/if_rlreg.h | 1 + 2 files changed, 3 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Oct 25 00:31:02 2023 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 4SFVGG4VFwz4xk6n for ; Wed, 25 Oct 2023 00:31:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFVGG3Rgcz3Q8H for ; Wed, 25 Oct 2023 00:31:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698193862; a=rsa-sha256; cv=none; b=iFpbTxJr79+mU0a7xWlcHJu/GNtysnLlwWhm+RXakyCmn09i7v4rlngiKTqapF/2vkqYcw oKrr8wgyA/GNA0aRnXl6QzSWc3iRfXPKpCSdRPI+L0748sSe3gUtVVxPt3aFJs4LZ66RPY mr1qbcuc1nQuaJNWRfM+ZQr+VsrBrDhVBf6JeDffCZifO2Ni/uJWZQ867XmbJGIVjHA3zb aoTQqQ3Pjsat/r6LxEUXy6atKDy2MyYvtY9E1vjTtOz20lyq2wKmDQaD4dsVG4eVWALtQt w2WlOWcFZPoRgbFbk037o/0UN7bKWnLom3jvLu+hHzRjqiocu7udHuKT4NVn2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698193862; 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=JW9plZt7KZ16LVxakyJsRB3Ak1er4+6mAf4KU74HVt8=; b=By/EG8WJf7RWxgxFcfuxoAqc5j+P6CVKQXEfbHATOeJNfA/91Z7ii0mikCSQm+7bfG2fIP E7JgTlt9p+Fck/DJs2vlnxBg50B6wsEpmV4shpWAaxyFLZtID+Wux5vnR4aqBj15L+Ss39 XIZ2Ej1gkmJEAW7lrtkKunj7/QGs1qWaqjuOGrqvuqCrMXBshVxvHBOLCKw5eO+eZUHgoy S6nh9NXG+3sT86bbMdXnP5yUy5+WuVFEn4Oyd5wxT3wzAafHNAHIPuXtKpUTDbQD1B3naa EQ0Yjaqi3Ew9Vo/80xir3mJegkI8uWsrL444Sh2vwEMxlwyh8kTfZ+ehyodAXA== 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 4SFVGG2XXtzk73 for ; Wed, 25 Oct 2023 00:31:02 +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 39P0V2gq070062 for ; Wed, 25 Oct 2023 00:31:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39P0V2dS070030 for net@FreeBSD.org; Wed, 25 Oct 2023 00:31:02 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 274688] qlxge driver spams syslog and dmesg Date: Wed, 25 Oct 2023 00:31:02 +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.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People 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=3D274688 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 Wed Oct 25 11:47:22 2023 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 4SFnGr26jTz4yPWy; Wed, 25 Oct 2023 11:47:32 +0000 (UTC) (envelope-from Richard.Scheffenegger@netapp.com) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2062c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5a::62c]) (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 4SFnGp6VkJz3bFf; Wed, 25 Oct 2023 11:47:30 +0000 (UTC) (envelope-from Richard.Scheffenegger@netapp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netapp.com header.s=selector1 header.b=BJKTBu+A; spf=pass (mx1.freebsd.org: domain of Richard.Scheffenegger@netapp.com designates 2a01:111:f400:fe5a::62c as permitted sender) smtp.mailfrom=Richard.Scheffenegger@netapp.com; dmarc=pass (policy=reject) header.from=netapp.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IGZiScm/lHqf+A7lNHHv/Z3i4R6tnN85SKzcMkef+gjwkfcvtv14caadoamnzA6TVwvEjlOO8+XkOhsgDOJZYr9rJmKEDTM2fcBKwAHFrkCKQYvdfBoIuf7DeopPQYu3PvOIbU2v/2p6AhY0d/efSYR3PRE2vyWy4DUCfpEgd4C9S1Gc7s70X91SEUDndtOQqf4BP5dwuFvs9OYJcaD3iX5wc8T4pFxbHc4nNzaKvTI8O9n8JXkMdrxRVBuFtt8b+xvIC1kaTQoAHWepCZYqOXIQSCMcpa/wt1pJwv4mSCnGjk8TME9GPP169KWaWXsqU+StBeazC4jatwqF2gMp3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=1FsQ1vbOUpqo+hlmljlCczYHfbV2n6gnwrqyQGpwzCE=; b=huYHLnOYwEHU0HVH+0i8ceu+Qd4OJbqvf3As4pMTQdIAaBMGqYbyxjoXaqs3KLoyUW3+dIC2z0RZgXN7b1r+3lJysHK2KZ5SNAMr1dGWtSeJI0ZkggxH+lqHFKKl1yLY/dvFonF0eTYgv4ddsXWCbjELlBXR55OmXgGL+pz03RkO+VdY/2h1y03eYWpOZIj1ykA7BTDLWZEjO/G3ihGlIZtUdtR4fKdaqUdq00X/4hE4rkAG/4oE72BLr0LYcuZNcndIMwWS4ZScpSosnWuhPtA67x2xlhYDzO3zZj/68i40GCS01QDvof1VLDAomGOGkXM3+IstCAaBHnkwwOzsMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=netapp.com; dmarc=pass action=none header.from=netapp.com; dkim=pass header.d=netapp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1FsQ1vbOUpqo+hlmljlCczYHfbV2n6gnwrqyQGpwzCE=; b=BJKTBu+AvzlTNislywY5fpB8/YfNsWZKJ7kndTZYlLYp84yf1YdBTwsgtUfXOBv4BJ163dYgUYsuWs7gVTuugzaxp1ON15cpR6G7qgitekuXo3mrhOyUN3T50+8IeKBebH42zSPhGinY8Xo9R6b/8wz3h2xG3+fMIIoWSCL398U0FURsGdeCC0K3eZd0qkVWAqGQJqZ0jGEyjlpbB8n+7HQNKBCgeHO9u32xzGdfh6Guhofaa0uI7GbgZW/g44SwH3KMV4CYC6DM4ZfAtV24E9jyAFRmbNkxq/J+GE/gDW7ArtLX2p8drwlx/84XoA15ImFjX9zAQYyDfFAEod8jRw== Received: from PH0PR06MB7639.namprd06.prod.outlook.com (2603:10b6:510:4e::18) by CH3PR06MB9482.namprd06.prod.outlook.com (2603:10b6:610:19f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.33; Wed, 25 Oct 2023 11:47:22 +0000 Received: from PH0PR06MB7639.namprd06.prod.outlook.com ([fe80::9271:1360:c211:8931]) by PH0PR06MB7639.namprd06.prod.outlook.com ([fe80::9271:1360:c211:8931%3]) with mapi id 15.20.6907.032; Wed, 25 Oct 2023 11:47:22 +0000 From: "Scheffenegger, Richard" To: mike tancsa , Wei Hu , "freebsd-hackers@FreeBSD.org" CC: "freebsd-net@FreeBSD.org" Subject: RE: Very slow scp performance comparing to Linux Thread-Topic: Very slow scp performance comparing to Linux Thread-Index: AdnZfvJbaS4mlPy2QcSWspi9tSFg8QAOUIEAC1/r20A= Date: Wed, 25 Oct 2023 11:47:22 +0000 Message-ID: References: <73af5253-55ba-13d1-6d31-9bc96233e7d5@sentex.net> In-Reply-To: <73af5253-55ba-13d1-6d31-9bc96233e7d5@sentex.net> Accept-Language: de-AT, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.701.4 dlp-reaction: no-action x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR06MB7639:EE_|CH3PR06MB9482:EE_ x-ms-office365-filtering-correlation-id: 0b454f9f-7ffd-4436-25d3-08dbd5502662 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2bn+mnx8onAwIMY//g9PVYBdj5wygD639xv05N6e1sCFSKo74/OwFI7lA0EvManeZBsgkGFmBfDg4mYn/IiSn68UIsttoMFF5/4pVvUSLMJoKbvEIc+tmrW4nQgXzH+OQbDyT+ixKX/17/KNJ2ZUEwt1+U/FH6r0SciZRkUByomv1QIy4dtFh7VYzynMsT7Fa/zTJPiAxxNVj/HWXdOUhWXg5zuRpvZcR2RLsdrKmiql55Lc90kcaLN4a3oBU4JQDVihGB1wy/UAY3mvf8XdxZ/+QPs4NOgJgZHMGJwE/jDPp7cBZJ5WpwptJXv9nnxz1YxwNRzk61/V5pbN5j2Xixetqc3IhZYA6JaC5p153WRFeuVQj4IXv7ev/GajVb4NcSZ9VLTKTf5DHBt/yvzD6+cVY7VYOYVwQA8oM4BEIoiD/utD2AcLDkhkgFdGsIXR1kPCb7+/F5+Rbrph7Ae5h0pjg9KaolPhHaUL4SHDN5t4d2RhfdH32bSXNJDUOdGsHdtYa49/ujUGiUFLqAXdh9GvVzXKV3TD5HIuiv0cTcIrmBb6J18Hkwxlj6Gey2mhoNYVfvTJe/ApLeLgw8qQin9sETuv9d5av1MiJiHXccD2daMO5typ/sH9/Mp8qkNQ x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR06MB7639.namprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(39860400002)(376002)(366004)(136003)(346002)(230922051799003)(451199024)(1800799009)(186009)(64100799003)(8936002)(41300700001)(4326008)(8676002)(2906002)(38070700009)(52536014)(5660300002)(53546011)(83380400001)(9686003)(7696005)(6506007)(33656002)(71200400001)(66574015)(122000001)(38100700002)(86362001)(26005)(966005)(478600001)(316002)(64756008)(55016003)(66946007)(66556008)(66476007)(110136005)(66446008)(76116006);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?d2RZZ3dVSXFFOTFJejRRZC9yV3NwVVVtQTV4QXA0dThKVm1hOFlTcG1qcFRS?= =?utf-8?B?TnB2VkdwbUY2TS82ZTJzZUg1SE13aFlpeWN4WTYrbTZSYzQ0NUlRamszb0Qw?= =?utf-8?B?aTJIQlNLMmhGVWNDWG5FRkw0dzVkeDJxcUIrb3VoaEl3c0c4REZ2Q3RIdGxV?= =?utf-8?B?MkxzVGxaN1JMaml0UHB2Y2F6Ti82dmJJT3ZiVm5IajdlN0pQQUYwVXZkWTlZ?= =?utf-8?B?K2pkMzFIdjZka0JBN1JBandoelVTaG1RWWlnMG0rVndObHRsd1pTclEyZWJK?= =?utf-8?B?WHlzR2EyQUNRajgvMXBQTnhOY1Zybk90YWh5TzcwMjc4bUFYTUdUNlpWY3dF?= =?utf-8?B?WFpEdDVjMUNMNEt4a1VxajJDemxLSkJHb0hIam5ZNlc2ZzNmS3VabUhFZENu?= =?utf-8?B?ckhKN2NJblVLbnJuRy9wUzRqRTVwMGpCbWlQZlhvaWhaYWh4MEFwK2dIM2wv?= =?utf-8?B?RW9kRlpYWlRWTm5kdi9BSkVLS1Bqc2Rid0lraVUyUlV1ZU5IS1NUYVMzNFdO?= =?utf-8?B?d2MyRFJGc3dnUTdQTE5KdExQTFMzQ3NnTG1ML054dEJZVTFqSTNaU1cyRUUx?= =?utf-8?B?UERldzFvSExhYzIrc095aGRMVGRPbUsrV0JYajlaSE9OcDc4Y3JSUitnUUZp?= =?utf-8?B?UUVSWEZIY0FpVWxPUUhOeUNScGRSMlpuN0pvTWVQQWJreW9TYTFLMXFMRGFa?= =?utf-8?B?NERxNUNyMCtYbTJzbWZXQUI0MEdNRkJCM0ErVk9jKzBzRG9xdjAxQzdLZWV0?= =?utf-8?B?bGx0NkhvdHB4b2RhRDZsNEt6aU1GV3k2WkF0cEp5dURvMDZpUU0xWUtuamta?= =?utf-8?B?NW1sVDdjQVl2TVR4Qkplbi9sNURKOXIyd0ZuV2xWNXZlekRYTUo2VmQ3S3Nt?= =?utf-8?B?blQxdTVpRitNQWhMSXNOOWwzMWNQb2tPeGN4L0FwNTRRQ0poQSt5N3FUL2Ji?= =?utf-8?B?azdQZUpGWDREQUpaNlRzTklkWTZDZzc1RkRPbzRKNUZJQ1NLSk9oVnM3SnZK?= =?utf-8?B?dnFyNS9raHhaeGV3UDBTeC9UZ2hFTTlzeTlmdmQzNG9tMWMvQ1VQbGdCOG1P?= =?utf-8?B?ajI2MTVRcDNFUWNoWXM5N0hlNG5kU1FhMWRTaWFFQWxGSHBnb3RVRGhVWU1V?= =?utf-8?B?S2EwdzZSbU1FM3R1S2tadUt6bDNOTkorNEFZeDZPL1FZdGdzZ0dwT245Z05X?= =?utf-8?B?endQRDFCaUZlcjc0cXMzK0JwQy9qc1cxYlNmdTNkODZWUWNlYWJ1VGM3QjQy?= =?utf-8?B?KytIaExMemVEOFlKNk51K2xnTUpMZ2xXa2lWQW9yTFZ5YWlUcGJ3QVM0S21Z?= =?utf-8?B?RDA1MkdwVFNxOWhabkhUM3NiMzhBOXRVUmlMSXkveCtVR0MzYy9zVzd4UXJQ?= =?utf-8?B?djBPWGMzeGJPK3lpZ3FTd203VS83WDh3c1RGci91aVJkdlhpdUttRis0N1RN?= =?utf-8?B?V3lGM1JoLzBzL3JQSEtHQW1oRm1sL3hEL0d6MldXanFNdVBtUmhzK29XMVg3?= =?utf-8?B?cG9kaW1WNS9oMkdmSnFPWU1xVWZHay9oZU5vTHJmVWdCbDNpQm5wSGpaRGlw?= =?utf-8?B?NXBpQ2JWcUhYeVpOWU9GbG5Eemp6ekZkUmVuWTg5TStYWFZGMzFEZkJmVjdI?= =?utf-8?B?RXNxYnJ0QjBUekFVNWxmWjhyaFprY3lBR2ppTXJ3MVNJZUtORitVQU9CemFp?= =?utf-8?B?RGdpRGI1bzN5eDZBZE0yc08wbmZEWSsyVDJIYVJ0WCtGeWhXd0hvTjVZR3pR?= =?utf-8?B?QW5UUm05RlJvZWh4b1kwYVVWYm1oaEZ5ZjRHa1k1TUtlWE95VmZ5SjVSd2xH?= =?utf-8?B?cS9yWkp3NGV6bmhVYWo4aXB5ZVBaRGZnOFFSelZCWDdkZ25BVFFxWncwU1hD?= =?utf-8?B?dkh2eTI3NExKbTZzVDlrZ0F5OWJjcmhDay9PNy9VZEpYNzVkRHJFSThCOVN1?= =?utf-8?B?NVB1YVh0UXhYTHp3VDRKcFR6VXdGN2tXTUZsd1FvMGd5cXdkaFpvR2sxMmwv?= =?utf-8?B?YmJlbE54a0NHbTgzZVlhUWY1enN4Zk9nZk9TMUloMHJuaVJkZkZncUdaNDFi?= =?utf-8?B?SWhxU0V2YnVBQS84L0VLQnpnTnIzdlBneG9GMnpqYXNPd1pwNFpVamNyQkxv?= =?utf-8?Q?YXd9AcJ6HGa0TTaNwWU0ZCyTi?= Content-Type: text/plain; charset="utf-8" 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: netapp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR06MB7639.namprd06.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b454f9f-7ffd-4436-25d3-08dbd5502662 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2023 11:47:22.0659 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +2wC5KR/0u6443Q9UbK+/iat2QDGN8TiqTpBsCDNWRhKzv32T3Loa+6QXTnVN7MpZe+b/engpiOpF/Iig5UCuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR06MB9482 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.90 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; DWL_DNSWL_LOW(-1.00)[netapp.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[netapp.com,reject]; R_DKIM_ALLOW(-0.20)[netapp.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; MIME_BASE64_TEXT(0.10)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org,freebsd-net@freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[netapp.com:+]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[] X-Rspamd-Queue-Id: 4SFnGp6VkJz3bFf UG9zdGluZyB0aGUgZnVsbCAiaXBlcmYzIC1pIDEiIG91dHB1dCwgYXMgd2VsbCBhcyAibmV0c3Rh dCAtc25wIHRjcCIgYmVmb3JlIGFuZCBhZnRlciAob3IganVzdCB0aGUgZGVsdGEpIHdvdWxkIGJl IG5pY2U7IA0KDQpPbiBoaWdoIHNwZWVkIE5JQ3MsIGlwZXJmMyBpcyBub3dhZGF5cyB0eXBpY2Fs bHkgY29yZS1saW1pdGVkIChzY2FsZXMgd2l0aCBjbG9jayBzcGVlZCBvZiB0aGUgYWN0aXZlIGNv cmUgd2hlcmUgdGhlIHNpbmd1bGFyIHdvcmtlciB0aHJlYWQgaXMgcnVubmluZyksIGJ1dCB0aGF0 IHNob3VsZCBiZSBwcmV0dHkgbXVjaCBpZGVudGljYWwgdG8gaG93IHNjcCBpcyBkb2luZyB0aGlu Z3MuIE9uIHJlYWwgaGFyZHdhcmUsIGl0IG1heSBiZSB0cmlja3kgdG8gYWNoaWV2ZSBtb3JlIHRo YW4gMTBHYnBzIG9yIDI1R2JwcyAoZGVwZW5kaW5nIG9uIGhvdyBtb2Rlcm4gdGhlIHBsYXRmb3Jt IGlzKSB3aXRoIGlwZXJmMy4NCg0KQWxzbywgZm9yIGhpZ2ggYmFuZHdpZHRoIG9wZXJhdGlvbiwg YSBudW1iZXIgb2YgTklDIGRyaXZlcnMgdHlwaWNhbGx5IHBlcmZvcm0gYmV0dGVyIHdoZW4gdHdl YWtpbmcgdGhlaXIgdHgvcnMgcXVldWVzOg0KDQpDQzogSG93ZXZlciwgdHVuaW5nICJzeXNjdGwg bmV0LmxpbmsuaWZxbWF4bGVuIiBkaXJlY3RseSBkb2VzIG5vdCB3b3JrLiBUaGVyZSBpcyBhIHBl ciBOSUMgaW50ZXJmYWNlIHNldHVwIGluIHRoZSBkcml2ZXIgdG8gc2V0dXAgZGV2aWNlIHR4L3J4 IHF1ZXVlcy4gSSBoYXZlIHRvIGluY3JlYXNlIHRoZSB0eCBxdWV1ZSAiaWZxX21heGxlbiIgZnJv bSB0aGUgZGV2aWNlIHN5c2N0bCAiaHcuYmNlLnR4X3BhZ2VzIi4gQWZ0ZXIgdHVuaW5nIHRoYXQs IEkgY2FuIGFjaGlldmUgYSBzdGFibGUgMUdicHMgeCAxMDBtcyBkZWxheSBCRFAuDQoNCg0KUmlj aGFyZCBTY2hlZmZlbmVnZ2VyDQoNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206 IG93bmVyLWZyZWVic2QtbmV0QGZyZWVic2Qub3JnIDxvd25lci1mcmVlYnNkLW5ldEBmcmVlYnNk Lm9yZz4gT24gQmVoYWxmIE9mIG1pa2UgdGFuY3NhDQpTZW50OiBNb250YWcsIDI4LiBBdWd1c3Qg MjAyMyAxNjowMg0KVG86IFdlaSBIdSA8d2VoQG1pY3Jvc29mdC5jb20+OyBmcmVlYnNkLWhhY2tl cnNARnJlZUJTRC5vcmcNCkNjOiBmcmVlYnNkLW5ldEBGcmVlQlNELm9yZw0KU3ViamVjdDogUmU6 IFZlcnkgc2xvdyBzY3AgcGVyZm9ybWFuY2UgY29tcGFyaW5nIHRvIExpbnV4DQoNCltTaWUgZXJo YWx0ZW4gbmljaHQgaMOkdWZpZyBFLU1haWxzIHZvbiBtaWtlQHNlbnRleC5uZXQuIFdlaXRlcmUg SW5mb3JtYXRpb25lbiwgd2FydW0gZGllcyB3aWNodGlnIGlzdCwgZmluZGVuIFNpZSB1bnRlciBo dHRwczovL2FrYS5tcy9MZWFybkFib3V0U2VuZGVySWRlbnRpZmljYXRpb24gXQ0KDQpOZXRBcHAg U2VjdXJpdHkgV0FSTklORzogVGhpcyBpcyBhbiBleHRlcm5hbCBlbWFpbC4gRG8gbm90IGNsaWNr IGxpbmtzIG9yIG9wZW4gYXR0YWNobWVudHMgdW5sZXNzIHlvdSByZWNvZ25pemUgdGhlIHNlbmRl ciBhbmQga25vdyB0aGUgY29udGVudCBpcyBzYWZlLg0KDQoNCg0KDQpPbiA4LzI4LzIwMjMgMzoz MiBBTSwgV2VpIEh1IHdyb3RlOg0KPiBIaSwNCj4NCj4gV2hlbiBJIHdhcyB0ZXN0aW5nIGEgbmV3 IE5JQywgSSBmb3VuZCB0aGUgc2luZ2xlIHN0cmVhbSBzY3AgcGVyZm9ybWFuY2Ugd2FzIGFsbW9z dCA4IHRpbWUgc2xvd2VyIHRoYW4gTGludXggb24gdGhlIFJYIHNpZGUuIEluaXRpYWxseSBJIHRo b3VnaHQgaXQgbWlnaHQgYmUgc29tZXRoaW5nIHdpdGggdGhlIE5JQy4gQnV0IHdoZW4gSSBzd2l0 Y2hlZCB0byBzZW5kaW5nIHRoZSBmaWxlIG9uIGxvY2FsaG9zdCwgdGhlIG51bWJlcnMgc3RheSB0 aGUgc2FtZS4NCj4NCkp1c3QgY3VyaW91cywgaG93IGRvZXMgaXBlcmYzIHBlcmZvcm0gaW4gY29t cGFyaXNvbiA/DQoNCiAgICAgLS0tTWlrZQ0KDQoNCg== From nobody Wed Oct 25 11:50:39 2023 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 4SFnLW0hYmz4yPFs; Wed, 25 Oct 2023 11:50:43 +0000 (UTC) (envelope-from rscheff@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFnLW059Pz3bv0; Wed, 25 Oct 2023 11:50:43 +0000 (UTC) (envelope-from rscheff@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698234643; 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:autocrypt:autocrypt; bh=WzXIveHQmsQI/tww3V4CCRD49y3aqdQXamBMlWtis2w=; b=aLdfld20vaTh+QgvRT208fa0qjCIclZDS/0w3+IZ1nLK4Sm1fmd0NHOfC+4mtFOOqrZDBr 8AXhZejhtcvJQ6nSho7hkX02T4DUYIsSqL7lWbmCLShB3iiQ3lzoSMcbHliTN8MhbS2LXE cJmncNn/KxVQmEeamzPYNBdbdDRPrE9wcnLf3dDfTyFMqnD+utwCvw/W8jAE6r1yav6MAF VvQiMCunRsvF6NrCoa0qJxM+cWtAdpcKIVOknq9n+bKxjTT5fO9JKE5NfpRXxgc3dd9Awf /itaKl+H7YxMFzdIoULrgvJrQ+Z1HtXQsGyMUBEnKOX74d/0SoC7SXZ3MeaWzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698234643; a=rsa-sha256; cv=none; b=vGeegFAJg1EkTg4dYk9tNCF0MrE2/R85nmk35ONntdAXDJEmTiQGoeECzPGVHQErdMpUsQ x272gN8N9J3Qc113Cg7GQRZS2WyjWfJykHaiaO6AkefpFUhLxClIkpagoBcIXP8fwJnrzJ uWFCtTFSD5IOWpknftje0LrfnuJKjp852dqzKDr4qeQ4KjXQ0ZUE652vMjWJAHs/Y5eYD9 7kmE7+dSGnclezljub/7wXae3IuWcAPtGjSXuaiadwrc9CTM0UktKuN6VwgNm/RV2RANKX MWvfbZz3K2Bg+bgxRcRVrsECPh2cpaZHOmOlkW3F6R+Ty3N0h+S5sWzai3GxNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698234643; 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:autocrypt:autocrypt; bh=WzXIveHQmsQI/tww3V4CCRD49y3aqdQXamBMlWtis2w=; b=N3yg8dSg7qi9DS4uBtb4gcJCRUT4ho6AUgPCUvJkZQzSQqwcUusqsUFgVtW+HXWdnmCim+ rJPLyr4jYlbVsT0wa61bH5T2r53ua/ygnhmSwbc63CBm+zfVZyxmgOljmLFvIaZqx4MH6M Z9t/ISXNujvZf461ipAXBdPwNYixwskU2KV1VBjtj3bM+v0piK6gwK2Kgs/wWoaJGjCaTG ZG7oIfCtTmofFjC8aw1igKVYDg9riX34SFbViIW2FnUOEO1BGljt7AQL5Y56Ua9aFtgRdE JJySzqlL5RtgSQm2KBTIv38z7OeoaCs8Lowc8KAsUOCZ09Y7BdBJdn3ZTZiYQA== Received: from [192.168.233.114] (unknown [185.236.167.136]) (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: rscheff/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SFnLV2WqhzqTL; Wed, 25 Oct 2023 11:50:42 +0000 (UTC) (envelope-from rscheff@freebsd.org) Message-ID: <23fcc1d7-f3d8-4be0-bcaf-576d4798fcf7@freebsd.org> Date: Wed, 25 Oct 2023 13:50:39 +0200 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 To: mike tancsa , Wei Hu , "freebsd-hackers@FreeBSD.org" Cc: "freebsd-net@FreeBSD.org" From: "Scheffenegger, Richard" Subject: RE: Very slow scp performance comparing to Linux Autocrypt: addr=rscheff@freebsd.org; keydata= xjMEY/i74RYJKwYBBAHaRw8BAQdAwtnvjlFVnnzNXO9hjHtB6MPGSY19L/BHh/iziPF0FzrN K1JpY2hhcmQgU2NoZWZmZW5lZ2dlciA8cnNjaGVmZkBmcmVlYnNkLm9yZz7CmgQTFgoAQhYh BDZLt5msg0Ras820cRe+WJngsUObBQJj+LvhAhsDBQkJZgGABQsJCAcCAyICAQYVCgkICwIE FgIDAQIeBwIXgAAKCRAXvliZ4LFDm4ylAQCSw2/nvht8kExJ31M+3qpjOqdVypMp+/Ojvh5Z lsk96QEA5HCBkteJcrohwRA7llZvLH3m25hcJdzmDh39mc0cSgPOOARj+LvhEgorBgEEAZdV AQUBAQdA1Dim8ZWpXRS5i9hb3O4RNHub8XvqTTkYyiZ2lSkXDwYDAQgHwn4EGBYKACYWIQQ2 S7eZrINEWrPNtHEXvliZ4LFDmwUCY/i74QIbDAUJCWYBgAAKCRAXvliZ4LFDm2TGAQDcg+bA EPqOH+JCIND8wZ62MwnjFyXFv73qevXkUHHNSgEApUgpHW9f6UaIAQpc3R185xjz6tk8XXBx eYpxKgIAeQ8= Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------SxTt0KitcNihA3v0HnqOl8Tw" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------SxTt0KitcNihA3v0HnqOl8Tw Content-Type: multipart/mixed; boundary="------------9dYJKxrth2Kyz34mwJhkMJIv"; protected-headers="v1" From: "Scheffenegger, Richard" To: mike tancsa , Wei Hu , "freebsd-hackers@FreeBSD.org" Cc: "freebsd-net@FreeBSD.org" Message-ID: <23fcc1d7-f3d8-4be0-bcaf-576d4798fcf7@freebsd.org> Subject: RE: Very slow scp performance comparing to Linux --------------9dYJKxrth2Kyz34mwJhkMJIv Content-Type: multipart/mixed; boundary="------------3Lp8bNNP06mHb05bJULofbqg" --------------3Lp8bNNP06mHb05bJULofbqg Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 UG9zdGluZyB0aGUgZnVsbCAiaXBlcmYzIC1pIDEiIG91dHB1dCwgYXMgd2VsbCBhcyAibmV0 c3RhdCAtc25wIHRjcCIgYmVmb3JlIGFuZCBhZnRlciAob3IganVzdCB0aGUgZGVsdGEpIHdv dWxkIGJlIG5pY2U7DQoNCk9uIGhpZ2ggc3BlZWQgTklDcywgaXBlcmYzIGlzIG5vd2FkYXlz IHR5cGljYWxseSBjb3JlLWxpbWl0ZWQgKHNjYWxlcyB3aXRoIGNsb2NrIHNwZWVkIG9mIHRo ZSBhY3RpdmUgY29yZSB3aGVyZSB0aGUgc2luZ3VsYXIgd29ya2VyIHRocmVhZCBpcyBydW5u aW5nKSwgYnV0IHRoYXQgc2hvdWxkIGJlIHByZXR0eSBtdWNoIGlkZW50aWNhbCB0byBob3cg c2NwIGlzIGRvaW5nIHRoaW5ncy4gT24gcmVhbCBoYXJkd2FyZSwgaXQgbWF5IGJlIHRyaWNr eSB0byBhY2hpZXZlIG1vcmUgdGhhbiAxMEdicHMgb3IgMjVHYnBzIChkZXBlbmRpbmcgb24g aG93IG1vZGVybiB0aGUgcGxhdGZvcm0gaXMpIHdpdGggaXBlcmYzLg0KDQpBbHNvLCBmb3Ig aGlnaCBiYW5kd2lkdGggb3BlcmF0aW9uLCBhIG51bWJlciBvZiBOSUMgZHJpdmVycyB0eXBp Y2FsbHkgcGVyZm9ybSBiZXR0ZXIgd2hlbiB0d2Vha2luZyB0aGVpciB0eC9ycyBxdWV1ZXM6 DQoNCkNDOiBIb3dldmVyLCB0dW5pbmcgInN5c2N0bCBuZXQubGluay5pZnFtYXhsZW4iIGRp cmVjdGx5IGRvZXMgbm90IHdvcmsuIFRoZXJlIGlzIGEgcGVyIE5JQyBpbnRlcmZhY2Ugc2V0 dXAgaW4gdGhlIGRyaXZlciB0byBzZXR1cCBkZXZpY2UgdHgvcnggcXVldWVzLiBJIGhhdmUg dG8gaW5jcmVhc2UgdGhlIHR4IHF1ZXVlICJpZnFfbWF4bGVuIiBmcm9tIHRoZSBkZXZpY2Ug c3lzY3RsICJody5iY2UudHhfcGFnZXMiLiBBZnRlciB0dW5pbmcgdGhhdCwgSSBjYW4gYWNo aWV2ZSBhIHN0YWJsZSAxR2JwcyB4IDEwMG1zIGRlbGF5IEJEUC4NCg0KDQpSaWNoYXJkIFNj aGVmZmVuZWdnZXINCg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogb3du ZXItZnJlZWJzZC1uZXRAZnJlZWJzZC5vcmcgPG93bmVyLWZyZWVic2QtbmV0QGZyZWVic2Qu b3JnPiBPbiBCZWhhbGYgT2YgbWlrZSB0YW5jc2ENClNlbnQ6IE1vbnRhZywgMjguIEF1Z3Vz dCAyMDIzIDE2OjAyDQpUbzogV2VpIEh1IDx3ZWhAbWljcm9zb2Z0LmNvbT47IGZyZWVic2Qt aGFja2Vyc0BGcmVlQlNELm9yZw0KQ2M6IGZyZWVic2QtbmV0QEZyZWVCU0Qub3JnDQpTdWJq ZWN0OiBSZTogVmVyeSBzbG93IHNjcCBwZXJmb3JtYW5jZSBjb21wYXJpbmcgdG8gTGludXgN Cg0KDQoNCk9uIDgvMjgvMjAyMyAzOjMyIEFNLCBXZWkgSHUgd3JvdGU6DQo+IEhpLA0KPg0K PiBXaGVuIEkgd2FzIHRlc3RpbmcgYSBuZXcgTklDLCBJIGZvdW5kIHRoZSBzaW5nbGUgc3Ry ZWFtIHNjcCBwZXJmb3JtYW5jZSB3YXMgYWxtb3N0IDggdGltZSBzbG93ZXIgdGhhbiBMaW51 eCBvbiB0aGUgUlggc2lkZS4gSW5pdGlhbGx5IEkgdGhvdWdodCBpdCBtaWdodCBiZSBzb21l dGhpbmcgd2l0aCB0aGUgTklDLiBCdXQgd2hlbiBJIHN3aXRjaGVkIHRvIHNlbmRpbmcgdGhl IGZpbGUgb24gbG9jYWxob3N0LCB0aGUgbnVtYmVycyBzdGF5IHRoZSBzYW1lLg0KPg0KSnVz dCBjdXJpb3VzLCBob3cgZG9lcyBpcGVyZjMgcGVyZm9ybSBpbiBjb21wYXJpc29uID8NCg0K ICAgICAgLS0tTWlrZQ0KDQoNCg== --------------3Lp8bNNP06mHb05bJULofbqg Content-Type: application/pgp-keys; name="OpenPGP_0x17BE5899E0B1439B.asc" Content-Disposition: attachment; filename="OpenPGP_0x17BE5899E0B1439B.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEY/i74RYJKwYBBAHaRw8BAQdAwtnvjlFVnnzNXO9hjHtB6MPGSY19L/BHh/iz iPF0FzrNK1JpY2hhcmQgU2NoZWZmZW5lZ2dlciA8cnNjaGVmZkBmcmVlYnNkLm9y Zz7CmgQTFgoAQhYhBDZLt5msg0Ras820cRe+WJngsUObBQJj+LvhAhsDBQkJZgGA BQsJCAcCAyICAQYVCgkICwIEFgIDAQIeBwIXgAAKCRAXvliZ4LFDm4ylAQCSw2/n vht8kExJ31M+3qpjOqdVypMp+/Ojvh5Zlsk96QEA5HCBkteJcrohwRA7llZvLH3m 25hcJdzmDh39mc0cSgPOOARj+LvhEgorBgEEAZdVAQUBAQdA1Dim8ZWpXRS5i9hb 3O4RNHub8XvqTTkYyiZ2lSkXDwYDAQgHwn4EGBYKACYWIQQ2S7eZrINEWrPNtHEX vliZ4LFDmwUCY/i74QIbDAUJCWYBgAAKCRAXvliZ4LFDm2TGAQDcg+bAEPqOH+JC IND8wZ62MwnjFyXFv73qevXkUHHNSgEApUgpHW9f6UaIAQpc3R185xjz6tk8XXBx eYpxKgIAeQ8=3D =3DBwxS -----END PGP PUBLIC KEY BLOCK----- --------------3Lp8bNNP06mHb05bJULofbqg-- --------------9dYJKxrth2Kyz34mwJhkMJIv-- --------------SxTt0KitcNihA3v0HnqOl8Tw Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQQ2S7eZrINEWrPNtHEXvliZ4LFDmwUCZTkBDwUDAAAAAAAKCRAXvliZ4LFDm3T6 AQCeSMWXbTibQ5CcSaV+KfDf5ohMstg8KjekKpYLigJ7pgEAv4ka9V7HXK6WfLBNvYGKMZPqVnX/ OtC+VpyyOu358QI= =8QAg -----END PGP SIGNATURE----- --------------SxTt0KitcNihA3v0HnqOl8Tw-- From nobody Wed Oct 25 15:27:25 2023 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 4SFt8d1Dv7z4xdwL for ; Wed, 25 Oct 2023 15:27:29 +0000 (UTC) (envelope-from kp@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFt8d0jvrz4V6L for ; Wed, 25 Oct 2023 15:27:29 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698247649; 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=ChOulduti+rbHJNrsMOGSatMwQmrJhQWpCQTdFXWp+0=; b=B0i7EvmceMznGHApd6+H7Fk+7Kzp1x9dm+gJu7KRJFNIpXyaJ01M7tVOsI+t+jVnC6s9Dz 2wWG/eRayIbS0Yool9MTQz3yRprKPuKfwUdj6vSG7GRuVp7a3ERvX6SDj/6ygOgNnIlhj+ n8g4iI9mps3Z4y62PcftFgGgCC2w4Tb0y7vDaAT8Xa2Ki/d9sU2KA93mjQUPeMGcBE3BdT /+FaVOZhhNEgIGXv0G6761pWhjP/0nzFJIXOEPekIlc4Y8lEh0fg24wwUEaWU+maWwdcpE ekc7EFP1Ou/ldyVUghK3VoUzNhWL/0dp4DVYkRvYTwjmpC4neFCWktIxCxyw2A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698247649; a=rsa-sha256; cv=none; b=aB5Ic8PmR5VMHMgnGTHvADh0maTkBmmcsf+7JC0cZKtBNKp1KAxY74goPEIRpPolHLg+Hy xuUPuZGR77Eylix3yTt76IA9y3UV0Ae+kX/zSxNKho1TYFEfesQnqsQ4E/UWy5KLYriHVZ 0fL+n9dw/QdoKDW+7P/cV1LvGd2cpOSEgG1CMJQ9TuYalhN6/fquOatd8lzVYek1gUCIM2 1VWewmzH+qIVslTOIfrSDauFUXo/VAJnt8HRBmHfodnHAp8xiMhwWkzkJUYaqUPJl8UQDv mPiibUPo1QYauYSAPsln76xVJFffDVzhYA/fkXxnVG4OKr2JjRL1U2uZkolp8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698247649; 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=ChOulduti+rbHJNrsMOGSatMwQmrJhQWpCQTdFXWp+0=; b=XRfsVSOR6XrhnD8ClyFtCzWJpcMr7i2j+Jmi2PRR4FzPFN4SxgaPYvNfbR6jo8fBakx56B mPpEv58EHOpViSI1JZRrYM1RVMT4w97W9PleCbUq5nRPDwSnpTDMr/kIORfhTVJ7Hgk8VL LOGHcJWZzWYi8ZVV+gtXYN3MWURkGuLqQFS40DiKrtrr1Zgewkvm7Sb7Mc/YiAK5h7imso 1PY+xQ/PUdr4H7NRkMRK9P8lw5elnjbIX0zwonelxCtMWpZ3xxeOIXehVecnwtRpWtlnid oXfH41CUc/cVPNI5ccX5F4S5wN6ZxgFSFbX8VN8QyksXCcc6eNjIHsiAHtLHCg== Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (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 (2048 bits) client-digest SHA256) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SFt8c5bXszv3m for ; Wed, 25 Oct 2023 15:27:28 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id DE76F1B6F7; Wed, 25 Oct 2023 17:27:26 +0200 (CEST) From: Kristof Provost To: FreeBSD Net Subject: fib6_lookup() returning deleted struct ifnet Date: Wed, 25 Oct 2023 17:27:25 +0200 X-Mailer: MailMate (1.14r5937) Message-ID: 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="=_MailMate_3433B8C0-4555-448B-877E-ABB0265B45A5_=" Content-Transfer-Encoding: 8bit --=_MailMate_3433B8C0-4555-448B-877E-ABB0265B45A5_= Content-Type: text/plain; charset=UTF-8; format=flowed; markup=markdown Content-Transfer-Encoding: 8bit Hi, Several pfSense users report IPv6-related panics when an interface is deleted. The relevant bug reports are https://redmine.pfsense.org/issues/14164 and https://redmine.pfsense.org/issues/14431. The latest report is for a build that includes commits up to 1a18383a52bc373e316d224cef1298debf6f7e25 (“libcrypto: link engines and the legacy provider to libcrypto”, September 15th). I believe all reports are for users running PPPoE, via netgraph, but that might be coincidental, as that’s the most likely way for interfaces to be destroyed (when PPP disconnects and reconnects). There are a few different backtraces, but they appear to have the same root cause, so I’ll focus on one of them: db:1:pfs> bt Tracing pid 2 tid 100041 td 0xfffffe0085264560 kdb_enter() at kdb_enter+0x32/frame 0xfffffe00850ad910 vpanic() at vpanic+0x183/frame 0xfffffe00850ad960 panic() at panic+0x43/frame 0xfffffe00850ad9c0 trap_fatal() at trap_fatal+0x409/frame 0xfffffe00850ada20 trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00850ada80 calltrap() at calltrap+0x8/frame 0xfffffe00850ada80 --- trap 0xc, rip = 0xffffffff80f5a036, rsp = 0xfffffe00850adb50, rbp = 0xfffffe00850adb80 --- in6_selecthlim() at in6_selecthlim+0x96/frame 0xfffffe00850adb80 tcp_default_output() at tcp_default_output+0x1ded/frame 0xfffffe00850add70 tcp_timer_rexmt() at tcp_timer_rexmt+0x514/frame 0xfffffe00850addd0 tcp_timer_enter() at tcp_timer_enter+0x102/frame 0xfffffe00850ade10 softclock_call_cc() at softclock_call_cc+0x13c/frame 0xfffffe00850adec0 softclock_thread() at softclock_thread+0xe9/frame 0xfffffe00850adef0 fork_exit() at fork_exit+0x7d/frame 0xfffffe00850adf30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00850adf30 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- This happens in the TCP output path, where we look up the hop limit for a specific destination. I’ve obtained a core dump for such a crash, and I believe the panic happens on line https://cgit.freebsd.org/src/tree/sys/netinet6/in6_src.c#n861 The call in tcp_default_output() is `in6_selecthlim(int, NULL);`, so we don’t get an ifp from the caller, but instead perform a route lookup, and try to obtain the hop limit through `ND_IFINFO(nh->nh_ifp)`. This panics because the afdata[AF_INET6] pointer is NULL. The core dump shows a deleted structure ifnet: (kgdb) p *(struct ifnet *)0xfffff80203712800 $3 = { if_link = { cstqe_next = 0x0 }, if_clones = { le_next = 0x0, le_prev = 0x0 }, if_groups = { cstqh_first = 0x0, cstqh_last = 0xfffff80203712818 }, if_alloctype = 53 '5', if_numa_domain = 255 '\377', if_softc = 0xfffff80103447a00, if_llsoftc = 0x0, if_l2com = 0x0, if_dname = 0xffffffff81492f70 "ng", if_dunit = 0, if_index = 14, if_idxgen = 2, if_xname = "pppoe0\000\000\000\000\000\000\000\000\000", if_description = 0xfffff8003a5f83d0 "WAN", if_flags = 2132112, if_drv_flags = 0, if_capabilities = 0, if_capabilities2 = 0, … if_afdata = {0x0 }, … if_output = 0xffffffff80e29c60 , if_input = 0xffffffff80e29c80 , if_bridge_input = 0x0, if_bridge_output = 0x0, if_bridge_linkstate = 0x0, if_start = 0xffffffff80e29c90 , if_ioctl = 0xffffffff80e29ca0 , … My understanding is that the fib table should get updated whenever we change the routing table (such as during interface cleanup in `if_detach_internal()`). Some quick experimentation with epair and dtrace also shows: 20 20388 sync_algo_end_cb:entry Stage 1 kernel`setup_fd_instance+0x41f kernel`rebuild_fd_flm+0x99 kernel`rebuild_fd+0x136 kernel`rib_notify+0x50 kernel`rt_delete_conditional+0xf1 kernel`rib_del_route+0x1fc kernel`rib_handle_ifaddr_info+0xd9 kernel`nd6_prefix_offlink+0x1ce kernel`nd6_prefix_del+0x94 kernel`if_purgeaddrs+0x148 kernel`if_detach_internal+0x1e8 kernel`if_detach+0x71 if_epair.ko`epair_clone_destroy+0x62 kernel`if_clone_destroyif_flags+0x6a kernel`if_clone_destroy+0x100 kernel`ifioctl+0x8a5 kernel`kern_ioctl+0x286 kernel`sys_ioctl+0x152 kernel`amd64_syscall+0x153 kernel`0xffffffff8102315b In other words, when we delete the interface `if_detach_internal()` purges the interface addresses, which ends up rebuilding the fib (`rebuild_fd()`) via `rib_del_route()`. That ought to ensure that we cannot end up finding this struct ifnet through `fib6_lookup()`, as the purging of the addresses (and thus the rebuilding of the fib) is done before we `if_domdetach()` at the end of `if_detach_internal()`, and the NULL afdata[AF_INET6] demonstrates that we’ve gotten there. We’ve also gone through `if_free()`, as the ifindex_table no longer contains the struct ifnet pointer for the relevant interface. We appear to have not yet called `if_free_deferred()` (and indeed, ifp->if_refcount is 4, so we wouldn’t have called that yet). I’m confused as to how this can happen, and would appreciate hints. Thanks, Kristof --=_MailMate_3433B8C0-4555-448B-877E-ABB0265B45A5_= Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi,

Several pfSense users report IPv6-related panics when an = interface is deleted.
The relevant bug reports are https://redmine.pfsense.org/issues/14164 and https://redmine.pfsense.org/issues/= 14431.
The latest report is for a build that includes commits up to 1a18383a52bc= 373e316d224cef1298debf6f7e25 (=E2=80=9Clibcrypto: link engines and the le= gacy provider to libcrypto=E2=80=9D, September 15th).

I believe all reports are for users running PPPoE, via ne= tgraph, but that might be coincidental, as that=E2=80=99s the most likely= way for interfaces to be destroyed (when PPP disconnects and reconnects)= =2E

There are a few different backtraces, but they appear to = have the same root cause, so I=E2=80=99ll focus on one of them:

db=
:1:pfs> bt
Tracing pid 2 tid 100041 td 0xfffffe0085264560
kdb_enter() at kdb_enter+0x32/frame 0xfffffe00850ad910
vpanic() at vpanic+0x183/frame 0xfffffe00850ad960
panic() at panic+0x43/frame 0xfffffe00850ad9c0
trap_fatal() at trap_fatal+0x409/frame 0xfffffe00850ada20
trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00850ada80
calltrap() at calltrap+0x8/frame 0xfffffe00850ada80
--- trap 0xc, rip =3D 0xffffffff80f5a036, rsp =3D 0xfffffe00850adb50, rbp=
 =3D 0xfffffe00850adb80 ---
in6_selecthlim() at in6_selecthlim+0x96/frame 0xfffffe00850adb80
tcp_default_output() at tcp_default_output+0x1ded/frame 0xfffffe00850add7=
0
tcp_timer_rexmt() at tcp_timer_rexmt+0x514/frame 0xfffffe00850addd0
tcp_timer_enter() at tcp_timer_enter+0x102/frame 0xfffffe00850ade10
softclock_call_cc() at softclock_call_cc+0x13c/frame 0xfffffe00850adec0
softclock_thread() at softclock_thread+0xe9/frame 0xfffffe00850adef0
fork_exit() at fork_exit+0x7d/frame 0xfffffe00850adf30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00850adf30
--- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---

This happens in the TCP output path, where we look up the= hop limit for a specific destination. I=E2=80=99ve obtained a core dump = for such a crash, and I believe the panic happens on line https://cgit.f= reebsd.org/src/tree/sys/netinet6/in6_src.c#n861

The call in tcp_default_output() is in6_selecthlim(int, NULL);, so we don=E2=80=99t get an ifp from the caller, but instead perform a = route lookup, and try to obtain the hop limit through ND_IFINFO(nh->nh_ifp). This panics because the afdata[AF_INET6] pointer is NULL. The core dum= p shows a deleted structure ifnet:

(k=
gdb) p *(struct ifnet *)0xfffff80203712800
$3 =3D {
  if_link =3D {
    cstqe_next =3D 0x0
  },
  if_clones =3D {
    le_next =3D 0x0,
    le_prev =3D 0x0
  },
  if_groups =3D {
    cstqh_first =3D 0x0,
    cstqh_last =3D 0xfffff80203712818
  },
  if_alloctype =3D 53 '5',
  if_numa_domain =3D 255 '\377',
  if_softc =3D 0xfffff80103447a00,
  if_llsoftc =3D 0x0,
  if_l2com =3D 0x0,
  if_dname =3D 0xffffffff81492f70 "ng",
  if_dunit =3D 0,
  if_index =3D 14,
  if_idxgen =3D 2,
  if_xname =3D "pppoe0\000\000\000\000\000\000\000\000\000",
  if_description =3D 0xfffff8003a5f83d0 "WAN",
  if_flags =3D 2132112,
  if_drv_flags =3D 0,
  if_capabilities =3D 0,
  if_capabilities2 =3D 0,
=E2=80=A6
  if_afdata =3D {0x0 <repeats 44 times>},
=E2=80=A6
  if_output =3D 0xffffffff80e29c60 <ifdead_output>,
  if_input =3D 0xffffffff80e29c80 <ifdead_input>,
  if_bridge_input =3D 0x0,
  if_bridge_output =3D 0x0,
  if_bridge_linkstate =3D 0x0,
  if_start =3D 0xffffffff80e29c90 <ifdead_start>,
  if_ioctl =3D 0xffffffff80e29ca0 <ifdead_ioctl>,
=E2=80=A6

My understanding is that the fib table should get updated= whenever we change the routing table (such as during interface cleanup i= n if_detach= _internal()). Some quick experimentation with epair and dtrace als= o shows:

 2=
0  20388           sync_algo_end_cb:entry Stage 1
              kernel`setup_fd_instance+0x41f
              kernel`rebuild_fd_flm+0x99
              kernel`rebuild_fd+0x136
              kernel`rib_notify+0x50
              kernel`rt_delete_conditional+0xf1
              kernel`rib_del_route+0x1fc
              kernel`rib_handle_ifaddr_info+0xd9
              kernel`nd6_prefix_offlink+0x1ce
              kernel`nd6_prefix_del+0x94
              kernel`if_purgeaddrs+0x148
              kernel`if_detach_internal+0x1e8
              kernel`if_detach+0x71
              if_epair.ko`epair_clone_destroy+0x62
              kernel`if_clone_destroyif_flags+0x6a
              kernel`if_clone_destroy+0x100
              kernel`ifioctl+0x8a5
              kernel`kern_ioctl+0x286
              kernel`sys_ioctl+0x152
              kernel`amd64_syscall+0x153
              kernel`0xffffffff8102315b

In other words, when we delete the interface if_detach_internal() purges the interface addresses, which ends up rebuilding the fib (rebuild_fd()) via r= ib_del_route().
That ought to ensure that we cannot end up finding this struct ifnet thro= ugh fib6_lo= okup(), as the purging of the addresses (and thus the rebuilding o= f the fib) is done before we if_domdetach() at the end of if_detach_internal(), a= nd the NULL afdata[AF_INET6] demonstrates that we=E2=80=99ve gotten there= =2E

We=E2=80=99ve also gone through if_free(), as the ifindex_tab= le no longer contains the struct ifnet pointer for the relevant interface= =2E
We appear to have not yet called if_free_deferred() (and indeed, ifp->if_r= efcount is 4, so we wouldn=E2=80=99t have called that yet).

I=E2=80=99m confused as to how this can happen, and would= appreciate hints.

Thanks,
Kristof

--=_MailMate_3433B8C0-4555-448B-877E-ABB0265B45A5_=-- From nobody Thu Oct 26 01:49:58 2023 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 4SG7zD64tJz4yKtc for ; Thu, 26 Oct 2023 01:50:16 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SG7zD55LHz4XB6; Thu, 26 Oct 2023 01:50:16 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698285016; 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: in-reply-to:in-reply-to:references:references; bh=wwLZ4/VyDDt+XQFbC/vqd6a+j9iov6SNiJV4YtxOcl8=; b=QoqQWEmwzvVhvCZTRFDUwNSgZVC6rNaq/Rpw749p7qDIQu55+qsw7mOQ5yj8qQnU1IffIg Odrs+yzXDOSte5RY+xLv81h4yRakYQQYiTaxRNSF39YxKuzXnAn8eqRzhMqOAgzt7RgyCG Eemv2zLxvkQ2GnnmqAF3/u7o3yxn/I5ZJMlgnj/X8BL+LlBl7FooasHzCvunTFO3SqZA0F S+gqPmbrb2inrCdXshX/udeMmO5ewmMCBc7u9xVux7qLX/7mu/epeqftr5HXGoNqn/LPNo OI0Hss1/2mooKSKPMIx7Vl+6J/CSwkkIqwYpN1GXSThN0aYudieQAcy/AXXwag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698285016; a=rsa-sha256; cv=none; b=T1noe5yMOC/l2mO+0eVLkJZO5c7v3Xq/l2L0ns0NseRjXtWM8Mjjwmx4RZQ+9LX2gwgbVS HNPSJe13K5XGCsHHHjM+iqRwEznlaWqE0WlZ+DJH1slyDxx9tUKr39dJnZNG+r5QBhuMgT g62wM3J6ljkBwqhBxMBzUowxirNAw9Q3IqOhijz4n0OxHrr/5F0c8JHako0GB83UjaCqM0 ciwWo0P8IGC5p0MGzzOjPYqzQtveyH+TM0OrrI+miKS+FcBvZcGY5PZJHM9uJ8jcLZqI4F 0Bj3nOHse4t5VVLuOXHBc/UU1epP+errONZ1ixwLBvklr/xcQzp7FpxnA4QQgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698285016; 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: in-reply-to:in-reply-to:references:references; bh=wwLZ4/VyDDt+XQFbC/vqd6a+j9iov6SNiJV4YtxOcl8=; b=ZyYZXa3+9x+mTWlmFqzyidBJQ80sOz8dDDE6PRwHDVQ6bIfu/CykGWBhB5vtU1BOmCPUYa vzJYJ+61UT8cytrC5y65wYgwhqa0KyCf2HbXUeYTaIRB3HDgvIdwR+eBkdZyloSvCAFuWW ATlO70k9PvPMRMSF5kxXx9pIUOnc8Q3vO+rMVAFKZ+PK6m9aU4xuAQVgK4GNud64MG4W0s pNYewyRC8vq4r0ZD98HJpzuhuRcEvfKwqvgDW3SFMznYPullu0qRPVPOTn8GTIu6mJ9Ahz Rz9XpJE05ecjhdFnqTKx2gglnEQ+Vj4J2+FMCTfi56C87ZH38UaV1nqVjuCtvQ== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SG7zC2JKkz157f; Thu, 26 Oct 2023 01:50:15 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <3A4AA88F-E352-46DC-81DB-7408CD0A4D77@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_AA58D40C-EF67-4179-9921-3CD6A8D17544" 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 \(3696.120.41.1.4\)) Subject: Re: fib6_lookup() returning deleted struct ifnet Date: Thu, 26 Oct 2023 09:49:58 +0800 In-Reply-To: Cc: FreeBSD Net , Alexander Chernikov To: Kristof Provost References: X-Mailer: Apple Mail (2.3696.120.41.1.4) --Apple-Mail=_AA58D40C-EF67-4179-9921-3CD6A8D17544 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 25, 2023, at 11:27 PM, Kristof Provost wrote: >=20 > Hi, >=20 > Several pfSense users report IPv6-related panics when an interface is = deleted. > The relevant bug reports are https://redmine.pfsense.org/issues/14164 = and = https://redmine.pfsense.org/issues/14431 = . > The latest report is for a build that includes commits up to = 1a18383a52bc373e316d224cef1298debf6f7e25 (=E2=80=9Clibcrypto: link = engines and the legacy provider to libcrypto=E2=80=9D, September 15th). >=20 > I believe all reports are for users running PPPoE, via netgraph, but = that might be coincidental, as that=E2=80=99s the most likely way for = interfaces to be destroyed (when PPP disconnects and reconnects). >=20 > There are a few different backtraces, but they appear to have the same = root cause, so I=E2=80=99ll focus on one of them: >=20 > db:1:pfs> bt > Tracing pid 2 tid 100041 td 0xfffffe0085264560 > kdb_enter() at kdb_enter+0x32/frame 0xfffffe00850ad910 > vpanic() at vpanic+0x183/frame 0xfffffe00850ad960 > panic() at panic+0x43/frame 0xfffffe00850ad9c0 > trap_fatal() at trap_fatal+0x409/frame 0xfffffe00850ada20 > trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00850ada80 > calltrap() at calltrap+0x8/frame 0xfffffe00850ada80 > --- trap 0xc, rip =3D 0xffffffff80f5a036, rsp =3D 0xfffffe00850adb50, = rbp =3D 0xfffffe00850adb80 --- > in6_selecthlim() at in6_selecthlim+0x96/frame 0xfffffe00850adb80 > tcp_default_output() at tcp_default_output+0x1ded/frame = 0xfffffe00850add70 > tcp_timer_rexmt() at tcp_timer_rexmt+0x514/frame 0xfffffe00850addd0 > tcp_timer_enter() at tcp_timer_enter+0x102/frame 0xfffffe00850ade10 > softclock_call_cc() at softclock_call_cc+0x13c/frame = 0xfffffe00850adec0 > softclock_thread() at softclock_thread+0xe9/frame 0xfffffe00850adef0 > fork_exit() at fork_exit+0x7d/frame 0xfffffe00850adf30 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00850adf30 > --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- > This happens in the TCP output path, where we look up the hop limit = for a specific destination. I=E2=80=99ve obtained a core dump for such a = crash, and I believe the panic happens on line = https://cgit.freebsd.org/src/tree/sys/netinet6/in6_src.c#n861 = > The call in tcp_default_output() is in6_selecthlim(int, NULL);, so we = don=E2=80=99t get an ifp from the caller, but instead perform a route = lookup, and try to obtain the hop limit through ND_IFINFO(nh->nh_ifp). = This panics because the afdata[AF_INET6] pointer is NULL. The core dump = shows a deleted structure ifnet: >=20 >=20 `egrep -r 'if_afdata\[AF_INET6\]\s*[!=3D]=3D\s*NULL' sys/netinet6'` = shows there're many places do the NULL check. I think we can do it in = in6_selecthlim() as a workaround. =20 > (kgdb) p *(struct ifnet *)0xfffff80203712800 > $3 =3D { > if_link =3D { > cstqe_next =3D 0x0 > }, > if_clones =3D { > le_next =3D 0x0, > le_prev =3D 0x0 > }, > if_groups =3D { > cstqh_first =3D 0x0, > cstqh_last =3D 0xfffff80203712818 > }, > if_alloctype =3D 53 '5', > if_numa_domain =3D 255 '\377', > if_softc =3D 0xfffff80103447a00, > if_llsoftc =3D 0x0, > if_l2com =3D 0x0, > if_dname =3D 0xffffffff81492f70 "ng", > if_dunit =3D 0, > if_index =3D 14, > if_idxgen =3D 2, > if_xname =3D "pppoe0\000\000\000\000\000\000\000\000\000", > if_description =3D 0xfffff8003a5f83d0 "WAN", > if_flags =3D 2132112, > if_drv_flags =3D 0, > if_capabilities =3D 0, > if_capabilities2 =3D 0, > =E2=80=A6 > if_afdata =3D {0x0 }, > =E2=80=A6 > if_output =3D 0xffffffff80e29c60 , > if_input =3D 0xffffffff80e29c80 , > if_bridge_input =3D 0x0, > if_bridge_output =3D 0x0, > if_bridge_linkstate =3D 0x0, > if_start =3D 0xffffffff80e29c90 , > if_ioctl =3D 0xffffffff80e29ca0 , > =E2=80=A6 > My understanding is that the fib table should get updated whenever we = change the routing table (such as during interface cleanup in = if_detach_internal()). Some quick experimentation with epair and dtrace = also shows: >=20 > 20 20388 sync_algo_end_cb:entry Stage 1 > kernel`setup_fd_instance+0x41f > kernel`rebuild_fd_flm+0x99 > kernel`rebuild_fd+0x136 > kernel`rib_notify+0x50 > kernel`rt_delete_conditional+0xf1 > kernel`rib_del_route+0x1fc > kernel`rib_handle_ifaddr_info+0xd9 > kernel`nd6_prefix_offlink+0x1ce > kernel`nd6_prefix_del+0x94 > kernel`if_purgeaddrs+0x148 > kernel`if_detach_internal+0x1e8 > kernel`if_detach+0x71 > if_epair.ko`epair_clone_destroy+0x62 > kernel`if_clone_destroyif_flags+0x6a > kernel`if_clone_destroy+0x100 > kernel`ifioctl+0x8a5 > kernel`kern_ioctl+0x286 > kernel`sys_ioctl+0x152 > kernel`amd64_syscall+0x153 > kernel`0xffffffff8102315b > In other words, when we delete the interface if_detach_internal() = purges the interface addresses, which ends up rebuilding the fib = (rebuild_fd()) via rib_del_route(). > That ought to ensure that we cannot end up finding this struct ifnet = through fib6_lookup(), as the purging of the addresses (and thus the = rebuilding of the fib) is done before we if_domdetach() at the end of = if_detach_internal(), and the NULL afdata[AF_INET6] demonstrates that = we=E2=80=99ve gotten there. >=20 >=20 By intuition, fib6_lookup() should not return **INVALID** next hop (with = detaching interfaces), unless explicitly requested. > We=E2=80=99ve also gone through if_free(), as the ifindex_table no = longer contains the struct ifnet pointer for the relevant interface. > We appear to have not yet called if_free_deferred() (and indeed, = ifp->if_refcount is 4, so we wouldn=E2=80=99t have called that yet). >=20 > I=E2=80=99m confused as to how this can happen, and would appreciate = hints. >=20 >=20 I believe Alexander has insight on this. > Thanks, > Kristof >=20 --Apple-Mail=_AA58D40C-EF67-4179-9921-3CD6A8D17544 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Oct 25, 2023, at 11:27 PM, Kristof Provost <kp@FreeBSD.org> = wrote:

Hi,

Several pfSense users = report IPv6-related panics when an interface is deleted.
The relevant bug reports are https://redmine.pfsense.org/issues/14164 and https://redmine.pfsense.org/issues/14431.
The latest report is for a build that includes commits up to = 1a18383a52bc373e316d224cef1298debf6f7e25 (=E2=80=9Clibcrypto: link = engines and the legacy provider to libcrypto=E2=80=9D, September = 15th).

I believe all reports are for users = running PPPoE, via netgraph, but that might be coincidental, as that=E2=80= =99s the most likely way for interfaces to be destroyed (when PPP = disconnects and reconnects).

There are a = few different backtraces, but they appear to have the same root cause, = so I=E2=80=99ll focus on one of them:

db:1:pfs> bt
Tracing pid 2 tid 100041 td 0xfffffe0085264560
kdb_enter() at kdb_enter+0x32/frame 0xfffffe00850ad910
vpanic() at vpanic+0x183/frame 0xfffffe00850ad960
panic() at panic+0x43/frame 0xfffffe00850ad9c0
trap_fatal() at trap_fatal+0x409/frame 0xfffffe00850ada20
trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00850ada80
calltrap() at calltrap+0x8/frame 0xfffffe00850ada80
--- trap 0xc, rip =3D 0xffffffff80f5a036, rsp =3D 0xfffffe00850adb50, =
rbp =3D 0xfffffe00850adb80 ---
in6_selecthlim() at in6_selecthlim+0x96/frame 0xfffffe00850adb80
tcp_default_output() at tcp_default_output+0x1ded/frame =
0xfffffe00850add70
tcp_timer_rexmt() at tcp_timer_rexmt+0x514/frame 0xfffffe00850addd0
tcp_timer_enter() at tcp_timer_enter+0x102/frame 0xfffffe00850ade10
softclock_call_cc() at softclock_call_cc+0x13c/frame 0xfffffe00850adec0
softclock_thread() at softclock_thread+0xe9/frame 0xfffffe00850adef0
fork_exit() at fork_exit+0x7d/frame 0xfffffe00850adf30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00850adf30
--- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---

This happens in the TCP output = path, where we look up the hop limit for a specific destination. I=E2=80=99= ve obtained a core dump for such a crash, and I believe the panic = happens on line https://cgit.freebsd.org/src/tree/sys/netinet6/in6_src.c#n861

The call in tcp_default_output() is = in6_selecthlim(int, NULL);, so we don=E2=80=99t get an = ifp from the caller, but instead perform a route lookup, and try to = obtain the hop limit through ND_IFINFO(nh->nh_ifp). = This panics because the afdata[AF_INET6] pointer is NULL. The core dump = shows a deleted structure ifnet:



`egrep -r 'if_afdata\[AF_INET6\]\s*[!=3D]=3D\s*NULL' = sys/netinet6'` shows there're many places do the NULL check. I think we = can do it in in6_selecthlim() as a = workaround.
(kgdb) p *(struct ifnet =
*)0xfffff80203712800
$3 =3D {
  if_link =3D {
    cstqe_next =3D 0x0
  },
  if_clones =3D {
    le_next =3D 0x0,
    le_prev =3D 0x0
  },
  if_groups =3D {
    cstqh_first =3D 0x0,
    cstqh_last =3D 0xfffff80203712818
  },
  if_alloctype =3D 53 '5',
  if_numa_domain =3D 255 '\377',
  if_softc =3D 0xfffff80103447a00,
  if_llsoftc =3D 0x0,
  if_l2com =3D 0x0,
  if_dname =3D 0xffffffff81492f70 "ng",
  if_dunit =3D 0,
  if_index =3D 14,
  if_idxgen =3D 2,
  if_xname =3D "pppoe0\000\000\000\000\000\000\000\000\000",
  if_description =3D 0xfffff8003a5f83d0 "WAN",
  if_flags =3D 2132112,
  if_drv_flags =3D 0,
  if_capabilities =3D 0,
  if_capabilities2 =3D 0,
=E2=80=A6
  if_afdata =3D {0x0 <repeats 44 times>},
=E2=80=A6
  if_output =3D 0xffffffff80e29c60 <ifdead_output>,
  if_input =3D 0xffffffff80e29c80 <ifdead_input>,
  if_bridge_input =3D 0x0,
  if_bridge_output =3D 0x0,
  if_bridge_linkstate =3D 0x0,
  if_start =3D 0xffffffff80e29c90 <ifdead_start>,
  if_ioctl =3D 0xffffffff80e29ca0 <ifdead_ioctl>,
=E2=80=A6

My understanding is that the fib = table should get updated whenever we change the routing table (such as = during interface cleanup in if_detach_internal()). = Some quick experimentation with epair and dtrace also shows:

 20  20388           =
sync_algo_end_cb:entry Stage 1
              kernel`setup_fd_instance+0x41f
              kernel`rebuild_fd_flm+0x99
              kernel`rebuild_fd+0x136
              kernel`rib_notify+0x50
              kernel`rt_delete_conditional+0xf1
              kernel`rib_del_route+0x1fc
              kernel`rib_handle_ifaddr_info+0xd9
              kernel`nd6_prefix_offlink+0x1ce
              kernel`nd6_prefix_del+0x94
              kernel`if_purgeaddrs+0x148
              kernel`if_detach_internal+0x1e8
              kernel`if_detach+0x71
              if_epair.ko`epair_clone_destroy+0x62
              kernel`if_clone_destroyif_flags+0x6a
              kernel`if_clone_destroy+0x100
              kernel`ifioctl+0x8a5
              kernel`kern_ioctl+0x286
              kernel`sys_ioctl+0x152
              kernel`amd64_syscall+0x153
              kernel`0xffffffff8102315b

In other words, when we delete = the interface if_detach_internal() purges the interface = addresses, which ends up rebuilding the fib (rebuild_fd()) via = rib_del_route().
That ought to ensure that we cannot end up finding this struct ifnet = through fib6_lookup(), as the purging of the addresses (and = thus the rebuilding of the fib) is done before we if_domdetach() = at the end of if_detach_internal(), and the NULL = afdata[AF_INET6] demonstrates that we=E2=80=99ve gotten there.



By intuition, fib6_lookup() should not return = **INVALID** next hop (with detaching interfaces), unless explicitly = requested.

We=E2=80=99ve also gone through if_free(), as the ifindex_table no longer contains the = struct ifnet pointer for the relevant interface.
We appear to have not yet called if_free_deferred() (and = indeed, ifp->if_refcount is 4, so we wouldn=E2=80=99t have called = that yet).

I=E2=80=99m confused as to how = this can happen, and would appreciate hints.



I believe Alexander has insight on this.

Thanks,
Kristof




= --Apple-Mail=_AA58D40C-EF67-4179-9921-3CD6A8D17544-- From nobody Thu Oct 26 08:29:40 2023 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 4SGJr72R66z4xTt5 for ; Thu, 26 Oct 2023 08:29:43 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SGJr71m33z3Gwp; Thu, 26 Oct 2023 08:29:43 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698308983; 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=q/P+cbvsmwYHSyjGdrtF38sOoSM2PNFKD7R2Kfryfqk=; b=J0ZRQmCJqSJcb0q4uoFTT9Vfd0D4hK2sv1j/KyJ1Fedd7NiNFPY1TId0NzE24KTKTpeGDX RvBB5Xm7J85VMSMTsjaa5UF2ogRgL1D3j93u/Ol9be6IH1Mp/xuMOq/lQ5+inzZlvQx34z JH4rnXZMqReAWFVT4x9MQUD9F4yQq2U+zRQSi7n80cB7HAIFjfj/ELPG0rHvm79lR/Kz0i 9EydoM+slB3Rnx8UVL/VRZJs+/3+eeengxuIK1hMIrkhJBG28OxVFpQ62VGhmRv5esTmh4 GgYMp7wPCS6f+HfEAR/6UHGfBYGWASIJXlB9Lx8Mv/royDVBwuMJWXSZs9zW9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698308983; 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=q/P+cbvsmwYHSyjGdrtF38sOoSM2PNFKD7R2Kfryfqk=; b=MlN+idCkx0VC2gLBbqMrS42KqOUJ6FBWkxoFGtZvcJJZQmEmmwKPrXWe3T7c03yNu2OCB1 xIDSVBRVjCWSeU6wOjlGWDoJinsJ4T2a23HHO5ArAFY5NKNBEJvRAGgTy3+aiu2QheBBek uloiqErPFf19j5KbhwwnmewrVCslaO5xhQVuM+6cakXk0l0sZ4BckLk3H4JjJEhNnfM/xP MgRIAwXnoHnWmli4foGYN8uaRsBnfxpElTXO21O+V5zNj8Sz6yoOGdDGHiYeNcRT+mprpv fx00dEKnc7tI9ysHjzlvwvEh07xwdG+pTIUtbpL5XjHvV/m66STDspgXT3a8bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698308983; a=rsa-sha256; cv=none; b=TjzktMGE15Zf1bCfdoWcOXmW5/b31lcUYEhSFsWV3RfIzbjVWWZJJp+C6HQy+gDt/ifvdt 1AQBFbXFAoss4ug9qAHhelgPY4kPNj5a7P6f6zSIn825AyrAxpafQNq6H9QruS444tos66 VFmQ3fD5aXZTV35M1vuJ+iP98mAMZquWDpXFWMQvOgTgbLvdBCmrZCkWk5XyMntEqBqC3y /aorPHIlcDAP0jleEMIPomxTc2I4s9vMDzAdzsATnEpU52h0hx6NGbNXOI2arOHA6/R+1X 79G2G6qyGkvJbLDLqrnwVF7O2gXDUm5SIe1ZygDZqe4MKzPGB0cklj1qRiwJzQ== Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (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 (2048 bits) client-digest SHA256) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SGJr701q8z1Cdt; Thu, 26 Oct 2023 08:29:42 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 6E25E1CC84; Thu, 26 Oct 2023 10:29:41 +0200 (CEST) From: Kristof Provost To: Zhenlei Huang Cc: FreeBSD Net , Alexander Chernikov Subject: Re: fib6_lookup() returning deleted struct ifnet Date: Thu, 26 Oct 2023 10:29:40 +0200 X-Mailer: MailMate (1.14r5937) Message-ID: <2B21403B-A939-4484-B83B-85ECDC51D22A@FreeBSD.org> In-Reply-To: <3A4AA88F-E352-46DC-81DB-7408CD0A4D77@FreeBSD.org> References: <3A4AA88F-E352-46DC-81DB-7408CD0A4D77@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=UTF-8 Content-Transfer-Encoding: quoted-printable On 26 Oct 2023, at 3:49, Zhenlei Huang wrote: >> On Oct 25, 2023, at 11:27 PM, Kristof Provost wrote: >> The call in tcp_default_output() is in6_selecthlim(int, NULL);, so we = don=E2=80=99t get an ifp from the caller, but instead perform a route loo= kup, and try to obtain the hop limit through ND_IFINFO(nh->nh_ifp). This = panics because the afdata[AF_INET6] pointer is NULL. The core dump shows = a deleted structure ifnet: >> >> > > `egrep -r 'if_afdata\[AF_INET6\]\s*[!=3D]=3D\s*NULL' sys/netinet6'` sho= ws there're many places do the NULL check. I think we can do it in in6_se= lecthlim() as a workaround. > We could (either check for if_afdata[AF_INET], or for the absence of IFF_= DYING in if_flags), but that feels a lot like hiding the problem rather t= han fixing it. As you say, fib6_lookup() should not be returning invalid next hops, so i= t might make sense to add the check there, but I still want to understand= why we end up in this state in the first place. >> We=E2=80=99ve also gone through if_free(), as the ifindex_table no lon= ger contains the struct ifnet pointer for the relevant interface. >> We appear to have not yet called if_free_deferred() (and indeed, ifp->= if_refcount is 4, so we wouldn=E2=80=99t have called that yet). >> >> I=E2=80=99m confused as to how this can happen, and would appreciate h= ints. >> > > I believe Alexander has insight on this. > I=E2=80=99m certainly hoping smarter people than me will know more :) Best regards, Kristof From nobody Fri Oct 27 21:09:59 2023 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 4SHFfv4CXhz4xx1D for ; Fri, 27 Oct 2023 21:09:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHFfv35wKz4Mxm for ; Fri, 27 Oct 2023 21:09:59 +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=1698440999; 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=2I48PZEKQBDHFFORDozeP8vKc0s3nBr2pkD5mKMxMl8=; b=GmX+XIwPCL7E6OSuq9PXtq8XpyPKSXKZ+wtzA2BWIkw0NX6kc212e+2ij9vlXcT4SXoipM RpmOR6//cURWFo8OPgYT4TMs1Vj3xGhSnq+pQUFHNsdnfQFRHNu6BdvBc/5NeS6aD2CQZN DpJGD8Qt7KhMD7Fqwwo5Z4EhAZDSGEVpmZaoGPklnKDte1fO67VteVK5gMJ9bLQJA/+VXw dS3Nl5ugICVucvKIC0mlrIjEo1OF3fkjMVcNKNICMWZeCCYIXYIve2OOMVsbW0we21jH1s 1hMhSKWZzeiZ76xRylUCu7rGZEpuT3uwz2xURqVVx3zOhXin0HvxmiRPI7eBZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698440999; a=rsa-sha256; cv=none; b=t9iVAGGZyiHiZu/NJU3TojJNv2Y1Yowha20csW9cLoakQTpIHSyrGraYIi8LbUof7qXmVI 6VLDEV1NaokWbmgs02i1uwzLG3AyZFVNGTVyV/2UkMu9ezGoVolzvY0Z+JcOmStTRjXMpJ NBxUfwLDXGqRCQElmiL2PoEVINcMXC6Ekviw+cjbRVl6YLAa1oD6Sp+GVeeQieRbXFXrKm y9wBGJqIrVuZErtwXvM2hAj0ZyDbF+sohGmtZLbeTIA+t4MyjMDiZUSP+dnqd9Hway8qV/ H3SEGpq+OER+9p4BsQki1biaIBTi1GZ5vB6olErqiMVX3uhb+j6ZqlXqVNBRJA== 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 4SHFfv25LszTv6 for ; Fri, 27 Oct 2023 21:09:59 +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 39RL9xcd084814 for ; Fri, 27 Oct 2023 21:09:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39RL9xi4084813 for net@FreeBSD.org; Fri, 27 Oct 2023 21:09:59 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 274755] [ip6][lor] Witness reported lor on ipv6 add_m6if Date: Fri, 27 Oct 2023 21:09:59 +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 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=3D274755 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 Fri Oct 27 22:31:39 2023 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 4SHHT75sJ9z4y2mq for ; Fri, 27 Oct 2023 22:31:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHHT74k9yz4Y36 for ; Fri, 27 Oct 2023 22:31:39 +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=1698445899; 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=lGsdfAF8Ci7p5y3TFiJLf9r2tW/Sn0WNV1Bw+Hk0Os0=; b=sgpPft3nl4YE/ctGOQ0QGicqDDZWe5T03lF83SpIVLvJgZ+3VjfdUFHpIn15Yx4mnUkdu3 Zn0TTBXDuU15aD33AETQF9M46hgngZYjP3rerR3UlZovc3bVegq5Sy8vMPtyFMBxCx3/nU 88+3H/3aJFbgxMJjBLchdVo64Uq4D+P5D3/mkc6IJqVDPpBMVGeGABB8td4jpv1Tjw1uso NF2msVFJ/EvyjXZSp5vL1iOgErByvh5MXrMJ7XLhvNE210SnXr8e/hks82dp2qgtaqo+wZ 5gb4pL98+vnzEBT6YQK/rXMnMVh4BqV5LQQv0Kk1cBHp93yhISM8z35DEEq4oQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698445899; a=rsa-sha256; cv=none; b=MjERJKrRU7ve2VUDd6GBXbq1xL9woer/CvV9tHQ2BrOwUf+Cy+gL+zfr3CPHyKwYF2Ve3i Ml5MMTGDtqrZJ75IGK+KhTT4g9rn94tNmTiyJBnvLOHl1SZ2uVZtzn1hzCfOX7HahB41Jt PowkcJUL8O3QlkSvj3wjedjMst/5FSMqjuAqI201ia0aMc3BWlUMjdGn2F14wNn4Ul/NCr XraC4EDOvISGeApA5BFa1JC5RUsvLLGhU8+gEi+Av8AiLQPCgdNV6HzHfQpV5jXeXkT7EN LTPiKDjmZZ67zBGQSSYDYbLgqWWO0tF0u69eQsyA/xttAidVDF/3fQPWlEghqQ== 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 4SHHT73pXVzXKB for ; Fri, 27 Oct 2023 22:31:39 +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 39RMVd9l008631 for ; Fri, 27 Oct 2023 22:31:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39RMVdx7008630 for net@FreeBSD.org; Fri, 27 Oct 2023 22:31:39 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 274715] [ktls] deadlock with mlx5 and KTLS receive Date: Fri, 27 Oct 2023 22:31:39 +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 Only Me X-Bugzilla-Who: mm@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=3D274715 Martin Matuska 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 Fri Oct 27 22:47:40 2023 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 4SHHqd3rGFz4y3W2 for ; Fri, 27 Oct 2023 22:47:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHHqd2p8cz4bWT for ; Fri, 27 Oct 2023 22:47:41 +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=1698446861; 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=K9kPi3Vp4Zs9nbTL3G4Qty777ldmSAtk2dlrOIFruHE=; b=n6K3ImBSrTsypVR7f6IjaAk4WnmKTCJzCBJnXAuCwHuEHk/CxNvwg0SA2FAnai0h2Y650f Yn3g7RRViMimUm3VKfMMDsb1Lz3QR+PCAEXB18sORui3nfrZwCdqdiUbQZqkO4bTyuSnlr rEopZhEaIRW58Qz0ST1qP+E73rldEE9flILSd6mNee0XDNp+EkTVKYxVDr4sHcL11LmYj0 BfH30UNP16RoxIikIoopgqRjOLoLaXCB1Bc9fLJwKe19cgsv+BxdY3G0eKjKsdU4VMTgeO A0HGuanEiOimlLgUzkMt2fQBNaMTL9h768waoA9a1j0mrUugpcnV8IeuEBtDfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698446861; a=rsa-sha256; cv=none; b=UpIlxWGJta1n5aXCCSZIATxL6Dqku/ByJRnIVmcT5b0ywjxgsYmzGgJe94qd94gQb1QeRT rcQZcbg7DvdxKLa0gYhj7+VSJF2q6BhSH87XentmMzyLtAisKvr86AsvIePdAilBM3S5oC BYv93w8vIMVyKCTFkjOOaiHO7tuqAHmuvoWQKpOVIunXOjiGvJqedKXq6/7wbhfKGIiuY+ 6hYMf/WCac0wamTC23FaGybpfqFdz+xww8bNDEcdVCilofJ2GGnZ7cK/7oFsvSJyX1UW1A Es70gpe7VokK30Tkwy7+A6yl0jkRQ/lsECqio+6H3P61UedlJQ9ENHvpF9SYoA== 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 4SHHqd1syDzXyN for ; Fri, 27 Oct 2023 22:47: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 39RMlfIE031491 for ; Fri, 27 Oct 2023 22:47:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39RMlf2D031490 for net@FreeBSD.org; Fri, 27 Oct 2023 22:47: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 274715] [ktls] deadlock with mlx5 and KTLS receive Date: Fri, 27 Oct 2023 22:47:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@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=3D274715 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #6 from Konstantin Belousov --- So who is the owner of the lock blocking other threads? The min useful set of data for a deadlock is ddb 'show alllocks' and 'alltrace'. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Oct 28 10:18:47 2023 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 4SHb93675Cz4yhDY for ; Sat, 28 Oct 2023 10:18: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHb9355Rdz4QBp for ; Sat, 28 Oct 2023 10:18: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=1698488327; 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=WEs1P7uNOTvcfzMjpcXYYU5N4dKPSXmPLZO1U+GKOvc=; b=YoMPEELB4/tq8gdZuCeQS9APh5oUAS/2k2pmo/iu9j2mys/H9z7PBzNjMzAjc9h36LjHvC yCElIiSlM+nor2T5gX096NtH7/1R7kIX5mtB+h/cr0vJkQPAAP+AVywlW7UKDiLW6T+Dpy BWCy0635i2dQaEMCTlKMc27FeIWxba4gI1FCqDcXUEKcQvcDw3HpEK+p44S/zAsB1Q0rx0 M6N0yyLZi7Qu/YDqcLfml0iqttSWRDm0QwFLFvA3i4dNqdgCSEpS+HyuxyhEoirwJVOxPW HrQj5W6KkM+GyNDwtAAbKXGv8c9iCmHcak+NpP5IsTaluxjNJdTmi7o6gMk3yA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698488327; a=rsa-sha256; cv=none; b=ldWN64R1BrYGlEygeu7NnqqzYcUSgI/nJsOJU0YXAjjmbicok8pDckDja8wSU+uUrfLSWu ByeH/2qFqskDQeDeykn5gtpdvzARRYke9xbRyflccepP73ExPXKKaVz9/ArvVRlG4aJpHr uVPL6n/M3SH6r8cccFRBoUTRteyHZXufTSnGCiHbpAV6NRvbGukT8rB38HA3cHNLdmVKdj nc9BuFVmvrhG8DJBURsDI7R+5WifKF0e37eL1ZAbZSzTsCMKD4h2lQjUka+3qM9gV9S/yL xffTTpMH30gwiGpf9KxSeliKbgGubQAuVjwalgad+VsvES17y3wgakd348nojA== 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 4SHb9349HkzrvJ for ; Sat, 28 Oct 2023 10:18: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 39SAIlnD076424 for ; Sat, 28 Oct 2023 10:18:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39SAIlM9076423 for net@FreeBSD.org; Sat, 28 Oct 2023 10:18: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 274715] [ktls] deadlock with mlx5 and KTLS receive Date: Sat, 28 Oct 2023 10:18:47 +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 Only Me X-Bugzilla-Who: mm@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=3D274715 --- Comment #7 from Martin Matuska --- I have written a patch for review: https://reviews.freebsd.org/D42368 --=20 You are receiving this mail because: You are the assignee for the bug.= From eugen@freebsd.org Sat Oct 28 16:07:43 2023 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 4SHkvp0l4gz500V2 for ; Sat, 28 Oct 2023 16:07:50 +0000 (UTC) (envelope-from eugen@freebsd.org) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (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 (2048 bits) client-digest SHA256) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHkvn1tnjz3QQb for ; Sat, 28 Oct 2023 16:07:49 +0000 (UTC) (envelope-from eugen@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2a01:4f8:c2c:26d8::2 is neither permitted nor denied by domain of eugen@freebsd.org) smtp.mailfrom=eugen@freebsd.org; dmarc=none Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.17.1/8.17.1) with ESMTPS id 39SG7l6r000105 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sat, 28 Oct 2023 16:07:47 GMT (envelope-from eugen@freebsd.org) X-Envelope-From: eugen@freebsd.org X-Envelope-To: Received: from [10.58.0.11] (dadvw [10.58.0.11] (may be forged)) by eg.sd.rdtc.ru (8.17.1/8.17.1) with ESMTPS id 39SG7j3R065028 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 28 Oct 2023 23:07:45 +0700 (+07) (envelope-from eugen@freebsd.org) From: Eugene Grosbein Subject: netif userland API To: "freebsd-net@freebsd.org" Message-ID: Date: Sat, 28 Oct 2023 23:07:43 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 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=koi8-r Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT autolearn=disabled version=3.4.6 X-Spam-Report: * -0.0 SHORTCIRCUIT No description available. * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hz.grosbein.net X-Spamd-Result: default: False [-2.46 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.76)[-0.758]; NEURAL_HAM_MEDIUM(-0.61)[-0.606]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; TO_DN_EQ_ADDR_ALL(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_SOFTFAIL(0.00)[~all]; FREEFALL_USER(0.00)[eugen]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Queue-Id: 4SHkvn1tnjz3QQb X-Spamd-Bar: -- Hi! Assume we run some FreeBSD-based broadband remote access server for PPPoE (net/mpd5 for example). The server has hundreds or thousands vlan interfaces and even more ngXXX interfaces, one per user PPPoE session. The server software may need to enable its PPPoE service for all newly created vlans over another "physical" parent interface just configured in addition to already running ones. I see no effective userland API for the software to list vlan interfaces under specific parent one. The only option I see is getifaddrs(3) function to get list of ALL interfaces in the system then iterate over the list calling ioctl SIOCGETVLAN and if there is no error, compare returned vlr_parent name with the name of needed parent interface. Not efficient at all, while serving new PPPoE connection attempts simultaneously, collecting traffic stats for RADIUS accounting etc. Do I miss something? Eugene From eugen@freebsd.org Sat Oct 28 16:29:01 2023 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 4SHlNN0mmtz501Ql for ; Sat, 28 Oct 2023 16:29:08 +0000 (UTC) (envelope-from eugen@freebsd.org) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (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 (2048 bits) client-digest SHA256) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHlNM3JSBz3S2D for ; Sat, 28 Oct 2023 16:29:07 +0000 (UTC) (envelope-from eugen@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2a01:4f8:c2c:26d8::2 is neither permitted nor denied by domain of eugen@freebsd.org) smtp.mailfrom=eugen@freebsd.org; dmarc=none Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.17.1/8.17.1) with ESMTPS id 39SGT4Je000227 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 28 Oct 2023 16:29:05 GMT (envelope-from eugen@freebsd.org) X-Envelope-From: eugen@freebsd.org X-Envelope-To: roy@marples.name Received: from [10.58.0.11] (dadvw [10.58.0.11] (may be forged)) by eg.sd.rdtc.ru (8.17.1/8.17.1) with ESMTPS id 39SGT3Ss065198 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sat, 28 Oct 2023 23:29:03 +0700 (+07) (envelope-from eugen@freebsd.org) Subject: =?UTF-8?Q?Re:_=c2=a0netif_userland_API?= To: Roy Marples References: <18b77179746.d0c6d171174837.5548971766419580308@marples.name> Cc: "freebsd-net@freebsd.org" From: Eugene Grosbein Message-ID: <847fa0cf-db1e-45b3-3a0a-37dd647dabc9@freebsd.org> Date: Sat, 28 Oct 2023 23:29:01 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 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 In-Reply-To: <18b77179746.d0c6d171174837.5548971766419580308@marples.name> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT autolearn=disabled version=3.4.6 X-Spam-Report: * -0.0 SHORTCIRCUIT No description available. * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hz.grosbein.net X-Spamd-Result: default: False [-2.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.97)[-0.975]; NEURAL_HAM_SHORT(-0.90)[-0.904]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[freebsd.org]; FREEFALL_USER(0.00)[eugen]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SHlNM3JSBz3S2D X-Spamd-Bar: -- 28.10.2023 23:21, Roy Marples wrote: > What you would do is open a route socket, then call getifaddrs and then listen on the route socket for new interfaces. > > Then you can maintain a list of current vlans and take action accordingly. I'd like to be able to make a couple of system calls only to get a list of pre-created vlans for a moment. Efficiently and scalable. Not making thousands of reads (syscalls) from routing sockets and not syncing with the kernel. Eugene From nobody Sat Oct 28 16:43:02 2023 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 4SHlhV6l9cz501sm for ; Sat, 28 Oct 2023 16:43:06 +0000 (UTC) (envelope-from roy@marples.name) Received: from sender11-of-o52.zoho.eu (sender11-of-o52.zoho.eu [31.186.226.238]) (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 4SHlhV3463z3TmF; Sat, 28 Oct 2023 16:43:06 +0000 (UTC) (envelope-from roy@marples.name) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; t=1698511383; cv=none; d=zohomail.eu; s=zohoarc; b=AN7dWwjTQDMcpF8hhT1ife5cFk1csvlwlFnV1CmgqjymxQzVF2uQMXzok33IMiV4yibXaWM/JDsmRwRiJoWEvJK66Nk/8HJ0iBpqFnb/T0uv87Hr4jkZkpKPSdLpAo/guW+FgddTcF5VXWCj44Iy/eXPzOg2hTpTgrTSrkVjjnw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1698511383; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=R425c2Rl0l7MbdyERN9x3LZ8gZdxBZH5NNKIjlz5iWM=; b=BjWy63HjVm2gukslo7FBMex1cLzm7uIEaCYasANsXb2ryBAubAilTJI2LeXiKLwmfajPrl9LVbCRru6f819tV6uNSIeji0dPUKGguahmHz9zB7/ignLHKHoxWRxM9BKbhwCEqJY4XyxhcRsjdCiHIrSowcvKC9BY8OOvCNjvk00= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=marples.name; spf=pass smtp.mailfrom=roy@marples.name; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1698511383; s=zmail; d=marples.name; i=roy@marples.name; h=Date:Date:From:From:To:To:Cc:Cc:Message-Id:Message-Id:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Reply-To; bh=R425c2Rl0l7MbdyERN9x3LZ8gZdxBZH5NNKIjlz5iWM=; b=ODjuDPLZqaFx6nzhCfX8f/+AbMES1BoIoy9ZoENq6SyLwkhvER5AVh4BEVPKYLnc tqwvDXbH5T5uRJJ919vhdGcE3Sgp8OeEKLbYaEETEiedhPes+S7UB8hNeTMW21G8lPv ws31jNbF48vRfQ9Fq8yh7BjwN4HmPDOD6FRCgz4M= Received: from mail.zoho.eu by mx.zoho.eu with SMTP id 1698511382092453.3294036479638; Sat, 28 Oct 2023 18:43:02 +0200 (CEST) Date: Sat, 28 Oct 2023 17:43:02 +0100 From: Roy Marples To: Cc: Message-Id: <18b772ae647.bd4beee8172897.5493704673952375764@marples.name> In-Reply-To: <847fa0cf-db1e-45b3-3a0a-37dd647dabc9@freebsd.org> References: <18b77179746.d0c6d171174837.5548971766419580308@marples.name> <847fa0cf-db1e-45b3-3a0a-37dd647dabc9@freebsd.org> Subject: =?UTF-8?Q?Re:_=C2=A0netif_userland_API?= 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="----=_Part_1231041_886273848.1698511382087" Importance: Normal User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spamd-Bar: ---- 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:2639, ipnet:31.186.226.0/24, country:US] X-Rspamd-Queue-Id: 4SHlhV3463z3TmF ------=_Part_1231041_886273848.1698511382087 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Using netlink rather than route on a modern FreeBSD kernel may allow you do do the same thing but install a kernel filter on the socket just to receive interface changes.That should match your requirements.Roy Marples ---- On Sat,28 Oct 2023 15:29:01 +0100 eugen@freebsd.org wrote ----28.10.2023 23:21, Roy Marples wrote: > What you would do is open a route socket, then call getifaddrs and then listen on the route socket for new interfaces. > > Then you can maintain a list of current vlans and take action accordingly. I'd like to be able to make a couple of system calls only to get a list of pre-created vlans for a moment. Efficiently and scalable. Not making thousands of reads (syscalls) from routing sockets and not syncing with the kernel. Eugene ------=_Part_1231041_886273848.1698511382087 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =
Usin= g netlink rather than route on a modern FreeBSD kernel may allow you do do = the same thing but install a kernel filter on the socket just to receive in= terface changes.

That should m= atch your requirements.


Roy Marples

<= br> ---- On Sat,28 Oct 2023 15:29:01 +0100 eugen@freebsd.org wrote= ----

=
28.10.2023 23:21, Roy Marples wrote:

> What you would do is open a route socket, then call getifaddrs and= then listen on the route socket for new interfaces.
>=20
> Then you can maintain a list of current vlans and take action acco= rdingly.

I'd like to be able to make a couple of system calls only to get a list= of pre-created vlans for a moment.
Efficiently and scalable. Not making thousands of reads (syscalls) from= routing sockets
and not syncing with the kernel.

Eugene


------=_Part_1231041_886273848.1698511382087--