From owner-freebsd-net@freebsd.org Sun Mar 28 09:51:53 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD73E5BB746 for ; Sun, 28 Mar 2021 09:51:53 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from fc.opsec.eu (fc.opsec.eu [IPv6:2001:14f8:200:4::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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7WFj5z48z3wL9 for ; Sun, 28 Mar 2021 09:51:53 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by fc.opsec.eu with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lQS5E-000Pc3-Dt; Sun, 28 Mar 2021 11:51:48 +0200 Date: Sun, 28 Mar 2021 11:51:48 +0200 From: Kurt Jaeger To: Kevin Bowling Cc: freebsd-net@freebsd.org Subject: Re: Which cpu/mainboard for fast routing (bgp, full tables) ? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4F7WFj5z48z3wL9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 09:51:53 -0000 Hi! > That class of processor has fairly limited memory bandwidth. An E5 v3 or > greater should get you what you want, although finding a system that makes > good use of available PCIe lanes with a single socket configuration can > sometimes be maddening. AMD may have a variety of nice parts for this > application, although I don’t have any personal experience with routing on > such hardware. Thanks -- I searched for a pair of boxes in my infra with those specs, found them: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz 82599ES 10-Gigabit SFI/SFP+ Network Connection and Intel(R) Xeon(R) CPU E5-1620 v4 @ 3.50GHz 82599ES 10-Gigabit SFI/SFP+ Network Connection and tested. Roughly the same performance, if we use only one connection. iperf3 -c The boxes were able to reach 10gbit, if we run 3 threads in parallel: iperf3 -c -P 3 So I have some area where I can investigate further. -- pi@FreeBSD.org +49 171 3101372 Now what ? From owner-freebsd-net@freebsd.org Sun Mar 28 11:46:07 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B0EA5BE0D0 for ; Sun, 28 Mar 2021 11:46:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7YnW11NGz4WTp for ; Sun, 28 Mar 2021 11:46:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 20E145BE311; Sun, 28 Mar 2021 11:46:07 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 20A845BE310 for ; Sun, 28 Mar 2021 11:46:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7YnW0LPlz4Wcy for ; Sun, 28 Mar 2021 11:46:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 ECC341F982 for ; Sun, 28 Mar 2021 11:46:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12SBk64e092729 for ; Sun, 28 Mar 2021 11:46:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SBk6fm092728 for net@FreeBSD.org; Sun, 28 Mar 2021 11:46:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Sun, 28 Mar 2021 11:46:06 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rscheff@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 11:46:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 Richard Scheffenegger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rscheff@freebsd.org --- Comment #4 from Richard Scheffenegger --- I just noticed, that sysctl will actually do a syscall to sysctl twice. First, with no buffer space - expecting to receive the size to allocate for= a buffer, then it tries to allocate twice as much buffer (apparently "for reasons"), before doing the syscall to sysctl a 2nd time. As the system continues to run, I am curious how large the list of hostcache entries is just prior to the "freeze" (of sysctl), and if the system may be space-constrained. Note that during the call, it appears that both kernel and userspace need memory (twice as much in the userspace). userspace seems to use a non-block= ing malloc call, after the first round where the return length is checked. Possibly the system has a hard time allocating a sufficiently large chunk of memory, if the hostcache is fully utilized and extremely busy... In sbuf_new, the kernel is trying a malloc(size, M_SBUF, M_WAITOK|M_ZERO)... Perhaps the sysctl callback procedure could be improved to=20 a) not actually allocate memory when the user has not yet provided a buffer= to fill - only return the require size (reducing the chances to run out-of-spa= ce somewhat) b) not allocate a huge chunk in sbuf_new right away, but use sbuf_extend repeatedly (although sbuf.c will actually grab a larger chunk of memory, co= py the data over,and release the old chunk - thus driving temporary memory requirements higher c) use a different memory model supporting disjoint segments of a c-string scattered in smaller memory chunks, subsequently concatenating them on the SYSCTL_OUT. d) change the M_WAITOK in /kern/subr_sbuf.c#59 to M_NOWAIT and expect an er= ror on very busy systems every once in a while. As a reasonable short term fix, I guess a combination of M_NOWAIT in sbuf.c= and use of sbuf_new(smaller size) / sbuf_extend(smaller_size) may be the prudent approach, if this turns out to be the culprit. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Mar 28 11:47:50 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0BAA95BE3FD for ; Sun, 28 Mar 2021 11:47:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7YqT6dQZz4WVY for ; Sun, 28 Mar 2021 11:47:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E38885BE51C; Sun, 28 Mar 2021 11:47:49 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E346A5BE2C6 for ; Sun, 28 Mar 2021 11:47:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7YqT5dYhz4WY5 for ; Sun, 28 Mar 2021 11:47:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B3EED1F986 for ; Sun, 28 Mar 2021 11:47:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12SBlnpw093117 for ; Sun, 28 Mar 2021 11:47:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SBlncE093116 for net@FreeBSD.org; Sun, 28 Mar 2021 11:47:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Sun, 28 Mar 2021 11:47:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rscheff@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 11:47:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #5 from Richard Scheffenegger --- (Note that with sbuf_extent, the prior string could be overwritten with a m= ore detailed error (e.g. failed to extend sbuf at the 20th iteration...) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Mar 28 11:52:28 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C9E895BE88F for ; Sun, 28 Mar 2021 11:52:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7Ywr595Vz4Wt9 for ; Sun, 28 Mar 2021 11:52:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B132F5BE981; Sun, 28 Mar 2021 11:52:28 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0F995BE980 for ; Sun, 28 Mar 2021 11:52: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 4F7Ywr4ZqJz4X78 for ; Sun, 28 Mar 2021 11:52:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 908E41FC85 for ; Sun, 28 Mar 2021 11:52: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 12SBqS62096890 for ; Sun, 28 Mar 2021 11:52:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SBqSB6096889 for net@FreeBSD.org; Sun, 28 Mar 2021 11:52: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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Sun, 28 Mar 2021 11:52:28 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rscheff@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 11:52:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #6 from Richard Scheffenegger --- Also, as a quick workaround: What is the output of sysctl net.inet.tcp.hostcache and the above problem about the waiting for a contingeous chunk of kernel memory could be reduced, by restricting net.inet.tcp.hostcache.cachelimit (the output tries to allocate (net.inet.tcp.hostcache.count+1)*128 bytes. W= ith a full hostcache this is almost a 2 MB memory chunk (on my system, the limi= t is 15360). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Mar 28 13:13:46 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5CB9C578DF3 for ; Sun, 28 Mar 2021 13:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7bkf20QXz4c0x for ; Sun, 28 Mar 2021 13:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 42C86579360; Sun, 28 Mar 2021 13:13:46 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 428F25790F1 for ; Sun, 28 Mar 2021 13:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7bkf1LNLz4c8M for ; Sun, 28 Mar 2021 13:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 2164E208E7 for ; Sun, 28 Mar 2021 13:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12SDDkvE041142 for ; Sun, 28 Mar 2021 13:13:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SDDkao041141 for net@FreeBSD.org; Sun, 28 Mar 2021 13:13:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Sun, 28 Mar 2021 13:13:45 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 13:13:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #7 from Michael Tuexen --- (In reply to Richard Scheffenegger from comment #6) That might be the reason... Good idea! So it would be good to see the output of sysctl net.inet.tcp.hostcache and vmstat -m | grep sbuf --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Mar 28 13:15:11 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 14D7C5791A7 for ; Sun, 28 Mar 2021 13:15:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7bmG71YQz4cDF for ; Sun, 28 Mar 2021 13:15:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F0E94579391; Sun, 28 Mar 2021 13:15:10 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0B2D579498 for ; Sun, 28 Mar 2021 13:15:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7bmG6Rxxz4cVX for ; Sun, 28 Mar 2021 13:15:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 D09E720B12 for ; Sun, 28 Mar 2021 13:15:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12SDFAUq041513 for ; Sun, 28 Mar 2021 13:15:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SDFA9F041512 for net@FreeBSD.org; Sun, 28 Mar 2021 13:15:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Sun, 28 Mar 2021 13:15:10 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 13:15:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #8 from Michael Tuexen --- (In reply to Michael Tuexen from comment #7) Just to be clear. You can provide these values as of now, you don't need to wait until the hang occurs. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Mar 28 13:48:36 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6371257A1E1 for ; Sun, 28 Mar 2021 13:48:36 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7cVq31Fxz4f07; Sun, 28 Mar 2021 13:48:35 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 12SDmU6M063042; Sun, 28 Mar 2021 06:48:30 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 12SDmUcX063041; Sun, 28 Mar 2021 06:48:30 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202103281348.12SDmUcX063041@gndrsh.dnsmgr.net> Subject: Re: Which cpu/mainboard for fast routing (bgp, full tables) ? In-Reply-To: To: Kurt Jaeger Date: Sun, 28 Mar 2021 06:48:30 -0700 (PDT) CC: Kevin Bowling , freebsd-net@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4F7cVq31Fxz4f07 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-1.08 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[69.59.192.140:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[69.59.192.140:from]; NEURAL_HAM_SHORT(-0.98)[-0.984]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 13:48:36 -0000 > Hi! > > > That class of processor has fairly limited memory bandwidth. An E5 v3 or > > greater should get you what you want, although finding a system that makes > > good use of available PCIe lanes with a single socket configuration can > > sometimes be maddening. AMD may have a variety of nice parts for this > > application, although I don?t have any personal experience with routing on > > such hardware. > > Thanks -- I searched for a pair of boxes in my infra with those > specs, found them: > > Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz > 82599ES 10-Gigabit SFI/SFP+ Network Connection > and > Intel(R) Xeon(R) CPU E5-1620 v4 @ 3.50GHz > 82599ES 10-Gigabit SFI/SFP+ Network Connection > > and tested. Roughly the same performance, if we use only one > connection. These CPU's have a quad channel memory controller, to achive anything close to the maximal memory bandwidth of 68BG/s you need to have all 4 banks of the memory occupied with identical DIMM's, and preferable DDR4 2133 or DDR4 2400. Also iirc the 82599ES uses the iflib driver code, and I am not sure how performant that is. The Mellanox and Chelsio cards are preferable in places that high speed is needed. > > iperf3 -c > > The boxes were able to reach 10gbit, if we run 3 threads in parallel: > > iperf3 -c -P 3 > > So I have some area where I can investigate further. I am not sure if hyperthreading has any effect on this type setup, I usually disable it on anything I want to be "performant" unless I see some great need for more threads. > pi@FreeBSD.org +49 171 3101372 Now what ? -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-net@freebsd.org Sun Mar 28 16:23:55 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3641A57E5F0 for ; Sun, 28 Mar 2021 16:23:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7gy30t9vz4p44 for ; Sun, 28 Mar 2021 16:23:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1E00357E3E5; Sun, 28 Mar 2021 16:23:55 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1DB8357E360 for ; Sun, 28 Mar 2021 16:23:55 +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 4F7gy30H02z4pC1 for ; Sun, 28 Mar 2021 16:23:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 F08B22339B for ; Sun, 28 Mar 2021 16:23:54 +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 12SGNsw5045034 for ; Sun, 28 Mar 2021 16:23:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SGNs1X045033 for net@FreeBSD.org; Sun, 28 Mar 2021 16:23:54 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 254303] Fatal trap 12: page fault while in kernel mode ((frr 7.5_1 + Freebsd 13 Beta3) zebra crashes server when routes are populated) Date: Sun, 28 Mar 2021 16:23:54 +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: Unspecified X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: a.ivanov@veesp.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 16:23:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254303 --- Comment #17 from Aleks --- (In reply to Alexander V. Chernikov from comment #16) I'll give you both files and server access via email. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun Mar 28 16:24:46 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1A74957E84F for ; Sun, 28 Mar 2021 16:24:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7gz174lxz4p4S for ; Sun, 28 Mar 2021 16:24:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F2FE457E8A0; Sun, 28 Mar 2021 16:24:45 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2C4D57E89F for ; Sun, 28 Mar 2021 16:24:45 +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 4F7gz15ccTz4pLq for ; Sun, 28 Mar 2021 16:24:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B458823603 for ; Sun, 28 Mar 2021 16:24:45 +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 12SGOj74045236 for ; Sun, 28 Mar 2021 16:24:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SGOjXb045235 for net@FreeBSD.org; Sun, 28 Mar 2021 16:24:45 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Sun, 28 Mar 2021 16:24:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rscheff@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 16:24:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #9 from Richard Scheffenegger --- See https://reviews.freebsd.org/D29471 for improving the situation by addressing (b) mentioned above. Note that this may not fully alleviate the issue (I did not investigate the inner workings when the sbin/sysctl is only checking how much buffer memory should be provided), but this is much more in-line with what other, similar SYSCTL_PROC handlers are doing when providing an indeterminate amount of=20 output. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Mar 28 21:00:50 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 98CC85AECF9 for ; Sun, 28 Mar 2021 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7p5Z23l0z3P1d for ; Sun, 28 Mar 2021 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id B99E45AECF7; Sun, 28 Mar 2021 21:00:49 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B572C5AEDC8 for ; Sun, 28 Mar 2021 21:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7p5Y0RPTz3Nx4 for ; Sun, 28 Mar 2021 21:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) 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 B1A9626BA5 for ; Sun, 28 Mar 2021 21:00: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 12SL0lE0093249 for ; Sun, 28 Mar 2021 21:00:47 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SL0l6Z093248 for net@FreeBSD.org; Sun, 28 Mar 2021 21:00:47 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202103282100.12SL0l6Z093248@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, 28 Mar 2021 21:00:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 21:00:50 -0000 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 ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport In Progress | 235700 | oce(4) driver causes fatal trap 12 on boot with e 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 | 166724 | if_re(4): watchdog timeout Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194453 | dummynet(4): pipe config bw parameter limited to Open | 200319 | Bridge+CARP crashes/freezes Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 207261 | netmap: Doesn't do TX sync with kqueue Open | 217978 | dhclient: Support supersede statement for option Open | 220468 | libfetch: Does not handle 407 (proxy auth) when c Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race Open | 225792 | ECMP is broken since tryforward() Open | 227720 | Kernel panic in ppp server Open | 230807 | if_alc(4): Driver not working for Killer Networki Open | 236888 | ppp daemon: Allow MTU to be overridden for PPPoE Open | 237072 | netgraph(4): performance issue [on HardenedBSD]? Open | 237840 | Removed dummynet dependency on ipfw Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile Open | 240969 | netinet6: Neighbour reachability detection broken Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 241162 | Panic in closefp() triggered by nginx (uwsgi with Open | 243463 | ix0: Watchdog timeout Open | 244066 | divert: Add sysctls for divert socket send and re Open | 118111 | rc: network.subr Add MAC address based interface 29 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun Mar 28 21:53:12 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB93A5B116B for ; Sun, 28 Mar 2021 21:53:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7qG04SLSz3htG for ; Sun, 28 Mar 2021 21:53:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8748F5B12AF; Sun, 28 Mar 2021 21:53:12 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8514B5B12AE for ; Sun, 28 Mar 2021 21:53: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 4F7qG02g7dz3htF for ; Sun, 28 Mar 2021 21:53:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4764327858 for ; Sun, 28 Mar 2021 21:53:12 +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 12SLrCKg022892 for ; Sun, 28 Mar 2021 21:53:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SLrCoo022891 for net@FreeBSD.org; Sun, 28 Mar 2021 21:53:12 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Sun, 28 Mar 2021 21:53:12 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 21:53:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #10 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dcb0dd7e122b8936ad61a141e65ef8ef87= 4bfebe5 commit cb0dd7e122b8936ad61a141e65ef8ef874bfebe5 Author: Richard Scheffenegger AuthorDate: 2021-03-28 21:12:03 +0000 Commit: Richard Scheffenegger CommitDate: 2021-03-28 21:50:23 +0000 tcp: reduce memory footprint when listing tcp hostcache In tcp_hostcache_list, the sbuf used would need a large (~2MB) blocking allocation of memory (M_WAITOK), when listing a full hostcache. This may stall the requestor for an indeterminate time. A further optimization is to return the expected userspace buffersize right away, rather than preparing the output of each current entry of the hostcase, provided by: @tuexen. This makes use of the ready-made functions of sbuf to work with sysctl, and repeatedly drain the much smaller buffer. PR: 254333 MFC after: 2 weeks Reviewed By: #transport, tuexen Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D29471 sys/netinet/tcp_hostcache.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Mar 28 22:00:26 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35EC95B0EBF for ; Sun, 28 Mar 2021 22:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7qQL0syvz3jTH for ; Sun, 28 Mar 2021 22:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1DF665B0EBE; Sun, 28 Mar 2021 22:00:26 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1DBEF5B1701 for ; Sun, 28 Mar 2021 22:00:26 +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 4F7qQL0Hj8z3jVZ for ; Sun, 28 Mar 2021 22:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 F12D027BE3 for ; Sun, 28 Mar 2021 22:00:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12SM0P77024170 for ; Sun, 28 Mar 2021 22:00:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12SM0Psi024169 for net@FreeBSD.org; Sun, 28 Mar 2021 22:00:25 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Sun, 28 Mar 2021 22:00:25 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 22:00:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #11 from Michael Tuexen --- (In reply to commit-hook from comment #10) If it is possible, please patch your system with the above patch and give i= t a try. My guess is that it resolves your issue, but one doesn't know without test. Please let us know if patching a system is an option for you. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Mar 29 02:34:22 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 39F155B943D for ; Mon, 29 Mar 2021 02:34:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7xVQ0zv8z4T1d for ; Mon, 29 Mar 2021 02:34:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 21CDF5B906D; Mon, 29 Mar 2021 02:34:22 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 219475B9488 for ; Mon, 29 Mar 2021 02:34:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7xVQ0Ndpz4Sqg for ; Mon, 29 Mar 2021 02:34:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 F3191305D for ; Mon, 29 Mar 2021 02:34: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 12T2YLbk066050 for ; Mon, 29 Mar 2021 02:34:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12T2YLUQ066049 for net@FreeBSD.org; Mon, 29 Mar 2021 02:34: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 254623] traceroute6: ICMP6 does not work anymore Date: Mon, 29 Mar 2021 02:34:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: regression 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: keywords 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 02:34:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Mar 29 02:44:42 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 973915B9B0D for ; Mon, 29 Mar 2021 02:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7xkL0nL6z4TL1 for ; Mon, 29 Mar 2021 02:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1AD935B9931; Mon, 29 Mar 2021 02:44:42 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AA665B9A31 for ; Mon, 29 Mar 2021 02:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7xkK4ck0z4TN2 for ; Mon, 29 Mar 2021 02:44:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 8DDB83709 for ; Mon, 29 Mar 2021 02:44: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 12T2ifHY070272 for ; Mon, 29 Mar 2021 02:44:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12T2ifRC070271 for net@FreeBSD.org; Mon, 29 Mar 2021 02:44: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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Mon, 29 Mar 2021 02:44:41 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: bug_severity bug_file_loc flagtypes.name cc bug_status 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 02:44:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Many People URL| |https://reviews.freebsd.org | |/D29471 Flags| |mfc-stable13?, | |mfc-stable12?, | |mfc-stable11? CC| |net@FreeBSD.org Status|New |In Progress Assignee|net@FreeBSD.org |rscheff@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Mar 29 07:22:47 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 00A6C5BE77D for ; Mon, 29 Mar 2021 07:22:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F83vB6PSvz4jNL for ; Mon, 29 Mar 2021 07:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DB73B5BF010; Mon, 29 Mar 2021 07:22:46 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DA26E5BEDCB for ; Mon, 29 Mar 2021 07:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F83vB5fmhz4jNK for ; Mon, 29 Mar 2021 07:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B58AB7508 for ; Mon, 29 Mar 2021 07:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12T7MkCt008332 for ; Mon, 29 Mar 2021 07:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12T7Mkw6008331 for net@FreeBSD.org; Mon, 29 Mar 2021 07:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254623] traceroute6: ICMP6 does not work anymore Date: Mon, 29 Mar 2021 07:22:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei.huang@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 07:22:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 --- Comment #1 from Zhenlei Huang --- The traceroute6.c from stable/12 works great with stable/13 kernel. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Mar 29 08:28:10 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E79AA5C07FD for ; Mon, 29 Mar 2021 08:28:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F85Lf62mVz4mhN for ; Mon, 29 Mar 2021 08:28:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CF6D15C0AAE; Mon, 29 Mar 2021 08:28:10 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CF3705C07FC for ; Mon, 29 Mar 2021 08:28:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F85Lf5RY1z4mqM for ; Mon, 29 Mar 2021 08:28:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 ADAF31016B for ; Mon, 29 Mar 2021 08:28:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12T8SAfA041535 for ; Mon, 29 Mar 2021 08:28:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12T8SA0U041534 for net@FreeBSD.org; Mon, 29 Mar 2021 08:28:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254623] traceroute6: ICMP6 does not work anymore Date: Mon, 29 Mar 2021 08:28:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei.huang@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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 08:28:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 --- Comment #2 from Zhenlei Huang --- Created attachment 223678 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223678&action= =3Dedit Patch for traceroute6.c Hi rashey, Can you please test if this patch works? Thanks :) CC Mariusz Zaborski --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Mar 29 08:36:17 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 376725C1081 for ; Mon, 29 Mar 2021 08:36:17 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-vs1-xe32.google.com (mail-vs1-xe32.google.com [IPv6:2607:f8b0:4864:20::e32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F85X03W1Pz4n0n; Mon, 29 Mar 2021 08:36:16 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: by mail-vs1-xe32.google.com with SMTP id f19so1180959vsl.10; Mon, 29 Mar 2021 01:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=McQSHiuHWgY7fcQ3Fql22Wq8ZDlRsobVHbndVEnbNxc=; b=kNBDexiknbwZuUt4gp6q1C/djiSFVqkgbyhprPExkpulNNUaTqf6/w6ttEOfK1Vcw1 K+LnaoFe+tQSr2/c3TSVJTW24U99xvUUi6Sx4+4MV4iPLn/m+omVJaxk0UUdXLzWEiN2 CvYA3Vc3fHqcHxtK/egoK0cGbzEogl38RN3dzwrNJThUHHMaPtyJaZqQ6aony23T6Cxi ZoEqP+kKIzfVRMRzzhHwZurNryZuWYFTEjt4+mlQatyruorVOqPGDR0WMMXhx1Rvqh8t OkwJS+eh2kjfJ2x/jKyXVbapv1mJF47k0E3BuIuBhUhw7BwbpdXJbx0/7gP7SuqBbKwx bFWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=McQSHiuHWgY7fcQ3Fql22Wq8ZDlRsobVHbndVEnbNxc=; b=UolVU36tk3BJF5SRU05WShXmeMJZflgLw2MeqYwFITTPWU8JdXqvLr1N6EfLZ8j9/C 2MM1+jpGLFBPQf9WEPtlZUJY5yRMXRpgDx5X6h/GoejIQ5A/8fmUVaYNfeH37jEM+E/m v7XkYlEdXHDqsfeRKDZRrZAH5+S4mOaY2PqF716QDOpLG6Wj+PodpCd75FXRLdTf0ytQ zdvQkXGq7G1Yue6F4jUBBur4sMforV6hQrmeUBQpo+UyuDNyUalfeOiJZV8fqpy1u61p zcYiRojpEhMqML7sMngMJJhL25yBCHro7iv1KVMuah87snkkRc0Jq+lQYHIpG2rSy+IQ /7Bw== X-Gm-Message-State: AOAM532aHKbJq0vSyBnfe2iIaRbQI+BRDAlc9/DBRhYFAWqZVlfhNjPP PNVlREHXGtjN60DmwOb0g5YUTLvO9At0lipg7BWKXyJQaPo= X-Google-Smtp-Source: ABdhPJy8p7TfM/vhLdliunTyi/j3lqBjeYn8JoKp77DAk7F5Z9McWlbvkeoKeZYcveQQyzE7iZfHXlG4O3cfOQsjYOY= X-Received: by 2002:a67:fd18:: with SMTP id f24mr250460vsr.14.1617006975401; Mon, 29 Mar 2021 01:36:15 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Mon, 29 Mar 2021 11:36:04 +0300 Message-ID: Subject: ixl netmap TX queue remains full To: FreeBSD Net Cc: krzysztof.galazka@intel.com, gowtham.kumar.ks@intel.com, erj@freebsd.org, jeffrey.e.pieper@intel.com X-Rspamd-Queue-Id: 4F85X03W1Pz4n0n X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=kNBDexik; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ozkankirik@gmail.com designates 2607:f8b0:4864:20::e32 as permitted sender) smtp.mailfrom=ozkankirik@gmail.com X-Spamd-Result: default: False [-3.37 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_MIXED_CHARSET(0.62)[subject]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::e32:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::e32:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e32:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 08:36:17 -0000 Hello, I hit problems about ixl driver's netmap support. I have no problems with ixgbe. The problem is tested with FreeBSD 12.2-p5 and FreeBSD 13.0-RC3. ixl in netmap mode, it works with low throughput (about 2 Gbps) for 20-30 seconds. And then TX queue remains full. poll with POLLOUT and even ioctl(fd, NIOCTXSYNC) does not work. So that nic stops working. Same netmap software with ixgbe has no problems. pciconf -lv output: ixl0@pci0:183:0:0: class=0x020000 card=0x37d215d9 chip=0x37d28086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Connection X722 for 10GBASE-T' class = network subclass = ethernet ixl1@pci0:183:0:1: class=0x020000 card=0x37d215d9 chip=0x37d28086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Connection X722 for 10GBASE-T' class = network subclass = ethernet ixl2@pci0:183:0:2: class=0x020000 card=0x37d015d9 chip=0x37d08086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Connection X722 for 10GbE SFP+' class = network subclass = ethernet ixl3@pci0:183:0:3: class=0x020000 card=0x37d015d9 chip=0x37d08086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Connection X722 for 10GbE SFP+' class = network subclass = ethernet Best regards From owner-freebsd-net@freebsd.org Mon Mar 29 08:46:28 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3E305C168D for ; Mon, 29 Mar 2021 08:46:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F85lm5T5gz4nkt for ; Mon, 29 Mar 2021 08:46:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BB7525C1439; Mon, 29 Mar 2021 08:46:28 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB4035C133F for ; Mon, 29 Mar 2021 08:46: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 4F85lm4tCSz4p3m for ; Mon, 29 Mar 2021 08:46:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 98415105EE for ; Mon, 29 Mar 2021 08:46: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 12T8kSg6051731 for ; Mon, 29 Mar 2021 08:46:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12T8kST6051730 for net@FreeBSD.org; Mon, 29 Mar 2021 08:46: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 254623] traceroute6: ICMP6 does not work anymore Date: Mon, 29 Mar 2021 08:46:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei.huang@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 08:46:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 --- Comment #3 from Zhenlei Huang --- The review D25604 capsicumize traceroute6, and use connect / send instead of sendto. For ICMPV6 there may be ICMP6_DST_UNREACH type packets from intermediate gateways, and they will not be captured by the pre-connected socket IIUC. Here comes the solution, let's separate the connected socket (sndsock) from receive socket (rcvsock) as same as UDP / TCP / SCTP routines. CC Mariusz Zaborski --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Mar 29 23:07:51 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0786C5AF696 for ; Mon, 29 Mar 2021 23:07:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8Ssf5jhtz4rnn for ; Mon, 29 Mar 2021 23:07:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6E6725AF34F; Mon, 29 Mar 2021 23:07:47 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B24F5AF70F for ; Mon, 29 Mar 2021 23:07: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 4F8Ssb17ypz4rjF for ; Mon, 29 Mar 2021 23:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 F005F1B9F0 for ; Mon, 29 Mar 2021 23:07: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 12TN7flm077979 for ; Mon, 29 Mar 2021 23:07:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12TN7fRK077978 for net@FreeBSD.org; Mon, 29 Mar 2021 23:07:41 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 254303] Fatal trap 12: page fault while in kernel mode ((frr 7.5_1 + Freebsd 13 Beta3) zebra crashes server when routes are populated) Date: Mon, 29 Mar 2021 23:07:41 +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: Unspecified X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 23:07:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254303 --- Comment #18 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9095dc7da4cf0c484fb1160b2180b7329= b09b107 commit 9095dc7da4cf0c484fb1160b2180b7329b09b107 Author: Alexander V. Chernikov AuthorDate: 2021-03-29 23:00:17 +0000 Commit: Alexander V. Chernikov CommitDate: 2021-03-29 23:00:17 +0000 Fix nexhtop group index array scaling. The current code has the limit of 127 nexthop groups due to the wrongly-checked bitmask_copy() return value. PR: 254303 Reported by: Aleks MFC after: 1 day sys/net/route/nhgrp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Mar 29 23:23:05 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 56BA05AFB47 for ; Mon, 29 Mar 2021 23:23:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8TCF1pmGz4snG for ; Mon, 29 Mar 2021 23:23:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3C6765AFAB6; Mon, 29 Mar 2021 23:23:05 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C2FD5AFD15 for ; Mon, 29 Mar 2021 23:23:05 +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 4F8TCF18ffz4sX4 for ; Mon, 29 Mar 2021 23:23:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1AF4E1BFD4 for ; Mon, 29 Mar 2021 23:23: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 12TNN5I1087687 for ; Mon, 29 Mar 2021 23:23:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12TNN5Rf087686 for net@FreeBSD.org; Mon, 29 Mar 2021 23:23: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 254303] Fatal trap 12: page fault while in kernel mode ((frr 7.5_1 + Freebsd 13 Beta3) zebra crashes server when routes are populated) Date: Mon, 29 Mar 2021 23:23:04 +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: Unspecified X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 23:23:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254303 --- Comment #19 from Alexander V. Chernikov --- So, it looks like it is a combination of 3 bugs: The actual thing corrupting memory is https://cgit.freebsd.org/src/commit/?id=3D42f997d9b721ce5b64c37958f21fa8163= 0f5a224 (in 13.0-RC4). We get to this codepath by having 127 hexthop groups (number when we trigger array resize). This is addressed in https://cgit.freebsd.org/src/commit/?id=3D9095dc7da4cf0c484fb1160b2180b7329= b09b107 (only in HEAD atm). We get that amount of nexthop groups (should be only one) because of non-zeroing all of the memory in the comparison part of nexthop group. This= is address in https://cgit.freebsd.org/src/commit/?id=3D823a80f4f9037b6b9611aaceb21f53115= d1e64f1 (in 13-S, not sure if it lands in 13.0-R). --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 03:26:55 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B38B75B9285 for ; Tue, 30 Mar 2021 03:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8Zcb4Syvz3RG7 for ; Tue, 30 Mar 2021 03:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 994C55B9099; Tue, 30 Mar 2021 03:26:55 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 991275B9304 for ; Tue, 30 Mar 2021 03:26:55 +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 4F8Zcb3rGLz3R0r for ; Tue, 30 Mar 2021 03:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 76DEB1F52A for ; Tue, 30 Mar 2021 03:26:55 +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 12U3QtiI010184 for ; Tue, 30 Mar 2021 03:26:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12U3Qtm1010183 for net@FreeBSD.org; Tue, 30 Mar 2021 03:26:55 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 254623] traceroute6: ICMP6 no longer works due to Capsicum'ization: data too short (-1 bytes) from invalid Date: Tue, 30 Mar 2021 03:26:55 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? X-Bugzilla-Changed-Fields: short_desc bug_status bug_severity flagtypes.name cc keywords see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 03:26:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|traceroute6: ICMP6 does not |traceroute6: ICMP6 no |work anymore |longer works due to | |Capsicum'ization: data too | |short (-1 bytes) from | |invalid Status|New |Open Severity|Affects Only Me |Affects Some People Flags| |maintainer-feedback?(markj@ | |FreeBSD.org), mfc-stable13? CC| |markj@FreeBSD.org, | |net@FreeBSD.org Keywords| |needs-qa See Also| |https://reviews.freebsd.org | |/D25604 --- Comment #4 from Kubilay Kocak --- ^Triage: Review author doesn't appear to have an account in Bugzilla, reque= st feedback from one of the reviews reviewers --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 06:22:16 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B1A55BC423 for ; Tue, 30 Mar 2021 06:22:16 +0000 (UTC) (envelope-from vmaffione@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 4F8fVw17t7z3q63; Tue, 30 Mar 2021 06:22:16 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: vmaffione) by smtp.freebsd.org (Postfix) with ESMTPSA id 12F29317AB; Tue, 30 Mar 2021 06:22:16 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: by mail-pj1-f45.google.com with SMTP id ha17so7212035pjb.2; Mon, 29 Mar 2021 23:22:16 -0700 (PDT) X-Gm-Message-State: AOAM532AsZUIx5/1kXXYnajq2ZOHxzJqO6ueXw2JPbv5Y2KdcU/wzYM9 ql2sZY//9JycF0fuxt2+w4lRzV/JSe+CO27JImo= X-Google-Smtp-Source: ABdhPJyn7mm2c0n5SqVIKgQUxcfWwiqcJvTAWZpXzTfvqkjHScy/1gHay1YDRd55hmDpCUBPpG5qPicETMEYbdT2SMU= X-Received: by 2002:a17:90a:c587:: with SMTP id l7mr2662575pjt.115.1617085334963; Mon, 29 Mar 2021 23:22:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vincenzo Maffione Date: Tue, 30 Mar 2021 08:22:03 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ixl netmap TX queue remains full To: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Cc: FreeBSD Net , krzysztof.galazka@intel.com, gowtham.kumar.ks@intel.com, erj@freebsd.org, jeffrey.e.pieper@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 06:22:16 -0000 Hi, Could this be related to https://reviews.freebsd.org/D26896? Moreover, what happens if you switch the enable_head_writeback sysctl? Cheers, Vincenzo Il giorno lun 29 mar 2021 alle ore 10:36 =C3=96zkan KIRIK ha scritto: > Hello, > > I hit problems about ixl driver's netmap support. I have no problems with > ixgbe. > The problem is tested with FreeBSD 12.2-p5 and FreeBSD 13.0-RC3. > > ixl in netmap mode, it works with low throughput (about 2 Gbps) for 20-30 > seconds. And then TX queue remains full. poll with POLLOUT and even > ioctl(fd, NIOCTXSYNC) does not work. So that nic stops working. > > Same netmap software with ixgbe has no problems. > > pciconf -lv output: > ixl0@pci0:183:0:0: class=3D0x020000 card=3D0x37d215d9 chip=3D0x37d28086 r= ev=3D0x04 > hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Ethernet Connection X722 for 10GBASE-T' > class =3D network > subclass =3D ethernet > ixl1@pci0:183:0:1: class=3D0x020000 card=3D0x37d215d9 chip=3D0x37d28086 r= ev=3D0x04 > hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Ethernet Connection X722 for 10GBASE-T' > class =3D network > subclass =3D ethernet > ixl2@pci0:183:0:2: class=3D0x020000 card=3D0x37d015d9 chip=3D0x37d08086 r= ev=3D0x04 > hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Ethernet Connection X722 for 10GbE SFP+' > class =3D network > subclass =3D ethernet > ixl3@pci0:183:0:3: class=3D0x020000 card=3D0x37d015d9 chip=3D0x37d08086 r= ev=3D0x04 > hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Ethernet Connection X722 for 10GbE SFP+' > class =3D network > subclass =3D ethernet > > Best regards > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Tue Mar 30 06:56:42 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A96E05BD6F6 for ; Tue, 30 Mar 2021 06:56:42 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8gGf4DMxz3s6y; Tue, 30 Mar 2021 06:56:42 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: by mail-vs1-xe33.google.com with SMTP id u29so4493763vsi.12; Mon, 29 Mar 2021 23:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dWlWrblCOOz3zXTd2poQc1lXBDRHrHbN9p0+jaaMH+4=; b=TotBiaFhs7JMCdBA+5X9sxfBEQQWkMZtZzY9MGSC6TSOcf6xdbo0+WBNFL8D2ci+wd m1nBoytREkSE8UQM9nwOVlkZQG2QzSidg3aiGS2ORufA0OFErN5auP2Vi6/if/hTTqPR AbI/ohfgdJytluMAlEidomCxcxBuHZxF7rJsx4sYK0+zmFrwsVK8QPmvItMD4MZQqBu5 JnDADXuAsvwHzTALMHO5ACrYHN3fF4OthEUET83UFrGSxxdrqfoEZxbCq7NkYvrA02j4 +a+h/XtRmDyTSrnmuEbOffBgjoGeJPGMShfUa5nbJD1y6s9gmuzPuQrZwqyMLKEXxbs3 W+qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dWlWrblCOOz3zXTd2poQc1lXBDRHrHbN9p0+jaaMH+4=; b=jj4JiEDJsukujRaHGUJMSKKosGHwoLKu/lLuT24DvtLYMfIzANFukpkxCxEHkp8dqq kOrOhTaH5/r5KbpZ96MJ1ylYz3DJc7TC9hCCrLNPn9NNR2xptEVbL66W6TD7Axt8Z6B9 TMkH2TMlFMViHq2AEQeLVB7EiNzKCo894A2tZ+u/yr6Yl7jr4nQgKoxkZ9J6Wx39angG TBZlXy7Q1egNiluW/jpwcF07nvzVx8jGFWIG2In7Y2M85+MrgOqxQ1yAf28dAtq3u/Wv CYPwsux9yNbm6lgY4cMmVGRQHvwd6/bY0jp8JxnUO/dXq74H8A8NGJzaS3aNigV5mhCK xPsA== X-Gm-Message-State: AOAM530ZxKqBtq/TDqejvPyc/udlkJLpq2IAR6BIL7Yn8ocNNaqRAftd Ac6OHJY8Zlrm7T4faWUJ4CqHFMOETmivKGvMVDA/QmV3YTs= X-Google-Smtp-Source: ABdhPJzZfSrOMVOBM6TMqPXOFXmucKwDDa1z6eyVdGcWM3nsbOPIUlhKmDET8vClE/6Wdxi0k/lBCzzmec9fFqa2fAw= X-Received: by 2002:a67:fd18:: with SMTP id f24mr3196419vsr.14.1617087400899; Mon, 29 Mar 2021 23:56:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Tue, 30 Mar 2021 09:56:33 +0300 Message-ID: Subject: Re: ixl netmap TX queue remains full To: Vincenzo Maffione Cc: FreeBSD Net , krzysztof.galazka@intel.com, gowtham.kumar.ks@intel.com, erj@freebsd.org, jeffrey.e.pieper@intel.com X-Rspamd-Queue-Id: 4F8gGf4DMxz3s6y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 06:56:42 -0000 Hello Vincenzo, Before your email, hw.ixl.enable_head_writeback =3D 1. After your suggestio= n, i set the hw.ixl.enable_head_writeback =3D 0. then it works properly. Thank you so much Cheers =C3=96zkan On Tue, Mar 30, 2021 at 9:22 AM Vincenzo Maffione wrote: > Hi, > Could this be related to > https://reviews.freebsd.org/D26896? > > Moreover, what happens if you switch the enable_head_writeback sysctl? > > Cheers, > Vincenzo > > Il giorno lun 29 mar 2021 alle ore 10:36 =C3=96zkan KIRIK < > ozkan.kirik@gmail.com> ha scritto: > >> Hello, >> >> I hit problems about ixl driver's netmap support. I have no problems wit= h >> ixgbe. >> The problem is tested with FreeBSD 12.2-p5 and FreeBSD 13.0-RC3. >> >> ixl in netmap mode, it works with low throughput (about 2 Gbps) for 20-3= 0 >> seconds. And then TX queue remains full. poll with POLLOUT and even >> ioctl(fd, NIOCTXSYNC) does not work. So that nic stops working. >> >> Same netmap software with ixgbe has no problems. >> >> pciconf -lv output: >> ixl0@pci0:183:0:0: class=3D0x020000 card=3D0x37d215d9 chip=3D0x37d28086 >> rev=3D0x04 >> hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'Ethernet Connection X722 for 10GBASE-T' >> class =3D network >> subclass =3D ethernet >> ixl1@pci0:183:0:1: class=3D0x020000 card=3D0x37d215d9 chip=3D0x37d28086 >> rev=3D0x04 >> hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'Ethernet Connection X722 for 10GBASE-T' >> class =3D network >> subclass =3D ethernet >> ixl2@pci0:183:0:2: class=3D0x020000 card=3D0x37d015d9 chip=3D0x37d08086 >> rev=3D0x04 >> hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'Ethernet Connection X722 for 10GbE SFP+' >> class =3D network >> subclass =3D ethernet >> ixl3@pci0:183:0:3: class=3D0x020000 card=3D0x37d015d9 chip=3D0x37d08086 >> rev=3D0x04 >> hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'Ethernet Connection X722 for 10GbE SFP+' >> class =3D network >> subclass =3D ethernet >> >> Best regards >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > From owner-freebsd-net@freebsd.org Tue Mar 30 08:01:50 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 293C65BF217 for ; Tue, 30 Mar 2021 08:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8hjp0K4Bz3w9d for ; Tue, 30 Mar 2021 08:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0ADEF5BEFBF; Tue, 30 Mar 2021 08:01:50 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0AA745BEFBE for ; Tue, 30 Mar 2021 08:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8hjn6l3mz3w1D for ; Tue, 30 Mar 2021 08:01:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 DA4CF22C3F for ; Tue, 30 Mar 2021 08:01:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12U81nJ9049795 for ; Tue, 30 Mar 2021 08:01:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12U81n6e049794 for net@FreeBSD.org; Tue, 30 Mar 2021 08:01:49 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 254303] Fatal trap 12: page fault while in kernel mode ((frr 7.5_1 + Freebsd 13 Beta3) zebra crashes server when routes are populated) Date: Tue, 30 Mar 2021 08:01:49 +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: Unspecified X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 08:01:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254303 --- Comment #20 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D923e7f7e12670e97b097a195e69c848a6= e8773a2 commit 923e7f7e12670e97b097a195e69c848a6e8773a2 Author: Alexander V. Chernikov AuthorDate: 2021-03-29 23:00:17 +0000 Commit: Alexander V. Chernikov CommitDate: 2021-03-30 07:34:31 +0000 Fix nexhtop group index array scaling. The current code has the limit of 127 nexthop groups due to the wrongly-checked bitmask_copy() return value. PR: 254303 Reported by: Aleks (cherry picked from commit 9095dc7da4cf0c484fb1160b2180b7329b09b107) sys/net/route/nhgrp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 09:43:05 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5CCC15C0E5C for ; Tue, 30 Mar 2021 09:43:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8kyd20jxz4VZs for ; Tue, 30 Mar 2021 09:43:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 42E5C5C0ED8; Tue, 30 Mar 2021 09:43:05 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 42B585C0E5B for ; Tue, 30 Mar 2021 09:43:05 +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 4F8kyd1Mblz4Vqy for ; Tue, 30 Mar 2021 09:43:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 2234124053 for ; Tue, 30 Mar 2021 09:43: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 12U9h5xT002381 for ; Tue, 30 Mar 2021 09:43:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12U9h5Wa002380 for net@FreeBSD.org; Tue, 30 Mar 2021 09:43:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254478] Panic when using ipfw and divert sockets Date: Tue, 30 Mar 2021 09:43:05 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 09:43:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254478 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dc80a4b76ceacc5aab322e7ac1407eea8c= 90cb3b1 commit c80a4b76ceacc5aab322e7ac1407eea8c90cb3b1 Author: Andrey V. Elsukov AuthorDate: 2021-03-30 09:31:09 +0000 Commit: Andrey V. Elsukov CommitDate: 2021-03-30 09:31:09 +0000 ipdivert: check that PCB is still valid after taking INPCB_RLOCK. We are inspecting PCBs of divert sockets under NET_EPOCH section, but PCB could be already detached and we should check INP_FREED flag when we took INP_RLOCK. PR: 254478 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29420 sys/netinet/ip_divert.c | 4 ++++ 1 file changed, 4 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 13:36:49 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A8CD5C581A for ; Tue, 30 Mar 2021 13:36:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8r8K2PpXz4jMf for ; Tue, 30 Mar 2021 13:36:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 529935C556B; Tue, 30 Mar 2021 13:36:49 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 525EF5C50F9 for ; Tue, 30 Mar 2021 13:36:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8r8K1kT8z4j3W for ; Tue, 30 Mar 2021 13:36:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 2E79C27520 for ; Tue, 30 Mar 2021 13:36:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12UDanJT017825 for ; Tue, 30 Mar 2021 13:36:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UDaniE017824 for net@FreeBSD.org; Tue, 30 Mar 2021 13:36:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Tue, 30 Mar 2021 13:36:49 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: maxim.shalomikhin@kaspersky.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 13:36:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #12 from Maxim Shalomikhin --- I have one machine with hanging sysct: 99750 - D 22:33.32 /sbin/sysctl net.inet.tcp.hostcache.list # procstat -kk 99750 PID TID COMM TDNAME KSTACK 99750 101008 sysctl - mi_switch+0xe1 sleepq_wait+0x2c _cv_wait+0x115 vmem_xalloc+0x44b vmem_alloc+0x31 kmem_malloc+0x33 uma_large_malloc+0x46 malloc+0x3d sbuf_new+0x105 sysctl_tcp_hc_list+0x6d sysctl_root_handler_locked+0x8a sysctl_root+0x1ee userland_sysctl+0x134 sys___sysctl+0x5f amd64_syscall+0xa4e fast_syscall_common+0x101 As for cachelimit: Yes, we have large number set, but I noticed, then sysctl hangs, the hostcache.count goes crazy big (and stops near 2^32 at 429496644= 7): # sysctl net.inet.tcp.hostcache net.inet.tcp.hostcache.purgenow: 0 net.inet.tcp.hostcache.purge: 0 net.inet.tcp.hostcache.prune: 300 net.inet.tcp.hostcache.expire: 3600 net.inet.tcp.hostcache.count: 4294966447 net.inet.tcp.hostcache.bucketlimit: 30 net.inet.tcp.hostcache.hashsize: 65536 net.inet.tcp.hostcache.cachelimit: 1966080 net.inet.tcp.hostcache.enable: 1 # vmstat -m | grep sbuf sbuf 1 1K - 68235=20 16,32,64,128,256,512,1024,2048,4096,8192,32768,65536 mrsasbuf 949 2860K - 951 32,128,256,2048,8192 Usually, hostcache.count is about ~500k. So, Is it just my fault setting cachelimit to high or this is a bug in sync= ache with hostcache.count? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 14:33:01 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C97B75783E8 for ; Tue, 30 Mar 2021 14:33:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8sP959cbz4p0C for ; Tue, 30 Mar 2021 14:33:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B185F57871E; Tue, 30 Mar 2021 14:33:01 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B143F578649 for ; Tue, 30 Mar 2021 14:33:01 +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 4F8sP94VHJz4p5t for ; Tue, 30 Mar 2021 14:33:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 8D56427D37 for ; Tue, 30 Mar 2021 14:33:01 +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 12UEX17t047318 for ; Tue, 30 Mar 2021 14:33:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UEX1Ru047317 for net@FreeBSD.org; Tue, 30 Mar 2021 14:33:01 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Tue, 30 Mar 2021 14:33:01 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rscheff@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 14:33:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #13 from Richard Scheffenegger --- Thanks. I can not comment as to why the hostcache.count counts up and beyond the limit. But the other data confirms that what you are seeing is the (unsuccessful) attempt in allocating a huge amount of kernel memory by the sbuf_new functi= on. When trying to dump all the entries of the hostcache, the hostcache.list tries to grab hostcache.cachelimit * 128 bytes, or 1966080 * 128 ~=3D 25= 0 MB of contingeous kernel memory - twice (!). (Also, if the count really is > cachelimit, the hostcache.list may eventual= ly simply fail, due to insufficient memory...) The following Diffs are under review, but should address these particular issues: o) immediately respond with buffer required without actually allocating/preparing that=20 o) allocating only one bucket's worth of output and moving the output bucket-by-bucket to userspace (reducing the memory footprint temporarily required from 2x 250 MB down to 1x 4kB). See=20 https://reviews.freebsd.org/D29471 https://reviews.freebsd.org/D29481 https://reviews.freebsd.org/D29483 Patching with only D29471 should mostly address the issue, although there remain issues around keeping a lock for an extensive period of time, while moving the output to userspace repeatedly. This may have undesired sideeffe= cts, so you want to probably go with all three. To "unstuck" the system in this state - refrain from issuing hostcache.list multiple times, and try to free up the above mentioned chunk of in-kernel memory (at least temporarily). That should allow all the stalled malloc processes to succeed eventually, and return properly. But on systems with a high uptime or kernel memory churn, and a very large hostcache.cachelimit, it really is only a question of time, until such a hu= ge malloc blocks "indefinitely" - thus the above patches try to be much more s= mart in what kernel memory really is needed. The downside is, that there is a higher chance, that hash buckets may change more, than they would with that huge memory allocation (if successful). But hostcache.list does not provide a "complete" snapshot of all the entrie= s in the hostcache at a very specific moment in time - they may change between t= he evaluation of different buckets already (but the longer time for moving dat= a to userspace may allow more changes to happen). --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 15:06:56 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1735E579D0E for ; Tue, 30 Mar 2021 15:06:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8t8H74mhz4rfn for ; Tue, 30 Mar 2021 15:06:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F3001579CC2; Tue, 30 Mar 2021 15:06:55 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2CA0579BF6 for ; Tue, 30 Mar 2021 15:06:55 +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 4F8t8H6S3kz4rl3 for ; Tue, 30 Mar 2021 15:06:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 CA807721 for ; Tue, 30 Mar 2021 15:06:55 +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 12UF6tmj062133 for ; Tue, 30 Mar 2021 15:06:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UF6tNu062132 for net@FreeBSD.org; Tue, 30 Mar 2021 15:06:55 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 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic Date: Tue, 30 Mar 2021 15:06: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: 11.2-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freqlabs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 15:06:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235700 Ryan Moeller changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freqlabs@FreeBSD.org --- Comment #6 from Ryan Moeller --- Fixed in main, stable/13: commit 3582828053556ca0e05ed9aab3e78008a0595e09 Author: Alexander Motin Date: Tue May 28 18:32:04 2019 +0000 Fix array out of bound panic introduced in r306219. As I see, different NICs in different configurations may have different numbers of TX and RX queues. The code was assuming 1:1 mapping between event queues (interrupts) and TX/RX queues. Since number of interrupts is set to maximum of TX and RX queues, when those two are different, the system is doomed. I have no documentation or deep knowledge about this hardware, so this change is based on general observations and code reading. If some of my guesses are wrong, please do better. I just confirmed HP NC550SFP NICs are working now. MFC after: 2 weeks Sponsored by: iXsystems, Inc. Notes: svn path=3D/head/; revision=3D348332 Fixed in stable/12: 24a556b1dd7481cfac036d5138bbbfa1bde832b4 (r348888) Fixed in stable/11: a42a0b77f0de636a91f79fa2fde8a507d88b79b7 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 15:14:37 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CB75C579DC8 for ; Tue, 30 Mar 2021 15:14:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8tK95CG5z4s4g for ; Tue, 30 Mar 2021 15:14:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B0CA5579DC7; Tue, 30 Mar 2021 15:14:37 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AF6E057A08B for ; Tue, 30 Mar 2021 15:14:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8tK94MnLz4s1Z for ; Tue, 30 Mar 2021 15:14:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 8566A9BE for ; Tue, 30 Mar 2021 15:14:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12UFEb9Z065794 for ; Tue, 30 Mar 2021 15:14:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UFEb1L065793 for net@FreeBSD.org; Tue, 30 Mar 2021 15:14:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic Date: Tue, 30 Mar 2021 15:14:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freqlabs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 15:14:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235700 Ryan Moeller changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #7 from Ryan Moeller --- I'm calling this done. It's too late for any 11.x releases and it's already been shipped in 12.1 and 12.2 release and will be in 13.0 release. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 15:15:16 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7207E57A03C for ; Tue, 30 Mar 2021 15:15:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8tKw2LgFz4s97 for ; Tue, 30 Mar 2021 15:15:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5080E579F36; Tue, 30 Mar 2021 15:15:16 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5042F57A0A1 for ; Tue, 30 Mar 2021 15:15:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8tKw1jdvz4rnM for ; Tue, 30 Mar 2021 15:15:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 2DCD3B26 for ; Tue, 30 Mar 2021 15:15:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12UFFGwm065974 for ; Tue, 30 Mar 2021 15:15:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UFFGnp065973 for net@FreeBSD.org; Tue, 30 Mar 2021 15:15:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic Date: Tue, 30 Mar 2021 15:15:16 +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: 11.2-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freqlabs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12+ mfc-stable11+ X-Bugzilla-Changed-Fields: flagtypes.name 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 15:15:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235700 Ryan Moeller changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable12?, |mfc-stable12+, |mfc-stable11? |mfc-stable11+ --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 15:47:48 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D5B657B349 for ; Tue, 30 Mar 2021 15:47:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8v3S211Hz4vQ6 for ; Tue, 30 Mar 2021 15:47:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4330857B38D; Tue, 30 Mar 2021 15:47:48 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 42FB357B0CE for ; Tue, 30 Mar 2021 15:47:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8v3S19Nwz4vFF for ; Tue, 30 Mar 2021 15:47:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1B8DDFB9 for ; Tue, 30 Mar 2021 15:47:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12UFlm6U080518 for ; Tue, 30 Mar 2021 15:47:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UFlmUF080517 for net@FreeBSD.org; Tue, 30 Mar 2021 15:47:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Tue, 30 Mar 2021 15:47:47 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 15:47:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #14 from Michael Tuexen --- I agree with Richard that we know he issue and the patches from Richard sho= uld address the problem. However, I would like to understand why net.inet.tcp.hostcache.count > net.inet.tcp.hostcache.cachelimit can happen. Could you post what tunings y= ou exactly do (in loader.conf and or sysctl.conf) in relation to the hostcache? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 16:53:25 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75DC457D43D for ; Tue, 30 Mar 2021 16:53:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8wW92kc1z50Jw for ; Tue, 30 Mar 2021 16:53:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5BE4B57D2C5; Tue, 30 Mar 2021 16:53:25 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A6E757D27B for ; Tue, 30 Mar 2021 16:53:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8wW91qzgz500l for ; Tue, 30 Mar 2021 16:53:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 321941E1E for ; Tue, 30 Mar 2021 16:53:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12UGrPqZ015620 for ; Tue, 30 Mar 2021 16:53:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UGrPeB015619 for net@FreeBSD.org; Tue, 30 Mar 2021 16:53:25 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Tue, 30 Mar 2021 16:53:24 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 16:53:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #15 from Michael Tuexen --- Could you also post for the output of netstat -sptcp the two lines with counters for hostcache entries added and bucket overflow. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 17:27:03 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8288F57EA86 for ; Tue, 30 Mar 2021 17:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8xFz309wz52FX for ; Tue, 30 Mar 2021 17:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6697E57E938; Tue, 30 Mar 2021 17:27:03 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6653E57E937 for ; Tue, 30 Mar 2021 17:27:03 +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 4F8xFz29ylz52FW for ; Tue, 30 Mar 2021 17:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1B730251A for ; Tue, 30 Mar 2021 17:27:03 +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 12UHR31P030447 for ; Tue, 30 Mar 2021 17:27:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UHR3DS030446 for net@FreeBSD.org; Tue, 30 Mar 2021 17:27:03 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Tue, 30 Mar 2021 17:27:02 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 17:27:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #16 from Michael Tuexen --- Please note that you should not be able to set the net.inet.tcp.hostcache.cachelimit too high. It is set automatically to net.inet.tcp.hostcache.bucketlimit * net.inet.tcp.hostcache.hashsize and you should only the able to reduce it. If you provide a larger value in /boot/loader.conf, the setting should be ignored and the above default shou= ld be used. The setting you show indicates that you set net.inet.tcp.hostcache.hashsize= to 65536, leave net.inet.tcp.hostcache.bucketlimit at the default of 30, and t= he net.inet.tcp.hostcache.cachelimit is set automatically. However, net.inet.tcp.hostcache.count should always be between 0 (inclusive) and net.inet.tcp.hostcache.cachelimit (inclusive). So I would really like to understand how you end up with such a large net.inet.tcp.hostcache.count. This really blows up the sysctl operation, si= nce the code wants to allocate linesize * (V_tcp_hostcache.cache_count + 1) byt= es, which is much higher than the limit Richard computed... --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 20:06:08 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E8CDD5AC0B7 for ; Tue, 30 Mar 2021 20:06:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F90nX65Z7z3Gs8 for ; Tue, 30 Mar 2021 20:06:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CF2C65ABC6F; Tue, 30 Mar 2021 20:06:08 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CEF0E5ABC6E for ; Tue, 30 Mar 2021 20:06:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F90nX5Njjz3HCd for ; Tue, 30 Mar 2021 20:06:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A805A48B9 for ; Tue, 30 Mar 2021 20:06:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12UK68tb011652 for ; Tue, 30 Mar 2021 20:06:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UK68xD011651 for net@FreeBSD.org; Tue, 30 Mar 2021 20:06:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Tue, 30 Mar 2021 20:06:08 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rscheff@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 20:06:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #17 from Richard Scheffenegger --- net.inet.tcp.hostcache.count: 4294966447 is -849 (decimal). tcp_hc_purge_internal decrements hostcache.count unconditionally, and would= be=20 the most likely candidate where that counter can rapidely go negative (beco= ming a huge uint32). All the adjustments to hch_length, cache_count and actual add/dels from hashbuckets appear to be symmetric. One more hint (more operationally): if you have high "hostcache buffer-overflows" in 'netstat -snp tcp' you my want to tweak the bucket size rather than the hashsize. Unfortunately, the hostcache does not currently provide insight if a wider hashsize, or a deeper bucketlimit would be preferrential for your workload.= .. (you would probably want a histogram of #buckets of length "n". If that histogram shows few deeply used buckets, but most buckets empty or sparsely used, a narrower hashsize with deeper buckets may be more optimal space use. If most buckets are mostly used, a wider hashsize may be preferrably over deeper buckets... --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 21:20:07 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5E8EE5AD8EC for ; Tue, 30 Mar 2021 21:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F92Qv1bpyz3MQ7 for ; Tue, 30 Mar 2021 21:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 345A15AE12F; Tue, 30 Mar 2021 21:20:07 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 341355ADFC3 for ; Tue, 30 Mar 2021 21:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F92Qt6ZP7z3Mkt for ; Tue, 30 Mar 2021 21:20:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 D506E55F9 for ; Tue, 30 Mar 2021 21:20:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12ULK62n049467 for ; Tue, 30 Mar 2021 21:20:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12ULK69a049465 for net@FreeBSD.org; Tue, 30 Mar 2021 21:20:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Tue, 30 Mar 2021 21:20:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 21:20:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #18 from Michael Tuexen --- (In reply to Richard Scheffenegger from comment #17) But tcp_hc_purge_internal() decrements the counter when it removes an entry= and frees it. I double checked the code and I think the counter is handled correctly. I did look for an underflow, but I could not find it... If the hash buckets are used highly un-symmetric, I wouldn't suggest to use larger buckets. That results in long processing time. In that case I would suggest to use a better hash algorithm. But this is not the issue right now. I do see two problems: 1. Using a large amount of memory when exporting the list. 2. The counter being off. The first issue is solved by the patches you are working on. The second issue without your patches results in a memory amount which can'= t be allocated and therefor triggers the problem. The second issue with you patc= hes in place will still result in not adding any new entries to the host cache anymore, since the number counter is than larger than the limit. For the counter having such a large value could happen when there is an underflow. But I don't see how it can happen. For me it looks like the glob= al and the bucket counter are handled correctly. I also looked at the 11.4 cod= e, but I see no issue. Since the statement is that this happens every 3 to 4 month, it must be a r= are event. Or some other code is writing in the memory location where the count= er is... Richard: Do you see a way how the counter could be off? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 22:27:32 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A26A5B0694 for ; Tue, 30 Mar 2021 22:27:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F93wh3pVNz3hbD for ; Tue, 30 Mar 2021 22:27:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 80E995B05CC; Tue, 30 Mar 2021 22:27:32 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 80AAC5B0691 for ; Tue, 30 Mar 2021 22:27:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F93wh37bkz3hkW for ; Tue, 30 Mar 2021 22:27:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 507656733 for ; Tue, 30 Mar 2021 22:27:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12UMRWcn085388 for ; Tue, 30 Mar 2021 22:27:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UMRWV9085387 for net@FreeBSD.org; Tue, 30 Mar 2021 22:27:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Tue, 30 Mar 2021 22:27:32 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rscheff@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 22:27:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #19 from Richard Scheffenegger --- (In reply to Michael Tuexen from comment #18) > Richard: Do you see a way how the counter could be off? Unfortunately not. I was thinking about adding KASSERTS when the counter is about to be decremented, but is already zero... Or simply reset all the counters to zero (hch_length, cache_count) when a purgeall is being performed, to return to a "known good" state. The only feasible way I can thing of right now, would be if the hostcache settings are changed dynamically, while the hostcache is already populated = with some entries. That may leave the hc_bucket full, but the counters off... But all the normal processing of the accounting variables look good. > But tcp_hc_purge_internal() decrements the counter when it removes an > entry and frees it. I double checked the code and I think the counter > is handled correctly. I did look for an underflow, but I could not > find it... > I also looked at the 11.4 code, but I see no issue. The diff between 11.4 and HEAD is minuscle. None of the logic has changed (meaning this very same issue could potentially still be impacting HEAD). > If the hash buckets are used highly un-symmetric, I wouldn't suggest > to use larger buckets. That results in long processing time. In that > case I would suggest to use a better hash algorithm. But this is not > the issue right now. Correct. (A different salt during hashing may also help. Frequently used entries do percholate to the head of the TAILQ, though.) > For the counter having such a large value could happen when there is > an underflow. But I don't see how it can happen. For me it looks like > the global and the bucket counter are handled correctly.=20 Still, a underflow is more likely than an overflow. > Since the statement is that this happens every 3 to 4 month, it must > be a rare event. Or some other code is writing in the memory location > where the counter is... KASSERTS for safety? (And an eventual core to potentially analyze) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 30 22:53:02 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 85EF45B11DB for ; Tue, 30 Mar 2021 22:53:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F94V635mnz3k73 for ; Tue, 30 Mar 2021 22:53:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 681E65B152B; Tue, 30 Mar 2021 22:53:02 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 67EA65B1625 for ; Tue, 30 Mar 2021 22:53: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 4F94V62QZJz3k72 for ; Tue, 30 Mar 2021 22:53:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 469746D33 for ; Tue, 30 Mar 2021 22:53: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 12UMr2v8099081 for ; Tue, 30 Mar 2021 22:53:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12UMr206099080 for net@FreeBSD.org; Tue, 30 Mar 2021 22:53: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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Tue, 30 Mar 2021 22:53:01 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 22:53:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #20 from Michael Tuexen --- (In reply to Richard Scheffenegger from comment #19) As far as I can see, it is impossible to change the cache config at runtime, the relevant variables are all only settable in /boot/loader.conf. Not sure if KASSERTs help in this case, since I doubt that the reporter is willing to run a debug kernel. In general, they could be added, but it woul= d be more helpful to understand how to trigger the issue (except for memory corruption). --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 06:17:56 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C0E365BC5A6 for ; Wed, 31 Mar 2021 06:17:56 +0000 (UTC) (envelope-from vmaffione@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 4F9GMS5360z4dkG; Wed, 31 Mar 2021 06:17:56 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: vmaffione) by smtp.freebsd.org (Postfix) with ESMTPSA id 9D9B253F6; Wed, 31 Mar 2021 06:17:56 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: by mail-pj1-f44.google.com with SMTP id lr1-20020a17090b4b81b02900ea0a3f38c1so2496902pjb.0; Tue, 30 Mar 2021 23:17:56 -0700 (PDT) X-Gm-Message-State: AOAM533IptfTuXZ4Tc60HT0Lqm+2dWTB1o5x6koFpjbmqj35YHJrVUs4 S5CqDH7+S4R0vBvWK6nwKAcTlWJIvKkoMV6VVjU= X-Google-Smtp-Source: ABdhPJzR2ietTtPbEkbl/Rv7f5vANpb103uFpI9afn7zCpflG4R7Vp529Mi90Rzmk0FQnp2HTW1nEghY2JVxaSb6awQ= X-Received: by 2002:a17:90b:310b:: with SMTP id gc11mr1962169pjb.186.1617171474455; Tue, 30 Mar 2021 23:17:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vincenzo Maffione Date: Wed, 31 Mar 2021 08:17:43 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ixl netmap TX queue remains full To: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Cc: FreeBSD Net , krzysztof.galazka@intel.com, gowtham.kumar.ks@intel.com, erj@freebsd.org, jeffrey.e.pieper@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 06:17:56 -0000 Hi =C3=96zkan, I'm glad that worked. Nevertheless, there must be an issue lurking around in the ixl driver code, affecting the case enable_head_writeback=3D=3D1. It may be related to the fact that https://reviews.freebsd.org/D26896 causes issues, even though it looks a legitimate change. Cheers, Vincenzo Il giorno mar 30 mar 2021 alle ore 08:56 =C3=96zkan KIRIK ha scritto: > Hello Vincenzo, > > Before your email, hw.ixl.enable_head_writeback =3D 1. After your > suggestion, i set the hw.ixl.enable_head_writeback =3D 0. then it works > properly. > > Thank you so much > > Cheers > =C3=96zkan > > On Tue, Mar 30, 2021 at 9:22 AM Vincenzo Maffione > wrote: > >> Hi, >> Could this be related to >> https://reviews.freebsd.org/D26896? >> >> Moreover, what happens if you switch the enable_head_writeback sysctl? >> >> Cheers, >> Vincenzo >> >> Il giorno lun 29 mar 2021 alle ore 10:36 =C3=96zkan KIRIK < >> ozkan.kirik@gmail.com> ha scritto: >> >>> Hello, >>> >>> I hit problems about ixl driver's netmap support. I have no problems wi= th >>> ixgbe. >>> The problem is tested with FreeBSD 12.2-p5 and FreeBSD 13.0-RC3. >>> >>> ixl in netmap mode, it works with low throughput (about 2 Gbps) for 20-= 30 >>> seconds. And then TX queue remains full. poll with POLLOUT and even >>> ioctl(fd, NIOCTXSYNC) does not work. So that nic stops working. >>> >>> Same netmap software with ixgbe has no problems. >>> >>> pciconf -lv output: >>> ixl0@pci0:183:0:0: class=3D0x020000 card=3D0x37d215d9 chip=3D0x37d28086 >>> rev=3D0x04 >>> hdr=3D0x00 >>> vendor =3D 'Intel Corporation' >>> device =3D 'Ethernet Connection X722 for 10GBASE-T' >>> class =3D network >>> subclass =3D ethernet >>> ixl1@pci0:183:0:1: class=3D0x020000 card=3D0x37d215d9 chip=3D0x37d28086 >>> rev=3D0x04 >>> hdr=3D0x00 >>> vendor =3D 'Intel Corporation' >>> device =3D 'Ethernet Connection X722 for 10GBASE-T' >>> class =3D network >>> subclass =3D ethernet >>> ixl2@pci0:183:0:2: class=3D0x020000 card=3D0x37d015d9 chip=3D0x37d08086 >>> rev=3D0x04 >>> hdr=3D0x00 >>> vendor =3D 'Intel Corporation' >>> device =3D 'Ethernet Connection X722 for 10GbE SFP+' >>> class =3D network >>> subclass =3D ethernet >>> ixl3@pci0:183:0:3: class=3D0x020000 card=3D0x37d015d9 chip=3D0x37d08086 >>> rev=3D0x04 >>> hdr=3D0x00 >>> vendor =3D 'Intel Corporation' >>> device =3D 'Ethernet Connection X722 for 10GbE SFP+' >>> class =3D network >>> subclass =3D ethernet >>> >>> Best regards >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>> >> From owner-freebsd-net@freebsd.org Wed Mar 31 07:09:03 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E09105BD54C for ; Wed, 31 Mar 2021 07:09:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9HVR5r1Kz4gZL for ; Wed, 31 Mar 2021 07:09:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C66CA5BD54B; Wed, 31 Mar 2021 07:09:03 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C63AF5BD802 for ; Wed, 31 Mar 2021 07:09:03 +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 4F9HVR5B3Pz4grS for ; Wed, 31 Mar 2021 07:09:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A3E7615795 for ; Wed, 31 Mar 2021 07:09:03 +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 12V793Mv054717 for ; Wed, 31 Mar 2021 07:09:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12V793ke054716 for net@FreeBSD.org; Wed, 31 Mar 2021 07:09:03 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Wed, 31 Mar 2021 07:09:03 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 07:09:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #21 from Michael Tuexen --- One potential issue came up to my mind: The hch_length is protected by the hch_mtx. But which mutex is protecting the cache_count? Could that be an issue? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 11:18:09 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 971C05C3F62 for ; Wed, 31 Mar 2021 11:18:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9P1s3kJrz4vnD for ; Wed, 31 Mar 2021 11:18:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7FDF25C3F61; Wed, 31 Mar 2021 11:18:09 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7FA0C5C422D for ; Wed, 31 Mar 2021 11:18:09 +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 4F9P1s359cz3Bqh for ; Wed, 31 Mar 2021 11:18:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 596B1185C9 for ; Wed, 31 Mar 2021 11:18:09 +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 12VBI9Gb083726 for ; Wed, 31 Mar 2021 11:18:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VBI92p083725 for net@FreeBSD.org; Wed, 31 Mar 2021 11:18:09 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 254675] ICMP Unreach needfrag is broken in 13.0-RC4 Date: Wed, 31 Mar 2021 11:18:09 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: afedorov@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 11:18:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254675 Aleksandr Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melifaro@FreeBSD.org, | |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 13:05:24 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 12C665C7842 for ; Wed, 31 Mar 2021 13:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9RPb6dsJz3K17 for ; Wed, 31 Mar 2021 13:05:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E19325C74D6; Wed, 31 Mar 2021 13:05:23 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E017F5C74D5 for ; Wed, 31 Mar 2021 13:05:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9RPb5q0tz3KRd for ; Wed, 31 Mar 2021 13:05:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B711419B74 for ; Wed, 31 Mar 2021 13:05:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12VD5NMI039580 for ; Wed, 31 Mar 2021 13:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VD5Ncr039579 for net@FreeBSD.org; Wed, 31 Mar 2021 13:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254675] ICMP Unreach needfrag is broken in 13.0-RC4 Date: Wed, 31 Mar 2021 13:05:23 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: afedorov@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 13:05:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254675 --- Comment #1 from Aleksandr Fedorov --- This is very funny: root@GW_13RC4:~ # tcpdump -i lo0 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on lo0, link-type NULL (BSD loopback), capture size 262144 bytes 15:32:30.655851 IP localhost > : ICMP unreachable - need to frag (mtu 1500), length 576 15:32:30.693492 IP localhost > : ICMP unreachable - need to frag (mtu 1500), length 576 15:32:30.713231 IP localhost > : ICMP unreachable - need to frag (mtu 1500), length 576 So, ICMP packets were sent, but from localhost to localhost. It seems that the 12.2-RELEASE checks the packet size before NAT, but the 13-RC4 after. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 17:19:12 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C6E325A9124 for ; Wed, 31 Mar 2021 17:19:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9Y2S55SFz3tB0 for ; Wed, 31 Mar 2021 17:19:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AE9955A8DCE; Wed, 31 Mar 2021 17:19:12 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AE6015A8D3F for ; Wed, 31 Mar 2021 17:19: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 4F9Y2S4Svpz3tLw for ; Wed, 31 Mar 2021 17:19:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 8C9061D428 for ; Wed, 31 Mar 2021 17:19:12 +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 12VHJC29069286 for ; Wed, 31 Mar 2021 17:19:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VHJCdx069285 for net@FreeBSD.org; Wed, 31 Mar 2021 17:19:12 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Wed, 31 Mar 2021 17:19:12 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 17:19:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #22 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dc804c8f2c58ba42d476de07fbceff9ac4= dd95f0e commit c804c8f2c58ba42d476de07fbceff9ac4dd95f0e Author: Richard Scheffenegger AuthorDate: 2021-03-31 16:25:53 +0000 Commit: Richard Scheffenegger CommitDate: 2021-03-31 17:17:37 +0000 Export sbuf_drain to orchestrate lock and drain action While exporting large amounts of data to a sysctl request, datastructures may need to be locked. Exporting the sbuf_drain function allows the coordination between drain events and held locks, to avoid stalls. PR: 254333 Reviewed By: jhb MFC after: 2 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D29481 sys/kern/subr_sbuf.c | 2 +- sys/sys/sbuf.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 17:26:15 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BCF655A9912 for ; Wed, 31 Mar 2021 17:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9YBb4bLMz3v6D for ; Wed, 31 Mar 2021 17:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9C9F35A989E; Wed, 31 Mar 2021 17:26:15 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9C6785A989C for ; Wed, 31 Mar 2021 17:26: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 4F9YBb3w2Rz3v1D for ; Wed, 31 Mar 2021 17:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 78B471D635 for ; Wed, 31 Mar 2021 17:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12VHQFcN073282 for ; Wed, 31 Mar 2021 17:26:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VHQFOE073281 for net@FreeBSD.org; Wed, 31 Mar 2021 17:26:15 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Wed, 31 Mar 2021 17:26:15 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 17:26:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #23 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D869880463cc2ce64e2e6599eaec880a98= 1f3ced6 commit 869880463cc2ce64e2e6599eaec880a981f3ced6 Author: Richard Scheffenegger AuthorDate: 2021-03-31 17:24:01 +0000 Commit: Richard Scheffenegger CommitDate: 2021-03-31 17:24:21 +0000 tcp: drain tcp_hostcache_list in between per-bucket locks Explicitly drain the sbuf after completing each hash bucket to minimize the work performed while holding the hash bucket lock. PR: 254333 MFC after: 2 weeks Reviewed By: tuexen, jhb, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D29483 sys/netinet/tcp_hostcache.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 18:25:26 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0EC835AB6CC for ; Wed, 31 Mar 2021 18:25:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9ZVs5zBTz4SW3 for ; Wed, 31 Mar 2021 18:25:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CCE355AB565; Wed, 31 Mar 2021 18:25:25 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC90B5AB402 for ; Wed, 31 Mar 2021 18:25:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9ZVs3PFWz4SYg for ; Wed, 31 Mar 2021 18:25:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 67AD61E13C for ; Wed, 31 Mar 2021 18:25:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12VIPPWw006136 for ; Wed, 31 Mar 2021 18:25:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VIPPB4006135 for net@FreeBSD.org; Wed, 31 Mar 2021 18:25:25 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 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Wed, 31 Mar 2021 18:25:24 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 18:25:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #24 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D95e56d31e348594973affd0ea81d8f838= 3bc3031 commit 95e56d31e348594973affd0ea81d8f8383bc3031 Author: Richard Scheffenegger AuthorDate: 2021-03-31 17:30:20 +0000 Commit: Richard Scheffenegger CommitDate: 2021-03-31 18:24:13 +0000 tcp: Make hostcache.cache_count MPSAFE by using a counter_u64_t Addressing the underlying root cause for cache_count to show unexpectedly high values, by protecting all arithmetic on that global variable by using counter(9). PR: 254333 Reviewed By: tuexen, #transport MFC after: 2 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D29510 sys/netinet/tcp_hostcache.c | 20 ++++++++++++-------- sys/netinet/tcp_hostcache.h | 20 ++++++++++---------- 2 files changed, 22 insertions(+), 18 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 18:55:25 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 581BB5AC758 for ; Wed, 31 Mar 2021 18:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9b9T1sL1z4VSL for ; Wed, 31 Mar 2021 18:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3FD135AC430; Wed, 31 Mar 2021 18:55:25 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F9BD5AC7A0 for ; Wed, 31 Mar 2021 18:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9b9T1DDKz4VGn for ; Wed, 31 Mar 2021 18:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 177DB1E9C6 for ; Wed, 31 Mar 2021 18:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12VItPRh019438 for ; Wed, 31 Mar 2021 18:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VItPLD019437 for net@FreeBSD.org; Wed, 31 Mar 2021 18:55:25 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 223407] [patch] etc/network.subr invalidates -auto_linklocal ifconfig flag set via rc.conf Date: Wed, 31 Mar 2021 18:55:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 18:55:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223407 --- Comment #4 from Eugene Grosbein --- Is this problem still actual? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 19:48:19 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F1975AD4D5 for ; Wed, 31 Mar 2021 19:48:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9cLV6kllz4Y3Q for ; Wed, 31 Mar 2021 19:48:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E71785AD4D4; Wed, 31 Mar 2021 19:48:18 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E6DE55AD4D3 for ; Wed, 31 Mar 2021 19:48:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9cLV691Qz4Xhp for ; Wed, 31 Mar 2021 19:48:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 C6EAA1F16F for ; Wed, 31 Mar 2021 19:48:18 +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 12VJmIOE047347 for ; Wed, 31 Mar 2021 19:48:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VJmIIv047346 for net@FreeBSD.org; Wed, 31 Mar 2021 19:48:18 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 220468] libfetch: Does not handle 407 (proxy auth) when connecting to HTTPS using connect tunnel Date: Wed, 31 Mar 2021 19:48:15 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: garga@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 19:48:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220468 --- Comment #14 from Renato Botelho --- I just want to note that this bug still happens and this patch still works.= We added it to pfSense to fix a problem reported by our users --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 20:04:41 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 562C35AE50A for ; Wed, 31 Mar 2021 20:04:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9cjP1pC5z4Ycf for ; Wed, 31 Mar 2021 20:04:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3DC795AE279; Wed, 31 Mar 2021 20:04:41 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3D8D25AE3B5 for ; Wed, 31 Mar 2021 20:04: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 4F9cjP1C6zz4Ycd for ; Wed, 31 Mar 2021 20:04:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 188CA1F56F for ; Wed, 31 Mar 2021 20:04: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 12VK4fht055742 for ; Wed, 31 Mar 2021 20:04:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VK4f7Q055741 for net@FreeBSD.org; Wed, 31 Mar 2021 20:04: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 254675] ICMP Unreach needfrag is broken in 13.0-RC4 Date: Wed, 31 Mar 2021 20:04:41 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 20:04:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254675 Marek Zarychta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarychtam@plan-b.pwste.edu. | |pl --- Comment #2 from Marek Zarychta --- It looks like PF's behaviour has changed with regard to loopback interfaces. Could this observation[1] be relevant to the breakage reported in this PR? [1] https://lists.freebsd.org/pipermail/freebsd-pf/2021-February/009390.html --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 20:09:41 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BBA4B5AE70A for ; Wed, 31 Mar 2021 20:09:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9cq94W6Sz4ZL0 for ; Wed, 31 Mar 2021 20:09:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9AABC5AE475; Wed, 31 Mar 2021 20:09:41 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A68D5AE5F4 for ; Wed, 31 Mar 2021 20:09: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 4F9cq93p7Dz4Z4n for ; Wed, 31 Mar 2021 20:09:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 72C251F571 for ; Wed, 31 Mar 2021 20:09: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 12VK9fw2056811 for ; Wed, 31 Mar 2021 20:09:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VK9f5S056810 for net@FreeBSD.org; Wed, 31 Mar 2021 20:09:41 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 254303] Fatal trap 12: page fault while in kernel mode ((frr 7.5_1 + Freebsd 13 Beta3) zebra crashes server when routes are populated) Date: Wed, 31 Mar 2021 20:09:41 +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: Unspecified X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 20:09:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254303 --- Comment #21 from commit-hook@FreeBSD.org --- A commit in branch releng/13.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db7fbdb5042c619221ee0b97573affcb8b= cb59458 commit b7fbdb5042c619221ee0b97573affcb8bcb59458 Author: Alexander V. Chernikov AuthorDate: 2021-03-29 23:00:17 +0000 Commit: Alexander V. Chernikov CommitDate: 2021-03-31 20:00:10 +0000 Fix nexhtop group index array scaling. The current code has the limit of 127 nexthop groups due to the wrongly-checked bitmask_copy() return value. PR: 254303 Reported by: Aleks Approved by: re (gjb) (cherry picked from commit 923e7f7e12670e97b097a195e69c848a6e8773a2) sys/net/route/nhgrp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 20:35:44 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4E1A35AFD08 for ; Wed, 31 Mar 2021 20:35:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9dPD1YkYz4cPm for ; Wed, 31 Mar 2021 20:35:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 33C5D5AF7D5; Wed, 31 Mar 2021 20:35:44 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 338D75AFD07 for ; Wed, 31 Mar 2021 20:35:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9dPD0knxz4c0t for ; Wed, 31 Mar 2021 20:35:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 0C4B220097 for ; Wed, 31 Mar 2021 20:35:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12VKZhMo074457 for ; Wed, 31 Mar 2021 20:35:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VKZh1H074456 for net@FreeBSD.org; Wed, 31 Mar 2021 20:35: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 254675] ICMP Unreach needfrag is broken in 13.0-RC4 Date: Wed, 31 Mar 2021 20:35:44 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 20:35:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254675 --- Comment #3 from Alexander V. Chernikov --- For the context, we have switched fastforwarding on by default: https://cgit.freebsd.org/src/commit/?id=3D8ad114c082a159c0dde95aa35d2e3e108= aa30a75 In 12.2 the codepath was ip_input() -> ip_forward() -> ip_output(), where ip_forward() created mbuf copy for the purposes of generating various ICMP messages. Fastforward code currently don't do this for performance reasons, except for the redirect usecase. As a result, we use (possibly altered) packet to generate the redirect. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 21:03:03 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0699F5B0C09 for ; Wed, 31 Mar 2021 21:03:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9f0k6bV0z4f0W for ; Wed, 31 Mar 2021 21:03:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E22945B0BC3; Wed, 31 Mar 2021 21:03:02 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E1F3B5B0D01 for ; Wed, 31 Mar 2021 21:03: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 4F9f0k61M6z4f7b for ; Wed, 31 Mar 2021 21:03:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 C1079202D9 for ; Wed, 31 Mar 2021 21:03: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 12VL32Lm089516 for ; Wed, 31 Mar 2021 21:03:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VL32rX089515 for net@FreeBSD.org; Wed, 31 Mar 2021 21:03: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 254675] ICMP Unreach needfrag is broken in 13.0-RC4 Date: Wed, 31 Mar 2021 21:03:02 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: melifaro@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 21:03:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254675 Alexander V. Chernikov 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. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 21:18:38 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D0765B115F for ; Wed, 31 Mar 2021 21:18:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9fLk0bxrz4fhQ for ; Wed, 31 Mar 2021 21:18:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 14AB65B1358; Wed, 31 Mar 2021 21:18:38 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 147595B115E for ; Wed, 31 Mar 2021 21:18:38 +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 4F9fLk019Rz4fnS for ; Wed, 31 Mar 2021 21:18:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 E52CE208E8 for ; Wed, 31 Mar 2021 21:18:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12VLIbvJ095390 for ; Wed, 31 Mar 2021 21:18:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VLIbJG095389 for net@FreeBSD.org; Wed, 31 Mar 2021 21:18:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238707] [PATCH][LOR] Lock order reversal: rtentry vs "nd6 list" Date: Wed, 31 Mar 2021 21:18:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: melifaro@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 21:18:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238707 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|melifaro@FreeBSD.org |net@FreeBSD.org --- Comment #5 from Alexander V. Chernikov --- For the record, there is no rtentry lock anymore in 13+. However, it may still be the case with 11/12. I don't currently have cycles to look into 12/ code, so returning to the po= ol --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 22:31:08 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 188415B2BEA for ; Wed, 31 Mar 2021 22:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9gyM74Rcz4kRH for ; Wed, 31 Mar 2021 22:31:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F08F55B2F30; Wed, 31 Mar 2021 22:31:07 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F04C25B30A2 for ; Wed, 31 Mar 2021 22:31:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9gyM6PHtz4kcd for ; Wed, 31 Mar 2021 22:31:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 CEED021B01 for ; Wed, 31 Mar 2021 22:31:07 +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 12VMV7EI033752 for ; Wed, 31 Mar 2021 22:31:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VMV7t1033751 for net@FreeBSD.org; Wed, 31 Mar 2021 22:31:07 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 254623] traceroute6: ICMP6 no longer works due to Capsicum'ization: data too short (-1 bytes) from invalid Date: Wed, 31 Mar 2021 22:31:07 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 22:31:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |markj@FreeBSD.org --- Comment #5 from Mark Johnston --- Looking. The patch works for me in a simple test but I don't quite underst= and why. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 31 22:41:35 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1A3E15B3866 for ; Wed, 31 Mar 2021 22:41:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9hBR02gvz4lLH for ; Wed, 31 Mar 2021 22:41:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 015745B3864; Wed, 31 Mar 2021 22:41:35 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 011DC5B3685 for ; Wed, 31 Mar 2021 22:41:35 +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 4F9hBQ6Xy3z4l9T for ; Wed, 31 Mar 2021 22:41:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 D4141215E7 for ; Wed, 31 Mar 2021 22:41:34 +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 12VMfYep040811 for ; Wed, 31 Mar 2021 22:41:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12VMfYEw040810 for net@FreeBSD.org; Wed, 31 Mar 2021 22:41:34 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 254623] traceroute6: ICMP6 no longer works due to Capsicum'ization: data too short (-1 bytes) from invalid Date: Wed, 31 Mar 2021 22:41:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 22:41:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 --- Comment #6 from Mark Johnston --- Ugh, we don't limit rights on rcvsock. Thanks for catching this. Please g= ive this a try: https://reviews.freebsd.org/D29523 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Apr 1 02:01:53 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 053FB5B8169 for ; Thu, 1 Apr 2021 02:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9mdX6WvWz3CMg for ; Thu, 1 Apr 2021 02:01:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DFF705B83C3; Thu, 1 Apr 2021 02:01:52 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DFBC75B8751 for ; Thu, 1 Apr 2021 02:01:52 +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 4F9mdX5w86z3CVn for ; Thu, 1 Apr 2021 02:01:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 BE30D2423F for ; Thu, 1 Apr 2021 02:01:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 13121q2q042602 for ; Thu, 1 Apr 2021 02:01:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13121qeZ042601 for net@FreeBSD.org; Thu, 1 Apr 2021 02:01:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 225792] ECMP is broken since tryforward() Date: Thu, 01 Apr 2021 02:01:51 +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: 11.0-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12- mfc-stable11- X-Bugzilla-Changed-Fields: resolution bug_status flagtypes.name 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 02:01:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225792 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|Open |Closed Flags|mfc-stable12?, |mfc-stable12-, |mfc-stable11? |mfc-stable11- --- Comment #8 from Kubilay Kocak --- ^Triage: Resolved (partial OBE) via new ROUTE_MPATH (13), without merge to stable 12/11, so it doesn't resolve the issue as reported (for 11.x). If th= is is inaccurate, please re-open the issue with additional details. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Apr 1 04:44:34 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C4DC5BC147 for ; Thu, 1 Apr 2021 04:44:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9rFG3N3pz3M7R for ; Thu, 1 Apr 2021 04:44:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 73D905BC191; Thu, 1 Apr 2021 04:44:34 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73A355BC05A for ; Thu, 1 Apr 2021 04:44:34 +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 4F9rFG2m8Gz3M52 for ; Thu, 1 Apr 2021 04:44:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 51F9426346 for ; Thu, 1 Apr 2021 04:44:34 +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 1314iYQq030463 for ; Thu, 1 Apr 2021 04:44:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1314iYHd030462 for net@FreeBSD.org; Thu, 1 Apr 2021 04:44:34 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 254623] traceroute6: ICMP6 no longer works due to Capsicum'ization: data too short (-1 bytes) from invalid Date: Thu, 01 Apr 2021 04:44:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei.huang@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 04:44:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 --- Comment #7 from Zhenlei Huang --- (In reply to Mark Johnston from comment #6) The patch D29523 works greatly :) I do not have a FreeBSD phabricator account, and just registered one and the account is not approved yet. So I comment directly here. Summary from review D29523: > For ICMP6 we were using the same socket for both, and we limited rights on the socket such that it's impossible to receive anything. At first glance it seems the regression was due to no sufficient rights on receiving socket, and I tried setting CAP_RECV on the receiving socket with= out luck, I also tried disabling capsicum entirely and it behaves the same. So = the root cause is not no sufficient rights on receiving socket.=20 Limit rights on the recv socket is great :) PS, man of cap_rights_limit gives an example entering capability mode before limiting rights. I tried setting CAP_RECV on recv socket after entering capability mode it also works greatly :-) I'm not familiar with capsicum a= nd it's pleasant if someone clarify this. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Apr 1 08:04:08 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A6395C3298 for ; Thu, 1 Apr 2021 08:04:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9wgX2ZTgz4sk2 for ; Thu, 1 Apr 2021 08:04:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 554605C2DF6; Thu, 1 Apr 2021 08:04:08 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 54CC25C311D for ; Thu, 1 Apr 2021 08:04:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9wgW68mJz4svQ for ; Thu, 1 Apr 2021 08:04:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 8CD3A1134 for ; Thu, 1 Apr 2021 08:04: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 131845LS032912 for ; Thu, 1 Apr 2021 08:04:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 131845Ed032911 for net@FreeBSD.org; Thu, 1 Apr 2021 08:04:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs Date: Thu, 01 Apr 2021 08:04:05 +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: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rscheff@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 08:04:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333 --- Comment #25 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D529a2a0f2765f6c57c50a5af6be242c03= bf714e3 commit 529a2a0f2765f6c57c50a5af6be242c03bf714e3 Author: Richard Scheffenegger AuthorDate: 2021-04-01 08:00:32 +0000 Commit: Richard Scheffenegger CommitDate: 2021-04-01 08:03:30 +0000 tcp: For hostcache performance, use atomics instead of counters As accessing the tcp hostcache happens frequently on some classes of servers, it was recommended to use atomic_add/subtract rather than (per-CPU distributed) counters, which have to be summed up at high cost to cache efficiency. PR: 254333 MFC after: 2 weeks Sponsored by: NetApp, Inc. Reviewed By: #transport, tuexen, jtl Differential Revision: https://reviews.freebsd.org/D29522 sys/netinet/tcp_hostcache.c | 24 +++++++++++------------- sys/netinet/tcp_hostcache.h | 2 +- 2 files changed, 12 insertions(+), 14 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Apr 1 14:01:53 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C83F5CFB56 for ; Thu, 1 Apr 2021 14:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB4cK1N6bz3r7J for ; Thu, 1 Apr 2021 14:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2F2065CF96D; Thu, 1 Apr 2021 14:01:53 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2EDF25CFBB4 for ; Thu, 1 Apr 2021 14:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB4cK0hXQz3r5D for ; Thu, 1 Apr 2021 14:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 0AAB25E5B for ; Thu, 1 Apr 2021 14:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 131E1qKJ020753 for ; Thu, 1 Apr 2021 14:01:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 131E1qmX020752 for net@FreeBSD.org; Thu, 1 Apr 2021 14:01:52 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 254623] traceroute6: ICMP6 no longer works due to Capsicum'ization: data too short (-1 bytes) from invalid Date: Thu, 01 Apr 2021 14:01:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 14:01:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 --- Comment #8 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db8ae450f05e62a851f444edaf7db2506f= f99aa37 commit b8ae450f05e62a851f444edaf7db2506ff99aa37 Author: Mark Johnston AuthorDate: 2021-04-01 13:58:32 +0000 Commit: Mark Johnston CommitDate: 2021-04-01 14:00:29 +0000 traceroute6: Fix Capsicum rights for rcvsock - Always use distinct sockets for send and recv - Limit rights on the recv socket For ICMP6 we were using the same socket for both send and receive, and we limited rights on the socket such that it's impossible to receive anything. PR: 254623 Diagnosed by: Zhenlei Huang Reviewed by: oshogbo MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D29523 usr.sbin/traceroute6/traceroute6.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Apr 1 20:45:18 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 826215B6659 for ; Thu, 1 Apr 2021 20:45:18 +0000 (UTC) (envelope-from asif.eppyhatman@yandex.ru) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FBFYn6Tljz4nmW for ; Thu, 1 Apr 2021 20:45:17 +0000 (UTC) (envelope-from asif.eppyhatman@yandex.ru) Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward106o.mail.yandex.net (Yandex) with ESMTP id DA5685060CD0 for ; Thu, 1 Apr 2021 23:38:11 +0300 (MSK) Received: from vla1-68d3ce55e22b.qloud-c.yandex.net (vla1-68d3ce55e22b.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:3385:0:640:68d3:ce55]) by forward101q.mail.yandex.net (Yandex) with ESMTP id D681CCF40023 for ; Thu, 1 Apr 2021 23:38:11 +0300 (MSK) Received: from mail.yandex.ru (mail.yandex.ru [176.59.37.168]) by vla1-68d3ce55e22b.qloud-c.yandex.net (mxback/Yandex) with HTTP id 0cxlFF0IQW21-cBIikId0; Thu, 01 Apr 2021 23:38:11 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1617309491; bh=yTR5KUPBE50UVFr4MEEolusaHeoprjXCQdfSzl5Ab0Q=; h=Message-Id:Date:Subject:To:From; b=XA4L4rQKr0APfSJDd4PAiNZQ5zUResQllM9EJEF0mUxmGEgmII8XR1tyV72rYaZSB acyVJcUOlqQeVMIaxhV07Q+uGEbLokxWP5qf94G3K+to47Apw270j/un9U6uBTESbb dnRg98smnqEaF+z9Ig3S9HJAyU3dKa/yRpk1zMyU= Received: by vla1-c7cd0219e008.qloud-c.yandex.net with HTTP; Thu, 01 Apr 2021 23:38:11 +0300 From: Asif Eppyhatman Envelope-From: asif-eppyhatman@yandex.ru To: "freebsd-net@freebsd.org" Subject: RINA-the-Recursive-InterNetwork-Architecture X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 01 Apr 2021 23:38:11 +0300 Message-Id: <530721617307837@mail.yandex.ru> X-Rspamd-Queue-Id: 4FBFYn6Tljz4nmW X-Spamd-Bar: +++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=XA4L4rQK; dmarc=pass (policy=none) header.from=yandex.ru; spf=pass (mx1.freebsd.org: domain of asif.eppyhatman@yandex.ru designates 37.140.190.187 as permitted sender) smtp.mailfrom=asif.eppyhatman@yandex.ru X-Spamd-Result: default: False [9.30 / 15.00]; R_SPF_ALLOW(0.00)[+ip4:37.140.128.0/18:c]; FREEMAIL_FROM(0.00)[yandex.ru]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[yandex.ru:+]; DMARC_POLICY_ALLOW(0.00)[yandex.ru,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[37.140.190.187:from]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; ASN(0.00)[asn:13238, ipnet:37.140.128.0/18, country:RU]; DWL_DNSWL_NONE(0.00)[yandex.ru:dkim]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[176.59.37.168:received]; R_DKIM_ALLOW(0.00)[yandex.ru:s=mail]; RECEIVED_SPAMHAUS_PBL(0.00)[176.59.37.168:received]; MIME_TRACE(0.00)[0:~]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[37.140.190.187:from:127.0.2.255]; MANY_INVISIBLE_PARTS(1.00)[10]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[37.140.190.187:from]; MIME_HTML_ONLY(0.20)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[37.140.190.187:from]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-net] X-Spam: Yes MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 20:45:18 -0000 From owner-freebsd-net@freebsd.org Thu Apr 1 21:07:43 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D8E25B7525 for ; Thu, 1 Apr 2021 21:07:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBG3g2vrSz4qNB for ; Thu, 1 Apr 2021 21:07:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 63CEF5B7599; Thu, 1 Apr 2021 21:07:43 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 639615B747C for ; Thu, 1 Apr 2021 21:07: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 4FBG3g2JN4z4q4Q for ; Thu, 1 Apr 2021 21:07:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 424AD13A6A for ; Thu, 1 Apr 2021 21:07: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 131L7hqs060608 for ; Thu, 1 Apr 2021 21:07:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 131L7hkm060607 for net@FreeBSD.org; Thu, 1 Apr 2021 21:07:43 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 220468] libfetch: Does not handle 407 (proxy auth) when connecting to HTTPS using connect tunnel Date: Thu, 01 Apr 2021 21:07:41 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 21:07:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220468 --- Comment #15 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D345c30a94f6425954163f1e0b075a75f6= 03d27cd commit 345c30a94f6425954163f1e0b075a75f603d27cd Author: Renato Botelho AuthorDate: 2021-04-01 21:02:57 +0000 Commit: Renato Botelho CommitDate: 2021-04-01 21:02:57 +0000 libfetch: Retry with proxy auth when server returns 407 PR: 220468 Submitted by: Egil Hasting (based on) Reviewed by: kevans, kp Approved by: kp MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D29533 lib/libfetch/http.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++--= ---- 1 file changed, 49 insertions(+), 6 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Apr 2 00:07:53 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5AD5C5BB73E for ; Fri, 2 Apr 2021 00:07:53 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-to1can01on0631.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5d::631]) (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 4FBL3X2yk8z3HdW; Fri, 2 Apr 2021 00:07:52 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JGSjpt3JBMAitsaapOE9SdW/Lbaq4NIKxhTSQaSp4mWABCQjN5AfGxPquomX2VHj2gpVhIEwjELmH2h+SRmQQX0VB/LOXGlp4PQtmZmipLUScX/UjFThbsuQ9twNoftAZmb8eiPMDITMM6QqrhowtgrBQxo+KzH9jGQY+Ph7kv5rO1tQQ8pMgVc2oIdwo7NdrQ58g5Hlkf2kJe+Kg7HWkQDKOJXg53I0VVDA8rOZT+xdAlG2bR8qHoC5ZZyoXlHNMVYUXsUi3/DJGd7qfiJC3qQlE7/9yLt4h8eaNYZcDGhEgRpyiGX6kmb3QR6coDtFlzUONF5YR6niKP2e6KrL0Q== 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-SenderADCheck; bh=hyXcWGTuF9rLP9mi2t4QCjKJr/TxwVA2VHYlWufvatA=; b=lLgbYDQ2cJca78SXWTwsFx6tRcevNT2k4vZ/GU1UULwPsDGFN3oJiepUmy8qXQsbqeHM1PZAbrXLKU3GgSKpKNdoF1/XzsJ/aE8L4vA8YrzL8HtjxBJrR9Ordd3U+OlBf4q12ueUj+VGzUNyEEpGHdD3cjlmrX+j7I7SarXi4JfMjoFjjvK0VWzLzRolV+tbtXqyl07JDGLscAFMOlcJg+21Zzt6Yk2DMPxaUKjUoRRw+ZIjWQz0It8jwGTlk6T3zaNdbHT1ZTo8AcWV6Biu30UQEIuO41SYvD/wqmvT2iegMleTBC0S+QxOZ27Cdw2dlcbeasUL2x+Bm6Cr5jm4MA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uoguelph.ca; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hyXcWGTuF9rLP9mi2t4QCjKJr/TxwVA2VHYlWufvatA=; b=Ot22348o2LpUtFURi360S106/Qor4MerVMrT+iL35byvZp8ypT1LRM/MrOGtux+iGGBCIxQNp7c3JehxbizIYlaP7DXsvJDPNfcVktdj9c2Gr2PPj9+tyji0MYpw0jiO+0y+WTLumJu4PkFsWID0E6x6GIQJVUJ0foYTZ6/jiB3Nv2zBUDAShV6/UxBkNa5MefFRLIyN0KbJ+3O+HEGABjVtrS32/V7Gyu4uP2KGtvsFSYfldhfKkm2E7uXadkwRMmvUyEeETwDi5jmSYYHLm8jbn4fZxALe2qbWWUnGufKVhwfNbBsvEXDVfj/jhKJAlUXnkih243K8eEikxvnNiw== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by QB1PR01MB3122.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:33::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.32; Fri, 2 Apr 2021 00:07:48 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::1c05:585a:132a:f08e]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::1c05:585a:132a:f08e%4]) with mapi id 15.20.3977.033; Fri, 2 Apr 2021 00:07:48 +0000 From: Rick Macklem To: "Youssef GHORBAL" , Jason Breitman CC: "freebsd-net@freebsd.org" , "tuexen@FreeBSD.org" Subject: Re: NFS Mount Hangs Thread-Topic: NFS Mount Hangs Thread-Index: AQHXG1G2D7AHBwtmAkS1jBAqNNo2I6qMDIgAgALy8kyACNDugIAAsfOAgAfoFLc= Date: Fri, 2 Apr 2021 00:07:48 +0000 Message-ID: References: <3750001D-3F1C-4D9A-A9D9-98BCA6CA65A4@tildenparkcapital.com> <33693DE3-7FF8-4FAB-9A75-75576B88A566@tildenparkcapital.com> , <8E745920-1092-4312-B251-B49D11FE8028@pasteur.fr> In-Reply-To: <8E745920-1092-4312-B251-B49D11FE8028@pasteur.fr> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9ff34b0f-3bd2-4625-8d87-08d8f56b5999 x-ms-traffictypediagnostic: QB1PR01MB3122: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:240; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sNsCU/pbKn/gPMI01ES3nuhJbcEoSyATBncmhjwSd3BANRleEUOWRqric5lvoCF8RoJSsPDzs//2JK7ZiHrihYOIcO7YorupeennaskqiuGIu9e2IDIFS0sGPqArw8PJ//PkBI0Ug4U1CTJwwVJ7I7J7pJlJyw5iKu/oJNIjinTcueu3flh9ZpFITTpFS9itGAN0V3I9yPeO2WhwebWUohknPcPKV7tzH5Y5PGwlk/CJipW87iqOVtDIliU0VuvUP6zhW2VsNfrxCxM3071ltYgR8Kt9cxZVCqAwwLwTzOwwF1iFSR7jwhYCc4oJDuySU9e8adUKo59+trjDx8NakmP3Z1e8itAFbw3wekt2lIMwJ76UYtuSbN0lAJukjsWIiC1ENBPXVzpmXfk4oPSonKy/mep0zoR5gSkRYRhrQHVrd+7Qyo6B1a18/f8zp5G8Ei2d3qJYdWvHJ/qhqrObL84/BdvJ8SOkBNc5tJe6rjKUUgtjRtQwe//KFxkZTYa1+vI05TPMM/7IxhzR9ue+VXs5RBHAxJbS+AiNtYvU5QtdFuFy239VKrW6YCWdXR+x0xegykoGT3hBgkj6Og4YPvcJOxDd6qknW3tbwNS8YwmKL6QbM9TY7AFOWqfvNYriOSDui578+XZLUrb+gGDBSSxPY5AQ8dEFo1//tuCcvYQyyimIj6iQY2ZTvt0EXa/YVgMgnOJiA6NemQaIADeH4Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(376002)(396003)(39860400002)(346002)(366004)(136003)(66446008)(33656002)(66946007)(966005)(7696005)(66476007)(53546011)(110136005)(38100700001)(52536014)(64756008)(76116006)(2906002)(3480700007)(71200400001)(186003)(30864003)(91956017)(6506007)(5660300002)(8936002)(4326008)(8676002)(83380400001)(316002)(786003)(54906003)(66556008)(55016002)(86362001)(7116003)(9686003)(478600001)(66574015); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?Windows-1252?Q?HQGhKukp1kykndoM+lJdIhkez1CYR5C+byYIXeOt11o4wmBM6UHK+Arw?= =?Windows-1252?Q?5q3LOw/utk6stRlSnDX16rajZEs0PybUFVLUJp/RTjMr0QASVtBtQms7?= =?Windows-1252?Q?/qAu8rCZE/KKMVINlGhFnjashOfFSQEN4M6Bf2JmghKzqMQaIIwHLXHn?= =?Windows-1252?Q?FIaOHa3IIFQ/Ue8RWQdRqB1YUr6mtV8FDJVc1zqZe3kpUvW0d5ZCCgkA?= =?Windows-1252?Q?7vwFYg64XnNoGAFlaXOZdY5lSaIzcunCLb7Bf64+qTmasS/seKMkllug?= =?Windows-1252?Q?L8R2Kheq0ATzheZoY5rlXJ4hy+iqcF9/TJyFCkRwy8gA14omHpRb1fBd?= =?Windows-1252?Q?hrDp5pTWRnWELWjPRRQW5b+teVrpCBMurBR4Svts2b0z7Z6eyqV6qgfZ?= =?Windows-1252?Q?tVZzEyCIAbcHqdYm+MDcNc2ek0/bDfL6vckqwHnJYmOOGf9xcESsoKhf?= =?Windows-1252?Q?6sAyHRQntlMNXWDn48xz+vXwqSEyNZebi2F9NpV8V1Gk3fYQl/dDQ0KF?= =?Windows-1252?Q?nSG4kVO9FZ0S+1WYNAccnLX65OTs8YxFR9II2rirxSvaisDEvUOlQJep?= =?Windows-1252?Q?ZSTN6LBYydEB5RV+kebnDDQO1pzDsAgnhRsoTK5Hs8l/uBrYbwM9pST7?= =?Windows-1252?Q?EB7hO00JDJ8T/EdfpkVQlWb9AU0QFoVzn+HIBlH7htMwr7KclxWkXwmw?= =?Windows-1252?Q?KznDISbZ094ZGSDZpVvA3hsaEw7sNvv5sv8jZnqBZhpnbMltkLDkygO8?= =?Windows-1252?Q?ylPuI5c9S4/fO1rdg2D61nT6MEmxIGR0niC7Hu7NV1aKziOFX5RNYiwl?= =?Windows-1252?Q?jzOFdcR/fpSRJwwgWlCxSrTOLFYuqF2OgK0Unl0O9GmR2MyRt2qA0Ld2?= =?Windows-1252?Q?m8+/i9CvVYEs8iSJTcO8AkdH+RD3VuX6dhm+goU/x0RCyN7o2fOMq3tK?= =?Windows-1252?Q?xmSDy6ZEJ2eMp7wTtGyJBkhqVsXW/6VCBdp88UbEdkejtmsUc5VmS8CF?= =?Windows-1252?Q?J5B9Qyiaw/AQSFZo6nCIzNcTwhCAuPu40BtIn5PjzAbTy+zP0EQpokMx?= =?Windows-1252?Q?npIHLvwlc148As8a2tFJRoHz2U5JLdeQNUnwRcsa/DhMw7RjH/z/E2Mh?= =?Windows-1252?Q?nn7amMN21VNN2tgSblHFEYE7Wj8RC9hKmLtPXNpGetqI541Mb/KJkeHu?= =?Windows-1252?Q?axwXknQawxK/LRind+vtZ7COiz2YBHkzIJuWy5YZmQ9SX09FhQcKXMSi?= =?Windows-1252?Q?usJnieSUCNrz1XliaimsTwe+Z4F0XIyRavf/gI5PqgmyQRHy8Bo46DaE?= =?Windows-1252?Q?8CR2pvz03rxUJb3aIcb0SFibxtGgn8BLHYcoK2R6OadZgR3KkcB6ptfc?= =?Windows-1252?Q?el4tQJ83Q6vXfCueTRePGVIzYhxhs7CjrIhXeuHZGmXSt2uu11sh3AAb?= =?Windows-1252?Q?S2Ppw0AauJlZQXakU8ftd5qCQ9r1g6FAQEutRFLS/6Nuhw9qHtbfe8XZ?= =?Windows-1252?Q?1KXs95Gs?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 9ff34b0f-3bd2-4625-8d87-08d8f56b5999 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2021 00:07:48.5417 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +7gDBCkWMxAFZ/9x8RE+//nAGctROIG3+vMQ1scCg4qgpT4rl7nLGkRcPsHBQLEZCsG7JloTcqLgKiUaDJaQgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: QB1PR01MB3122 X-Rspamd-Queue-Id: 4FBL3X2yk8z3HdW X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=uoguelph.ca header.s=selector1 header.b=Ot22348o; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=uoguelph.ca; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 2a01:111:f400:fe5d::631 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-6.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:111:f400:fe5d::631:from]; R_DKIM_ALLOW(-0.20)[uoguelph.ca:s=selector1]; FREEFALL_USER(0.00)[rmacklem]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2a01:111:f400:fe5d::631:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_LOW(-1.00)[uoguelph.ca:dkim]; DKIM_TRACE(0.00)[uoguelph.ca:+]; DMARC_POLICY_ALLOW(-0.50)[uoguelph.ca,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 00:07:53 -0000 I hope you don't mind a top post...=0A= I've been testing network partitioning between the only Linux client=0A= I have (5.2 kernel) and a FreeBSD server with the xprtdied.patch=0A= (does soshutdown(..SHUT_WR) when it knows the socket is broken)=0A= applied to it.=0A= =0A= I'm not enough of a TCP guy to know if this is useful, but here's what=0A= I see...=0A= =0A= While partitioned:=0A= On the FreeBSD server end, the socket either goes to CLOSED during=0A= the network partition or stays ESTABLISHED.=0A= On the Linux end, the socket seems to remain ESTABLISHED for a=0A= little while, and then disappears.=0A= =0A= After unpartitioning:=0A= On the FreeBSD server end, you get another socket showing up at=0A= the same port#=0A= Active Internet connections (including servers)=0A= Proto Recv-Q Send-Q Local Address Foreign Address (state) = =0A= tcp4 0 0 nfsv4-new3.nfsd nfsv4-linux.678 ESTABLISH= ED=0A= tcp4 0 0 nfsv4-new3.nfsd nfsv4-linux.678 CLOSED = =0A= =0A= The Linux client shows the same connection ESTABLISHED.=0A= (The mount sometimes reports an error. I haven't looked at packet=0A= traces to see if it retries RPCs or why the errors occur.)=0A= --> However I never get hangs.=0A= Sometimes it goes to SYN_SENT for a while and the FreeBSD server=0A= shows FIN_WAIT_1, but then both ends go to ESTABLISHED and the=0A= mount starts working again.=0A= =0A= The most obvious thing is that the Linux client always keeps using=0A= the same port#. (The FreeBSD client will use a different port# when=0A= it does a TCP reconnect after no response from the NFS server for=0A= a little while.)=0A= =0A= What do those TCP conversant think?=0A= =0A= rick=0A= ps: I can capture packets while doing this, if anyone has a use=0A= for them.=0A= =0A= =0A= =0A= =0A= =0A= =0A= ________________________________________=0A= From: owner-freebsd-net@freebsd.org on beha= lf of Youssef GHORBAL =0A= Sent: Saturday, March 27, 2021 6:57 PM=0A= To: Jason Breitman=0A= Cc: Rick Macklem; freebsd-net@freebsd.org=0A= Subject: Re: NFS Mount Hangs=0A= =0A= CAUTION: This email originated from outside of the University of Guelph. Do= not click links or open attachments unless you recognize the sender and kn= ow the content is safe. If in doubt, forward suspicious emails to IThelp@uo= guelph.ca=0A= =0A= =0A= =0A= =0A= On 27 Mar 2021, at 13:20, Jason Breitman > wrote:=0A= =0A= The issue happened again so we can say that disabling TSO and LRO on the NI= C did not resolve this issue.=0A= # ifconfig lagg0 -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso=0A= # ifconfig lagg0=0A= lagg0: flags=3D8943 metric = 0 mtu 1500=0A= options=3D8100b8=0A= =0A= We can also say that the sysctl settings did not resolve this issue.=0A= =0A= # sysctl net.inet.tcp.fast_finwait2_recycle=3D1=0A= net.inet.tcp.fast_finwait2_recycle: 0 -> 1=0A= =0A= # sysctl net.inet.tcp.finwait2_timeout=3D1000=0A= net.inet.tcp.finwait2_timeout: 60000 -> 1000=0A= =0A= I don=92t think those will do anything in your case since the FIN_WAIT2 are= on the client side and those sysctls are for BSD.=0A= By the way it seems that Linux recycles automatically TCP sessions in FIN_W= AIT2 after 60 seconds (sysctl net.ipv4.tcp_fin_timeout)=0A= =0A= tcp_fin_timeout (integer; default: 60; since Linux 2.2)=0A= This specifies how many seconds to wait for a final FIN=0A= packet before the socket is forcibly closed. This is=0A= strictly a violation of the TCP specification, but=0A= required to prevent denial-of-service attacks. In Linux=0A= 2.2, the default value was 180.=0A= =0A= So I don=92t get why it stucks in the FIN_WAIT2 state anyway.=0A= =0A= You really need to have a packet capture during the outage (client and serv= er side) so you=92ll get over the wire chat and start speculating from ther= e.=0A= No need to capture the beginning of the outage for now. All you have to do,= is run a tcpdump for 10 minutes or so when you notice a client stuck.=0A= =0A= * I have not rebooted the NFS Server nor have I restarted nfsd, but do not = believe that is required as these settings are at the TCP level and I would= expect new sessions to use the updated settings.=0A= =0A= The issue occurred after 5 days following a reboot of the client machines.= =0A= I ran the capture information again to make use of the situation.=0A= =0A= #!/bin/sh=0A= =0A= while true=0A= do=0A= /bin/date >> /tmp/nfs-hang.log=0A= /bin/ps axHl | grep nfsd | grep -v grep >> /tmp/nfs-hang.log=0A= /usr/bin/procstat -kk 2947 >> /tmp/nfs-hang.log=0A= /usr/bin/procstat -kk 2944 >> /tmp/nfs-hang.log=0A= /bin/sleep 60=0A= done=0A= =0A= =0A= On the NFS Server=0A= Active Internet connections (including servers)=0A= Proto Recv-Q Send-Q Local Address Foreign Address (state)= =0A= tcp4 0 0 NFS.Server.IP.X.2049 NFS.Client.IP.X.48286 CLO= SE_WAIT=0A= =0A= On the NFS Client=0A= tcp 0 0 NFS.Client.IP.X:48286 NFS.Server.IP.X:2049 F= IN_WAIT2=0A= =0A= =0A= =0A= You had also asked for the output below.=0A= =0A= # nfsstat -E -s=0A= BackChannelCtBindConnToSes=0A= 0 0=0A= =0A= # sysctl vfs.nfsd.request_space_throttle_count=0A= vfs.nfsd.request_space_throttle_count: 0=0A= =0A= I see that you are testing a patch and I look forward to seeing the results= .=0A= =0A= =0A= Jason Breitman=0A= =0A= =0A= On Mar 21, 2021, at 6:21 PM, Rick Macklem > wrote:=0A= =0A= Youssef GHORBAL > wrote:=0A= >Hi Jason,=0A= >=0A= >> On 17 Mar 2021, at 18:17, Jason Breitman > wrote:=0A= >>=0A= >> Please review the details below and let me know if there is a setting th= at I should apply to my FreeBSD NFS Server or if there is a bug fix that I = can apply to resolve my issue.=0A= >> I shared this information with the linux-nfs mailing list and they belie= ve the issue is on the server side.=0A= >>=0A= >> Issue=0A= >> NFSv4 mounts periodically hang on the NFS Client.=0A= >>=0A= >> During this time, it is possible to manually mount from another NFS Serv= er on the NFS Client having issues.=0A= >> Also, other NFS Clients are successfully mounting from the NFS Server in= question.=0A= >> Rebooting the NFS Client appears to be the only solution.=0A= >=0A= >I had experienced a similar weird situation with periodically stuck Linux = NFS clients >mounting Isilon NFS servers (Isilon is FreeBSD based but they = seem to have there >own nfsd)=0A= Yes, my understanding is that Isilon uses a proprietary user space nfsd and= =0A= not the kernel based RPC and nfsd in FreeBSD.=0A= =0A= >We=92ve had better luck and we did manage to have packet captures on both = sides >during the issue. The gist of it goes like follows:=0A= >=0A= >- Data flows correctly between SERVER and the CLIENT=0A= >- At some point SERVER starts decreasing it's TCP Receive Window until it = reachs 0=0A= >- The client (eager to send data) can only ack data sent by SERVER.=0A= >- When SERVER was done sending data, the client starts sending TCP Window = >Probes hoping that the TCP Window opens again so he can flush its buffers.= =0A= >- SERVER responds with a TCP Zero Window to those probes.=0A= Having the window size drop to zero is not necessarily incorrect.=0A= If the server is overloaded (has a backlog of NFS requests), it can stop do= ing=0A= soreceive() on the socket (so the socket rcv buffer can fill up and the TCP= window=0A= closes). This results in "backpressure" to stop the NFS client from floodin= g the=0A= NFS server with requests.=0A= --> However, once the backlog is handled, the nfsd should start to soreceiv= e()=0A= again and this shouls cause the window to open back up.=0A= --> Maybe this is broken in the socket/TCP code. I quickly got lost in=0A= tcp_output() when it decides what to do about the rcvwin.=0A= =0A= >- After 6 minutes (the NFS server default Idle timeout) SERVER racefully c= loses the >TCP connection sending a FIN Packet (and still a TCP Window 0)= =0A= This probably does not happen for Jason's case, since the 6minute timeout= =0A= is disabled when the TCP connection is assigned as a backchannel (most like= ly=0A= the case for NFSv4.1).=0A= =0A= >- CLIENT ACK that FIN.=0A= >- SERVER goes in FIN_WAIT_2 state=0A= >- CLIENT closes its half part part of the socket and goes in LAST_ACK stat= e.=0A= >- FIN is never sent by the client since there still data in its SendQ and = receiver TCP >Window is still 0. At this stage the client starts sending TC= P Window Probes again >and again hoping that the server opens its TCP Windo= w so it can flush it's buffers >and terminate its side of the socket.=0A= >- SERVER keeps responding with a TCP Zero Window to those probes.=0A= >=3D> The last two steps goes on and on for hours/days freezing the NFS mou= nt bound >to that TCP session.=0A= >=0A= >If we had a situation where CLIENT was responsible for closing the TCP Win= dow (and >initiating the TCP FIN first) and server wanting to send data we= =92ll end up in the same >state as you I think.=0A= >=0A= >We=92ve never had the root cause of why the SERVER decided to close the TC= P >Window and no more acccept data, the fix on the Isilon part was to recyc= le more >aggressively the FIN_WAIT_2 sockets (net.inet.tcp.fast_finwait2_re= cycle=3D1 & >net.inet.tcp.finwait2_timeout=3D5000). Once the socket recycle= d and at the next >occurence of CLIENT TCP Window probe, SERVER sends a RST= , triggering the >teardown of the session on the client side, a new TCP han= dchake, etc and traffic >flows again (NFS starts responding)=0A= >=0A= >To avoid rebooting the client (and before the aggressive FIN_WAIT_2 was >i= mplemented on the Isilon side) we=92ve added a check script on the client t= hat detects >LAST_ACK sockets on the client and through iptables rule enfor= ces a TCP RST, >Something like: -A OUTPUT -p tcp -d $nfs_server_addr --spor= t $local_port -j REJECT >--reject-with tcp-reset (the script removes this i= ptables rule as soon as the LAST_ACK >disappears)=0A= >=0A= >The bottom line would be to have a packet capture during the outage (clien= t and/or >server side), it will show you at least the shape of the TCP exch= ange when NFS is >stuck.=0A= Interesting story and good work w.r.t. sluething, Youssef, thanks.=0A= =0A= I looked at Jason's log and it shows everything is ok w.r.t the nfsd thread= s.=0A= (They're just waiting for RPC requests.)=0A= However, I do now think I know why the soclose() does not happen.=0A= When the TCP connection is assigned as a backchannel, that takes a referenc= e=0A= cnt on the structure. This refcnt won't be released until the connection is= =0A= replaced by a BindConnectiotoSession operation from the client. But that wo= n't=0A= happen until the client creates a new TCP connection.=0A= --> No refcnt release-->no refcnt of 0-->no soclose().=0A= =0A= I've created the attached patch (completely different from the previous one= )=0A= that adds soshutdown(SHUT_WR) calls in the three places where the TCP=0A= connection is going away. This seems to get it past CLOSE_WAIT without a=0A= soclose().=0A= --> I know you are not comfortable with patching your server, but I do thin= k=0A= this change will get the socket shutdown to complete.=0A= =0A= There are a couple more things you can check on the server...=0A= # nfsstat -E -s=0A= --> Look for the count under "BindConnToSes".=0A= --> If non-zero, backchannels have been assigned=0A= # sysctl -a | fgrep request_space_throttle_count=0A= --> If non-zero, the server has been overloaded at some point.=0A= =0A= I think the attached patch might work around the problem.=0A= The code that should open up the receive window needs to be checked.=0A= I am also looking at enabling the 6minute timeout when a backchannel is=0A= assigned.=0A= =0A= rick=0A= =0A= Youssef=0A= =0A= _______________________________________________=0A= freebsd-net@freebsd.org mailing list=0A= https://urldefense.com/v3/__https://lists.freebsd.org/mailman/listinfo/free= bsd-net__;!!JFdNOqOXpB6UZW0!_c2MFNbir59GXudWPVdE5bNBm-qqjXeBuJ2UEmFv5OZciLj= 4ObR_drJNv5yryaERfIbhKR2d$=0A= To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= =0A= =0A= =0A= =0A= _______________________________________________=0A= freebsd-net@freebsd.org mailing list=0A= https://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= From owner-freebsd-net@freebsd.org Fri Apr 2 02:29:52 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F401A5BF1D2 for ; Fri, 2 Apr 2021 02:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBPCM6HH2z3QMK for ; Fri, 2 Apr 2021 02:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D7A775BF1D1; Fri, 2 Apr 2021 02:29:51 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D776E5BEF42 for ; Fri, 2 Apr 2021 02:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FBPCM5j7Gz3QTq for ; Fri, 2 Apr 2021 02:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B6D0717D7E for ; Fri, 2 Apr 2021 02:29:51 +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 1322TprX026208 for ; Fri, 2 Apr 2021 02:29:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1322Tp3r026207 for net@FreeBSD.org; Fri, 2 Apr 2021 02:29:51 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 220468] libfetch: Does not handle 407 (proxy auth) when connecting to HTTPS using connect tunnel Date: Fri, 02 Apr 2021 02:29:49 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: garga@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: assigned_to flagtypes.name keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 02:29:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220468 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |garga@FreeBSD.org Flags| |mfc-stable13? Keywords|needs-qa | --- Comment #16 from Kubilay Kocak --- (In reply to commit-hook from comment #15) Is this targeted for releng/13 and stable/* ? That would be lovely. ^Triage: Assign to committer resolving --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Apr 2 02:39:16 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 039B75BF2B1 for ; Fri, 2 Apr 2021 02:39:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBPQC6XFsz3QWG for ; Fri, 2 Apr 2021 02:39:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DE82A5BEE7F; Fri, 2 Apr 2021 02:39:15 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD3755BF2B0 for ; Fri, 2 Apr 2021 02:39: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 4FBPQC5fwLz3R4L for ; Fri, 2 Apr 2021 02:39:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B1A2D1849F for ; Fri, 2 Apr 2021 02:39:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1322dFHt032530 for ; Fri, 2 Apr 2021 02:39:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1322dFps032529 for net@FreeBSD.org; Fri, 2 Apr 2021 02:39:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238707] Lock order reversal: rtentry vs "nd6 list" Date: Fri, 02 Apr 2021 02:39:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13- mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: flagtypes.name version bug_status short_desc keywords bug_severity 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 02:39:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238707 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable13-, | |mfc-stable12?, | |mfc-stable11? Version|CURRENT |12.2-STABLE Status|New |Open Summary|[PATCH][LOR] Lock order |Lock order reversal: |reversal: rtentry vs "nd6 |rtentry vs "nd6 list" |list" | Keywords|patch |needs-qa Severity|Affects Only Me |Affects Some People --- Comment #6 from Kubilay Kocak --- ^Triage:=20 - Update Version to reflect latest stable branch this remains an issue in - Mark stable/13 not applicable (OBE) @Alexander You're a (the?) primary contributor to this area of the code in recent times, and a good candidate to determine whether we should resolve t= his issue OBE, as it's unlikely to be resolved for 12/11 unless you're able to = help identify/coordinate others who might be able contribute to its actual resolution (by way of code commit) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Apr 2 02:40:33 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF6E75BF599 for ; Fri, 2 Apr 2021 02:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBPRj5lZBz3Qxg for ; Fri, 2 Apr 2021 02:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C539C5BF621; Fri, 2 Apr 2021 02:40:33 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C502E5BF4B5 for ; Fri, 2 Apr 2021 02:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FBPRj57pKz3R32 for ; Fri, 2 Apr 2021 02:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A1D5A18156 for ; Fri, 2 Apr 2021 02:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1322eXTs032867 for ; Fri, 2 Apr 2021 02:40:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1322eX6m032866 for net@FreeBSD.org; Fri, 2 Apr 2021 02:40:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254623] traceroute6: ICMP6 no longer works due to Capsicum'ization: data too short (-1 bytes) from invalid Date: Fri, 02 Apr 2021 02:40:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ mfc-stable13? X-Bugzilla-Changed-Fields: bug_status bug_file_loc flagtypes.name 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 02:40:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress URL| |https://reviews.freebsd.org | |/D29523 Flags|maintainer-feedback?(markj@ |maintainer-feedback+ |FreeBSD.org) | --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Apr 2 16:15:29 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C606157BAD7 for ; Fri, 2 Apr 2021 16:15:29 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FBlX14GNXz3LwY for ; Fri, 2 Apr 2021 16:15:29 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:854a:a13a:b974:3d65] (unknown [IPv6:2a02:8109:1140:c3d:854a:a13a:b974:3d65]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 9C7EF7A5100C6; Fri, 2 Apr 2021 18:15:17 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: NFS Mount Hangs From: tuexen@freebsd.org In-Reply-To: Date: Fri, 2 Apr 2021 18:15:16 +0200 Cc: Youssef GHORBAL , Jason Breitman , "freebsd-net@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <3750001D-3F1C-4D9A-A9D9-98BCA6CA65A4@tildenparkcapital.com> <33693DE3-7FF8-4FAB-9A75-75576B88A566@tildenparkcapital.com> <8E745920-1092-4312-B251-B49D11FE8028@pasteur.fr> To: Rick Macklem X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4FBlX14GNXz3LwY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 16:15:29 -0000 > On 2. Apr 2021, at 02:07, Rick Macklem wrote: >=20 > I hope you don't mind a top post... > I've been testing network partitioning between the only Linux client > I have (5.2 kernel) and a FreeBSD server with the xprtdied.patch > (does soshutdown(..SHUT_WR) when it knows the socket is broken) > applied to it. >=20 > I'm not enough of a TCP guy to know if this is useful, but here's what > I see... >=20 > While partitioned: > On the FreeBSD server end, the socket either goes to CLOSED during > the network partition or stays ESTABLISHED. If it goes to CLOSED you called shutdown(, SHUT_WR) and the peer also sent a FIN, but you never called close() on the socket. If the socket stays in ESTABLISHED, there is no communication ongoing, I guess, and therefore the server does not even detect that the peer is not reachable. > On the Linux end, the socket seems to remain ESTABLISHED for a > little while, and then disappears. So how does Linux detect the peer is not reachable? >=20 > After unpartitioning: > On the FreeBSD server end, you get another socket showing up at > the same port# > Active Internet connections (including servers) > Proto Recv-Q Send-Q Local Address Foreign Address = (state) =20 > tcp4 0 0 nfsv4-new3.nfsd nfsv4-linux.678 = ESTABLISHED > tcp4 0 0 nfsv4-new3.nfsd nfsv4-linux.678 = CLOSED =20 >=20 > The Linux client shows the same connection ESTABLISHED. > (The mount sometimes reports an error. I haven't looked at packet > traces to see if it retries RPCs or why the errors occur.) > --> However I never get hangs. > Sometimes it goes to SYN_SENT for a while and the FreeBSD server > shows FIN_WAIT_1, but then both ends go to ESTABLISHED and the > mount starts working again. >=20 > The most obvious thing is that the Linux client always keeps using > the same port#. (The FreeBSD client will use a different port# when > it does a TCP reconnect after no response from the NFS server for > a little while.) >=20 > What do those TCP conversant think? I guess you are you are never calling close() on the socket, for with the connection state is CLOSED. Best regards Michael >=20 > rick > ps: I can capture packets while doing this, if anyone has a use > for them. >=20 >=20 >=20 >=20 >=20 >=20 > ________________________________________ > From: owner-freebsd-net@freebsd.org on = behalf of Youssef GHORBAL > Sent: Saturday, March 27, 2021 6:57 PM > To: Jason Breitman > Cc: Rick Macklem; freebsd-net@freebsd.org > Subject: Re: NFS Mount Hangs >=20 > CAUTION: This email originated from outside of the University of = Guelph. Do not click links or open attachments unless you recognize the = sender and know the content is safe. If in doubt, forward suspicious = emails to IThelp@uoguelph.ca >=20 >=20 >=20 >=20 > On 27 Mar 2021, at 13:20, Jason Breitman = > = wrote: >=20 > The issue happened again so we can say that disabling TSO and LRO on = the NIC did not resolve this issue. > # ifconfig lagg0 -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso = -vlanhwtso > # ifconfig lagg0 > lagg0: flags=3D8943 = metric 0 mtu 1500 > = options=3D8100b8 >=20 > We can also say that the sysctl settings did not resolve this issue. >=20 > # sysctl net.inet.tcp.fast_finwait2_recycle=3D1 > net.inet.tcp.fast_finwait2_recycle: 0 -> 1 >=20 > # sysctl net.inet.tcp.finwait2_timeout=3D1000 > net.inet.tcp.finwait2_timeout: 60000 -> 1000 >=20 > I don=E2=80=99t think those will do anything in your case since the = FIN_WAIT2 are on the client side and those sysctls are for BSD. > By the way it seems that Linux recycles automatically TCP sessions in = FIN_WAIT2 after 60 seconds (sysctl net.ipv4.tcp_fin_timeout) >=20 > tcp_fin_timeout (integer; default: 60; since Linux 2.2) > This specifies how many seconds to wait for a final FIN > packet before the socket is forcibly closed. This is > strictly a violation of the TCP specification, but > required to prevent denial-of-service attacks. In Linux > 2.2, the default value was 180. >=20 > So I don=E2=80=99t get why it stucks in the FIN_WAIT2 state anyway. >=20 > You really need to have a packet capture during the outage (client and = server side) so you=E2=80=99ll get over the wire chat and start = speculating from there. > No need to capture the beginning of the outage for now. All you have = to do, is run a tcpdump for 10 minutes or so when you notice a client = stuck. >=20 > * I have not rebooted the NFS Server nor have I restarted nfsd, but do = not believe that is required as these settings are at the TCP level and = I would expect new sessions to use the updated settings. >=20 > The issue occurred after 5 days following a reboot of the client = machines. > I ran the capture information again to make use of the situation. >=20 > #!/bin/sh >=20 > while true > do > /bin/date >> /tmp/nfs-hang.log > /bin/ps axHl | grep nfsd | grep -v grep >> /tmp/nfs-hang.log > /usr/bin/procstat -kk 2947 >> /tmp/nfs-hang.log > /usr/bin/procstat -kk 2944 >> /tmp/nfs-hang.log > /bin/sleep 60 > done >=20 >=20 > On the NFS Server > Active Internet connections (including servers) > Proto Recv-Q Send-Q Local Address Foreign Address = (state) > tcp4 0 0 NFS.Server.IP.X.2049 NFS.Client.IP.X.48286 = CLOSE_WAIT >=20 > On the NFS Client > tcp 0 0 NFS.Client.IP.X:48286 NFS.Server.IP.X:2049 = FIN_WAIT2 >=20 >=20 >=20 > You had also asked for the output below. >=20 > # nfsstat -E -s > BackChannelCtBindConnToSes > 0 0 >=20 > # sysctl vfs.nfsd.request_space_throttle_count > vfs.nfsd.request_space_throttle_count: 0 >=20 > I see that you are testing a patch and I look forward to seeing the = results. >=20 >=20 > Jason Breitman >=20 >=20 > On Mar 21, 2021, at 6:21 PM, Rick Macklem = > wrote: >=20 > Youssef GHORBAL = > wrote: >> Hi Jason, >>=20 >>> On 17 Mar 2021, at 18:17, Jason Breitman = > = wrote: >>>=20 >>> Please review the details below and let me know if there is a = setting that I should apply to my FreeBSD NFS Server or if there is a = bug fix that I can apply to resolve my issue. >>> I shared this information with the linux-nfs mailing list and they = believe the issue is on the server side. >>>=20 >>> Issue >>> NFSv4 mounts periodically hang on the NFS Client. >>>=20 >>> During this time, it is possible to manually mount from another NFS = Server on the NFS Client having issues. >>> Also, other NFS Clients are successfully mounting from the NFS = Server in question. >>> Rebooting the NFS Client appears to be the only solution. >>=20 >> I had experienced a similar weird situation with periodically stuck = Linux NFS clients >mounting Isilon NFS servers (Isilon is FreeBSD based = but they seem to have there >own nfsd) > Yes, my understanding is that Isilon uses a proprietary user space = nfsd and > not the kernel based RPC and nfsd in FreeBSD. >=20 >> We=E2=80=99ve had better luck and we did manage to have packet = captures on both sides >during the issue. The gist of it goes like = follows: >>=20 >> - Data flows correctly between SERVER and the CLIENT >> - At some point SERVER starts decreasing it's TCP Receive Window = until it reachs 0 >> - The client (eager to send data) can only ack data sent by SERVER. >> - When SERVER was done sending data, the client starts sending TCP = Window >Probes hoping that the TCP Window opens again so he can flush = its buffers. >> - SERVER responds with a TCP Zero Window to those probes. > Having the window size drop to zero is not necessarily incorrect. > If the server is overloaded (has a backlog of NFS requests), it can = stop doing > soreceive() on the socket (so the socket rcv buffer can fill up and = the TCP window > closes). This results in "backpressure" to stop the NFS client from = flooding the > NFS server with requests. > --> However, once the backlog is handled, the nfsd should start to = soreceive() > again and this shouls cause the window to open back up. > --> Maybe this is broken in the socket/TCP code. I quickly got lost in > tcp_output() when it decides what to do about the rcvwin. >=20 >> - After 6 minutes (the NFS server default Idle timeout) SERVER = racefully closes the >TCP connection sending a FIN Packet (and still a = TCP Window 0) > This probably does not happen for Jason's case, since the 6minute = timeout > is disabled when the TCP connection is assigned as a backchannel (most = likely > the case for NFSv4.1). >=20 >> - CLIENT ACK that FIN. >> - SERVER goes in FIN_WAIT_2 state >> - CLIENT closes its half part part of the socket and goes in LAST_ACK = state. >> - FIN is never sent by the client since there still data in its SendQ = and receiver TCP >Window is still 0. At this stage the client starts = sending TCP Window Probes again >and again hoping that the server opens = its TCP Window so it can flush it's buffers >and terminate its side of = the socket. >> - SERVER keeps responding with a TCP Zero Window to those probes. >> =3D> The last two steps goes on and on for hours/days freezing the = NFS mount bound >to that TCP session. >>=20 >> If we had a situation where CLIENT was responsible for closing the = TCP Window (and >initiating the TCP FIN first) and server wanting to = send data we=E2=80=99ll end up in the same >state as you I think. >>=20 >> We=E2=80=99ve never had the root cause of why the SERVER decided to = close the TCP >Window and no more acccept data, the fix on the Isilon = part was to recycle more >aggressively the FIN_WAIT_2 sockets = (net.inet.tcp.fast_finwait2_recycle=3D1 & = >net.inet.tcp.finwait2_timeout=3D5000). Once the socket recycled and at = the next >occurence of CLIENT TCP Window probe, SERVER sends a RST, = triggering the >teardown of the session on the client side, a new TCP = handchake, etc and traffic >flows again (NFS starts responding) >>=20 >> To avoid rebooting the client (and before the aggressive FIN_WAIT_2 = was >implemented on the Isilon side) we=E2=80=99ve added a check script = on the client that detects >LAST_ACK sockets on the client and through = iptables rule enforces a TCP RST, >Something like: -A OUTPUT -p tcp -d = $nfs_server_addr --sport $local_port -j REJECT >--reject-with tcp-reset = (the script removes this iptables rule as soon as the LAST_ACK = >disappears) >>=20 >> The bottom line would be to have a packet capture during the outage = (client and/or >server side), it will show you at least the shape of the = TCP exchange when NFS is >stuck. > Interesting story and good work w.r.t. sluething, Youssef, thanks. >=20 > I looked at Jason's log and it shows everything is ok w.r.t the nfsd = threads. > (They're just waiting for RPC requests.) > However, I do now think I know why the soclose() does not happen. > When the TCP connection is assigned as a backchannel, that takes a = reference > cnt on the structure. This refcnt won't be released until the = connection is > replaced by a BindConnectiotoSession operation from the client. But = that won't > happen until the client creates a new TCP connection. > --> No refcnt release-->no refcnt of 0-->no soclose(). >=20 > I've created the attached patch (completely different from the = previous one) > that adds soshutdown(SHUT_WR) calls in the three places where the TCP > connection is going away. This seems to get it past CLOSE_WAIT without = a > soclose(). > --> I know you are not comfortable with patching your server, but I do = think > this change will get the socket shutdown to complete. >=20 > There are a couple more things you can check on the server... > # nfsstat -E -s > --> Look for the count under "BindConnToSes". > --> If non-zero, backchannels have been assigned > # sysctl -a | fgrep request_space_throttle_count > --> If non-zero, the server has been overloaded at some point. >=20 > I think the attached patch might work around the problem. > The code that should open up the receive window needs to be checked. > I am also looking at enabling the 6minute timeout when a backchannel = is > assigned. >=20 > rick >=20 > Youssef >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > = https://urldefense.com/v3/__https://lists.freebsd.org/mailman/listinfo/fre= ebsd-net__;!!JFdNOqOXpB6UZW0!_c2MFNbir59GXudWPVdE5bNBm-qqjXeBuJ2UEmFv5OZci= Lj4ObR_drJNv5yryaERfIbhKR2d$ > To unsubscribe, send any mail to = "freebsd-net-unsubscribe@freebsd.org" > >=20 > >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Fri Apr 2 21:31:05 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 901375B2CE8 for ; Fri, 2 Apr 2021 21:31:05 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-qb1can01on0620.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5c::620]) (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 4FBtX83YqDz3wV3; Fri, 2 Apr 2021 21:31:04 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h6dJIsmi1i/7U1T6gxK34afY8S+nNabWbqKsFnYz+xfI0rZMyawTLbcZphwCoJLNo1t25lllLPX8MBVi8IOumJaO6b3603Y6IaM1LOIa/5aKgP50/nsfXdhESPbwUyCQIdAZakcpxRQeq4+hI1xNg0ebnc2+CPVwfwSGSM/zGzavht6TdSuAp0MLN0EykWU0xYNZt+6DqJoEJBD0zsAB2Xe7IwDemHHK191Do7J1+ppr+9rIna2KMdYfDoIYw7DzuoKslFaN7QGVmkmrgPHF05KUwE7tEW3uYzkcmwwl0R0E8a/m6QOstkbrgOyE9nYRbYDebWBJtfaTnGIpAZAhzQ== 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-SenderADCheck; bh=aKmdNB3kiKmvvUBAeXaxphyYuegcmnLICtDqxAZfkMw=; b=B8UolJ8P6nO8Ohy5rcYEB/YBThsb4yjYfiFIYlgpuWZLRabQnXK1JdMMgNLNE+n82fn4y5KiE8KdLsMFC9BBp8RM8TELDAuEOnFhDjI0YBWTFycjyKUe9knPWsCUwStpHmZILZXDN/jTxGAHUbIuyPJ4CljxUhTmScNldVtWNhA/iP+tlJBRsHHxgFAWO+YTNAUaJd8x/mmxDG9TJpx7VdMN9bW5Hf/Yh1RNj5t0OgZwu9G0AufIcbav9bfqRMQx8Yf7qJ51sJA6jo5KdHOtebHfebNKAk2eSSjaSfwz562Mi9jzf6ihCNrxidVHMkAD3ZKZabUtWw8S1ktl15Oa5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uoguelph.ca; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aKmdNB3kiKmvvUBAeXaxphyYuegcmnLICtDqxAZfkMw=; b=XwVV9aW83neoIlcvtc03hQetkatggDUask0LGJCmGHVdBZ5CHvb0I8QsWclfF+ZGoGDm+ZcUl4Tj6/v3ZQdUxRTyEIbIjD8WXqFDB4wgyGhnvHaGOe8pi4l94YnshrD2pzC5qC9Ioh55lWf4dC25wkOFA9mMUVMEQegav/0E18aBdjQtRJugRlm9lXC2SE/F83cyxq0GSnjNq6edEusdQtnvSsvuIcBuNNFl/Ssv808gFF3OTNUgn+Ft++wd3pAwIJRJ3xwdKx58wlykk+/v/oxD1I1k2eCRB/fVYITISb/z82f+5bvylKSb1Qq4q/d2JVTEgcnfDhhC813CQeH+YQ== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQXPR01MB3046.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:47::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.33; Fri, 2 Apr 2021 21:31:02 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::1c05:585a:132a:f08e]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::1c05:585a:132a:f08e%4]) with mapi id 15.20.3977.037; Fri, 2 Apr 2021 21:31:02 +0000 From: Rick Macklem To: "tuexen@freebsd.org" CC: Youssef GHORBAL , Jason Breitman , "freebsd-net@freebsd.org" Subject: Re: NFS Mount Hangs Thread-Topic: NFS Mount Hangs Thread-Index: AQHXG1G2D7AHBwtmAkS1jBAqNNo2I6qMDIgAgALy8kyACNDugIAAsfOAgAfoFLeAARWpAIAAUOsE Date: Fri, 2 Apr 2021 21:31:01 +0000 Message-ID: References: <3750001D-3F1C-4D9A-A9D9-98BCA6CA65A4@tildenparkcapital.com> <33693DE3-7FF8-4FAB-9A75-75576B88A566@tildenparkcapital.com> <8E745920-1092-4312-B251-B49D11FE8028@pasteur.fr> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e6f0764e-0586-4780-57a5-08d8f61e9d59 x-ms-traffictypediagnostic: YQXPR01MB3046: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:324; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ebWf0upPzqW/0OYtsGhhAvci/EHZzOZFuISdY4fUOP0G3lx99oPL8q+J+jDA4/TTv/+nhwaTVT/QnbVT8qxsTdZ/zU2qUR7yR5Gy8FFReVjXg+zby8gYmGi+Y0a2b6wMLz1O2LlGOn9VgbxuyqSQFmDyymsR6lXrfAjxLJMc8Pu98tMUI3+MKw30M6erQrB8PhgV5WeZlJw3ATl0mJ8/hBBWIZJYYyfAI+/f4zueBpk2kvHpMUNgUSUab2ZB0ygxFn8Fv+fWLTb8eklrTWuVA/oFezaP8/GS/4nSMQ0BGDSs3eTAkDfzaiA6JO+8wwayc4hDTphs9qZatBQE7gUNgaOFqOrbjOEGuExltyMfbu7keG+e7um8J0IROelNN7Bz8WVuSj3bvfuUg80IECh5dZaN1P6VX8maVM8rmJoTbJF3G32Vex5CLDtcTI+qGvG+oz+0U4f1pkxgOP7TDN34J38VE96VabszRwm/I86ZoPlDXBfrHo7vI8CAcE0+BeHI98SR7hUVCXPK+sxFa3mXFyXHuIkYsvzjAnMUOL/ulXPHRFDZ96+bjj9dnZWh9YzKBuE4ZHEoKSBhGKkM+46fQ2b8qTVcnzyKSE9srG2BipdpvrYKkHBK4ecWnERcUq4iYeKM0b4y+A0HIEjIIrf3e1ra7U/OPrY4JLprghsn9w68c9QXf7Jh7tz9tYyZ0gETtN1cBEa5jgVcFxrwEiwIYz347dsSOEfZU4rFWqH6kvU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(396003)(136003)(39850400004)(346002)(366004)(376002)(478600001)(66574015)(71200400001)(966005)(52536014)(66476007)(2906002)(83380400001)(6506007)(53546011)(3480700007)(66446008)(64756008)(316002)(86362001)(9686003)(786003)(55016002)(30864003)(5660300002)(66556008)(7696005)(8676002)(54906003)(6916009)(66946007)(4326008)(38100700001)(186003)(76116006)(7116003)(8936002)(33656002)(91956017); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?Windows-1252?Q?t9H45AhhzVfyaeVmcjcoKQalLOShmMtcfHbqZfa1f1HLLynub6EPwgMb?= =?Windows-1252?Q?jkDVyGiVufyPKpbVjwAjjM0owGpfnJuo5PQOYQKHCzFEePhTWYK6QDvq?= =?Windows-1252?Q?4Yqxhy1zoUsZxA79ZMsCpHwMl9o+6VQfVAT/wCvNQZ2pV71l8WpjGI3R?= =?Windows-1252?Q?WjWZlJ0nn8QXcUZDbdJQvb2GMCEeD2Q3tbmwIx3/FRxdjMHW7zt37gnz?= =?Windows-1252?Q?EbxpGrcNQGuVr3D2rcstT6C9/Bd/DnqDTJRPkC2N0vD98RCd8/NTO3TV?= =?Windows-1252?Q?NHpQnUZrMbZLbh+Kns4XcgfXzsT1xqR14BMeTxayVBAMYrvYRkkXU8uR?= =?Windows-1252?Q?+xTMbdua6iNLu0sP2cXGlL6U+j/FHxWQFLyXqGqwkHb/VPV0BNMfCv5u?= =?Windows-1252?Q?DG6Ly+t1ao+UyM8kUW5+3CQq/682/67nrnMvA0JGqe6CQYh7ErrthYMr?= =?Windows-1252?Q?9hXWSbyTDgmLon4tqkgy3uoUh/nhbHPSxd+8PBQfVRAz+9CYMXBoIYzi?= =?Windows-1252?Q?/iAGGb40MrBoh7a6G8lMEsOVXLG9vv3lba3VSj6jj7NkmtMBpJS93PZu?= =?Windows-1252?Q?QYW2J1LHrHlgvLD7+cJYcPqzuNCqv1VNaroisr1FoHdb4W2e23FmPAtg?= =?Windows-1252?Q?8281ZGFG28DzDIJqLy44b+7nXSLI+ZixxfkDq/Jagra1jbQyjEJ5F/mr?= =?Windows-1252?Q?6Ugp99QXrwKB2kFHv10cZvFLq7mQ3t0rZ5+IRej1xAg8cadqpW01zwkY?= =?Windows-1252?Q?C4rU9DW2K4thq1FVgXpUpc+AGjseZs9mcXwOzO0na5lDvoNP1N2CBWgQ?= =?Windows-1252?Q?9JTemF1nTU0MlAfhrMRTtgPL/YD0HEnUYohy4yyLT19s4ejouwhiJg8T?= =?Windows-1252?Q?od1MonlRGfa0k3g2wPh7M+DFdfTVAtNFlq/e/3gyE06u8W84Dv4zzQgF?= =?Windows-1252?Q?iN5C1YLyjdNsBfiVPZRyU3lU4e8hcdq5I/MHirVUgHTKQHOVXqMV42j2?= =?Windows-1252?Q?UHEImTRRUinOTpQ50n/2nJrx2t9BOIuvFqILyZYyPdTbH+53HdNaToI6?= =?Windows-1252?Q?m8vHQEZXb5pG9C1jLsH5AJ0IoBkHUlUlKGYp+iGJdZxZM5gNAPFQURMl?= =?Windows-1252?Q?ZYdqBXCIfGPSpfOt5eOUk806F/4q0QBTy4T3YYZB7XozkcYiw8AWEioX?= =?Windows-1252?Q?CCku2x/2Wxa/oJwL9KxDFh0bwgjcHDYZcb1gPZlvn6EvarfAbAw8LMZA?= =?Windows-1252?Q?7OOMoWfAk/LBusAhxw8il9Wf5afjAcDeVPymgiyARXAMH8Ies12h3YQi?= =?Windows-1252?Q?E7nvrkOyfMBFIHb1/rvjIukaQxCNNSmumUZ96aP7vHOz46L/69UOlHeS?= =?Windows-1252?Q?KNtd7spiglHu2NUo+sHLDoc7CEcs+eMxcY3shxP9uCLZyZxGnY+mjQun?= =?Windows-1252?Q?J92JjteRuDqISGFQShTAdoH70KVOP4WqSH6weWXzVEE=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: e6f0764e-0586-4780-57a5-08d8f61e9d59 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2021 21:31:02.1545 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: OcfY/TqBnzaRrQpKnic8UcI0fAmTx/3N3KqbiFSAYXRMjF1qthSoRM70BNOQQpKO3BldadxNOboDXW40bns7qQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR01MB3046 X-Rspamd-Queue-Id: 4FBtX83YqDz3wV3 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=uoguelph.ca header.s=selector1 header.b=XwVV9aW8; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=uoguelph.ca; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 2a01:111:f400:fe5c::620 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-6.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:111:f400:fe5c::620:from]; R_DKIM_ALLOW(-0.20)[uoguelph.ca:s=selector1]; FREEFALL_USER(0.00)[rmacklem]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2a01:111:f400:fe5c::620:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_LOW(-1.00)[uoguelph.ca:dkim]; DKIM_TRACE(0.00)[uoguelph.ca:+]; DMARC_POLICY_ALLOW(-0.50)[uoguelph.ca,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 21:31:05 -0000 tuexen@freebsd.org wrote:=0A= >> On 2. Apr 2021, at 02:07, Rick Macklem wrote:=0A= >>=0A= >> I hope you don't mind a top post...=0A= >> I've been testing network partitioning between the only Linux client=0A= >> I have (5.2 kernel) and a FreeBSD server with the xprtdied.patch=0A= >> (does soshutdown(..SHUT_WR) when it knows the socket is broken)=0A= >> applied to it.=0A= >>=0A= >> I'm not enough of a TCP guy to know if this is useful, but here's what= =0A= >> I see...=0A= >>=0A= >> While partitioned:=0A= >> On the FreeBSD server end, the socket either goes to CLOSED during=0A= >> the network partition or stays ESTABLISHED.=0A= >If it goes to CLOSED you called shutdown(, SHUT_WR) and the peer also=0A= >sent a FIN, but you never called close() on the socket.=0A= >If the socket stays in ESTABLISHED, there is no communication ongoing,=0A= >I guess, and therefore the server does not even detect that the peer=0A= >is not reachable.=0A= >> On the Linux end, the socket seems to remain ESTABLISHED for a=0A= >> little while, and then disappears.=0A= >So how does Linux detect the peer is not reachable?=0A= Well, here's what I see in a packet capture in the Linux client once=0A= I partition it (just unplug the net cable):=0A= - lots of retransmits of the same segment (with ACK) for 54sec=0A= - then only ARP queries=0A= =0A= Once I plug the net cable back in:=0A= - ARP works=0A= - one more retransmit of the same segement=0A= - receives RST from FreeBSD=0A= ** So, is this now a "new" TCP connection, despite=0A= using the same port#.=0A= --> It matters for NFS, since "new connection"=0A= implies "must retry all outstanding RPCs".=0A= - sends SYN=0A= - receives SYN, ACK from FreeBSD=0A= --> connection starts working again=0A= Always uses same port#.=0A= =0A= On the FreeBSD server end:=0A= - receives the last retransmit of the segment (with ACK)=0A= - sends RST=0A= - receives SYN=0A= - sends SYN, ACK=0A= =0A= I thought that there was no RST in the capture I looked at=0A= yesterday, so I'm not sure if FreeBSD always sends an RST,=0A= but the Linux client behaviour was the same. (Sent a SYN, etc).=0A= The socket disappears from the Linux "netstat -a" and I=0A= suspect that happens after about 54sec, but I am not sure=0A= about the timing.=0A= =0A= >>=0A= >> After unpartitioning:=0A= >> On the FreeBSD server end, you get another socket showing up at=0A= >> the same port#=0A= >> Active Internet connections (including servers)=0A= >> Proto Recv-Q Send-Q Local Address Foreign Address (state= )=0A= >> tcp4 0 0 nfsv4-new3.nfsd nfsv4-linux.678 ESTABL= ISHED=0A= >> tcp4 0 0 nfsv4-new3.nfsd nfsv4-linux.678 CLOSED= =0A= >>=0A= >> The Linux client shows the same connection ESTABLISHED.=0A= But disappears from "netstat -a" for a while during the partitioning.=0A= =0A= >> (The mount sometimes reports an error. I haven't looked at packet=0A= >> traces to see if it retries RPCs or why the errors occur.)=0A= I have now done so, as above.=0A= =0A= >> --> However I never get hangs.=0A= >> Sometimes it goes to SYN_SENT for a while and the FreeBSD server=0A= >> shows FIN_WAIT_1, but then both ends go to ESTABLISHED and the=0A= >> mount starts working again.=0A= >>=0A= >> The most obvious thing is that the Linux client always keeps using=0A= >> the same port#. (The FreeBSD client will use a different port# when=0A= >> it does a TCP reconnect after no response from the NFS server for=0A= >> a little while.)=0A= >>=0A= >> What do those TCP conversant think?=0A= >I guess you are you are never calling close() on the socket, for with=0A= >the connection state is CLOSED.=0A= Ok, that makes sense. For this case the Linux client has not done a=0A= BindConnectionToSession to re-assign the back channel.=0A= I'll have to bug them about this. However, I'll bet they'll answer=0A= that I have to tell them the back channel needs re-assignment=0A= or something like that.=0A= =0A= I am pretty certain they are broken, in that the client needs to=0A= retry all outstanding RPCs.=0A= =0A= For others, here's the long winded version of this that I just=0A= put on the phabricator review:=0A= In the server side kernel RPC, the socket (struct socket *) is in a=0A= structure called SVCXPRT (normally pointed to by "xprt").=0A= These structures a ref counted and the soclose() is done=0A= when the ref. cnt goes to zero. My understanding is that=0A= "struct socket *" is free'd by soclose() so this cannot be done=0A= before the xprt ref. cnt goes to zero.=0A= =0A= For NFSv4.1/4.2 there is something called a back channel=0A= which means that a "xprt" is used for server->client RPCs,=0A= although the TCP connection is established by the client=0A= to the server.=0A= --> This back channel holds a ref cnt on "xprt" until the=0A= =0A= client re-assigns it to a different TCP connection=0A= via an operation called BindConnectionToSession=0A= and the Linux client is not doing this soon enough,=0A= it appears.=0A= =0A= So, the soclose() is delayed, which is why I think the=0A= TCP connection gets stuck in CLOSE_WAIT and that is=0A= why I've added the soshutdown(..SHUT_WR) calls,=0A= which can happen before the client gets around to=0A= re-assigning the back channel.=0A= =0A= Thanks for your help with this Michael, rick=0A= =0A= Best regards=0A= Michael=0A= >=0A= > rick=0A= > ps: I can capture packets while doing this, if anyone has a use=0A= > for them.=0A= >=0A= >=0A= >=0A= >=0A= >=0A= >=0A= > ________________________________________=0A= > From: owner-freebsd-net@freebsd.org on be= half of Youssef GHORBAL =0A= > Sent: Saturday, March 27, 2021 6:57 PM=0A= > To: Jason Breitman=0A= > Cc: Rick Macklem; freebsd-net@freebsd.org=0A= > Subject: Re: NFS Mount Hangs=0A= >=0A= > CAUTION: This email originated from outside of the University of Guelph. = Do not click links or open attachments unless you recognize the sender and = know the content is safe. If in doubt, forward suspicious emails to IThelp@= uoguelph.ca=0A= >=0A= >=0A= >=0A= >=0A= > On 27 Mar 2021, at 13:20, Jason Breitman > wrote:=0A= >=0A= > The issue happened again so we can say that disabling TSO and LRO on the = NIC did not resolve this issue.=0A= > # ifconfig lagg0 -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso= =0A= > # ifconfig lagg0=0A= > lagg0: flags=3D8943 metri= c 0 mtu 1500=0A= > options=3D8100b8=0A= >=0A= > We can also say that the sysctl settings did not resolve this issue.=0A= >=0A= > # sysctl net.inet.tcp.fast_finwait2_recycle=3D1=0A= > net.inet.tcp.fast_finwait2_recycle: 0 -> 1=0A= >=0A= > # sysctl net.inet.tcp.finwait2_timeout=3D1000=0A= > net.inet.tcp.finwait2_timeout: 60000 -> 1000=0A= >=0A= > I don=92t think those will do anything in your case since the FIN_WAIT2 a= re on the client side and those sysctls are for BSD.=0A= > By the way it seems that Linux recycles automatically TCP sessions in FIN= _WAIT2 after 60 seconds (sysctl net.ipv4.tcp_fin_timeout)=0A= >=0A= > tcp_fin_timeout (integer; default: 60; since Linux 2.2)=0A= > This specifies how many seconds to wait for a final FIN=0A= > packet before the socket is forcibly closed. This is=0A= > strictly a violation of the TCP specification, but=0A= > required to prevent denial-of-service attacks. In Linux=0A= > 2.2, the default value was 180.=0A= >=0A= > So I don=92t get why it stucks in the FIN_WAIT2 state anyway.=0A= >=0A= > You really need to have a packet capture during the outage (client and se= rver side) so you=92ll get over the wire chat and start speculating from th= ere.=0A= > No need to capture the beginning of the outage for now. All you have to d= o, is run a tcpdump for 10 minutes or so when you notice a client stuck.=0A= >=0A= > * I have not rebooted the NFS Server nor have I restarted nfsd, but do no= t believe that is required as these settings are at the TCP level and I wou= ld expect new sessions to use the updated settings.=0A= >=0A= > The issue occurred after 5 days following a reboot of the client machines= .=0A= > I ran the capture information again to make use of the situation.=0A= >=0A= > #!/bin/sh=0A= >=0A= > while true=0A= > do=0A= > /bin/date >> /tmp/nfs-hang.log=0A= > /bin/ps axHl | grep nfsd | grep -v grep >> /tmp/nfs-hang.log=0A= > /usr/bin/procstat -kk 2947 >> /tmp/nfs-hang.log=0A= > /usr/bin/procstat -kk 2944 >> /tmp/nfs-hang.log=0A= > /bin/sleep 60=0A= > done=0A= >=0A= >=0A= > On the NFS Server=0A= > Active Internet connections (including servers)=0A= > Proto Recv-Q Send-Q Local Address Foreign Address (state)= =0A= > tcp4 0 0 NFS.Server.IP.X.2049 NFS.Client.IP.X.48286 C= LOSE_WAIT=0A= >=0A= > On the NFS Client=0A= > tcp 0 0 NFS.Client.IP.X:48286 NFS.Server.IP.X:2049 = FIN_WAIT2=0A= >=0A= >=0A= >=0A= > You had also asked for the output below.=0A= >=0A= > # nfsstat -E -s=0A= > BackChannelCtBindConnToSes=0A= > 0 0=0A= >=0A= > # sysctl vfs.nfsd.request_space_throttle_count=0A= > vfs.nfsd.request_space_throttle_count: 0=0A= >=0A= > I see that you are testing a patch and I look forward to seeing the resul= ts.=0A= >=0A= >=0A= > Jason Breitman=0A= >=0A= >=0A= > On Mar 21, 2021, at 6:21 PM, Rick Macklem > wrote:=0A= >=0A= > Youssef GHORBAL > wrote:=0A= >> Hi Jason,=0A= >>=0A= >>> On 17 Mar 2021, at 18:17, Jason Breitman > wrote:=0A= >>>=0A= >>> Please review the details below and let me know if there is a setting t= hat I should apply to my FreeBSD NFS Server or if there is a bug fix that I= can apply to resolve my issue.=0A= >>> I shared this information with the linux-nfs mailing list and they beli= eve the issue is on the server side.=0A= >>>=0A= >>> Issue=0A= >>> NFSv4 mounts periodically hang on the NFS Client.=0A= >>>=0A= >>> During this time, it is possible to manually mount from another NFS Ser= ver on the NFS Client having issues.=0A= >>> Also, other NFS Clients are successfully mounting from the NFS Server i= n question.=0A= >>> Rebooting the NFS Client appears to be the only solution.=0A= >>=0A= >> I had experienced a similar weird situation with periodically stuck Linu= x NFS clients >mounting Isilon NFS servers (Isilon is FreeBSD based but the= y seem to have there >own nfsd)=0A= > Yes, my understanding is that Isilon uses a proprietary user space nfsd a= nd=0A= > not the kernel based RPC and nfsd in FreeBSD.=0A= >=0A= >> We=92ve had better luck and we did manage to have packet captures on bot= h sides >during the issue. The gist of it goes like follows:=0A= >>=0A= >> - Data flows correctly between SERVER and the CLIENT=0A= >> - At some point SERVER starts decreasing it's TCP Receive Window until i= t reachs 0=0A= >> - The client (eager to send data) can only ack data sent by SERVER.=0A= >> - When SERVER was done sending data, the client starts sending TCP Windo= w >Probes hoping that the TCP Window opens again so he can flush its buffer= s.=0A= >> - SERVER responds with a TCP Zero Window to those probes.=0A= > Having the window size drop to zero is not necessarily incorrect.=0A= > If the server is overloaded (has a backlog of NFS requests), it can stop = doing=0A= > soreceive() on the socket (so the socket rcv buffer can fill up and the T= CP window=0A= > closes). This results in "backpressure" to stop the NFS client from flood= ing the=0A= > NFS server with requests.=0A= > --> However, once the backlog is handled, the nfsd should start to sorece= ive()=0A= > again and this shouls cause the window to open back up.=0A= > --> Maybe this is broken in the socket/TCP code. I quickly got lost in=0A= > tcp_output() when it decides what to do about the rcvwin.=0A= >=0A= >> - After 6 minutes (the NFS server default Idle timeout) SERVER racefully= closes the >TCP connection sending a FIN Packet (and still a TCP Window 0)= =0A= > This probably does not happen for Jason's case, since the 6minute timeout= =0A= > is disabled when the TCP connection is assigned as a backchannel (most li= kely=0A= > the case for NFSv4.1).=0A= >=0A= >> - CLIENT ACK that FIN.=0A= >> - SERVER goes in FIN_WAIT_2 state=0A= >> - CLIENT closes its half part part of the socket and goes in LAST_ACK st= ate.=0A= >> - FIN is never sent by the client since there still data in its SendQ an= d receiver TCP >Window is still 0. At this stage the client starts sending = TCP Window Probes again >and again hoping that the server opens its TCP Win= dow so it can flush it's buffers >and terminate its side of the socket.=0A= >> - SERVER keeps responding with a TCP Zero Window to those probes.=0A= >> =3D> The last two steps goes on and on for hours/days freezing the NFS m= ount bound >to that TCP session.=0A= >>=0A= >> If we had a situation where CLIENT was responsible for closing the TCP W= indow (and >initiating the TCP FIN first) and server wanting to send data w= e=92ll end up in the same >state as you I think.=0A= >>=0A= >> We=92ve never had the root cause of why the SERVER decided to close the = TCP >Window and no more acccept data, the fix on the Isilon part was to rec= ycle more >aggressively the FIN_WAIT_2 sockets (net.inet.tcp.fast_finwait2_= recycle=3D1 & >net.inet.tcp.finwait2_timeout=3D5000). Once the socket recyc= led and at the next >occurence of CLIENT TCP Window probe, SERVER sends a R= ST, triggering the >teardown of the session on the client side, a new TCP h= andchake, etc and traffic >flows again (NFS starts responding)=0A= >>=0A= >> To avoid rebooting the client (and before the aggressive FIN_WAIT_2 was = >implemented on the Isilon side) we=92ve added a check script on the client= that detects >LAST_ACK sockets on the client and through iptables rule enf= orces a TCP RST, >Something like: -A OUTPUT -p tcp -d $nfs_server_addr --sp= ort $local_port -j REJECT >--reject-with tcp-reset (the script removes this= iptables rule as soon as the LAST_ACK >disappears)=0A= >>=0A= >> The bottom line would be to have a packet capture during the outage (cli= ent and/or >server side), it will show you at least the shape of the TCP ex= change when NFS is >stuck.=0A= > Interesting story and good work w.r.t. sluething, Youssef, thanks.=0A= >=0A= > I looked at Jason's log and it shows everything is ok w.r.t the nfsd thre= ads.=0A= > (They're just waiting for RPC requests.)=0A= > However, I do now think I know why the soclose() does not happen.=0A= > When the TCP connection is assigned as a backchannel, that takes a refere= nce=0A= > cnt on the structure. This refcnt won't be released until the connection = is=0A= > replaced by a BindConnectiotoSession operation from the client. But that = won't=0A= > happen until the client creates a new TCP connection.=0A= > --> No refcnt release-->no refcnt of 0-->no soclose().=0A= >=0A= > I've created the attached patch (completely different from the previous o= ne)=0A= > that adds soshutdown(SHUT_WR) calls in the three places where the TCP=0A= > connection is going away. This seems to get it past CLOSE_WAIT without a= =0A= > soclose().=0A= > --> I know you are not comfortable with patching your server, but I do th= ink=0A= > this change will get the socket shutdown to complete.=0A= >=0A= > There are a couple more things you can check on the server...=0A= > # nfsstat -E -s=0A= > --> Look for the count under "BindConnToSes".=0A= > --> If non-zero, backchannels have been assigned=0A= > # sysctl -a | fgrep request_space_throttle_count=0A= > --> If non-zero, the server has been overloaded at some point.=0A= >=0A= > I think the attached patch might work around the problem.=0A= > The code that should open up the receive window needs to be checked.=0A= > I am also looking at enabling the 6minute timeout when a backchannel is= =0A= > assigned.=0A= >=0A= > rick=0A= >=0A= > Youssef=0A= >=0A= > _______________________________________________=0A= > freebsd-net@freebsd.org mailing list=0A= > https://urldefense.com/v3/__https://lists.freebsd.org/mailman/listinfo/fr= eebsd-net__;!!JFdNOqOXpB6UZW0!_c2MFNbir59GXudWPVdE5bNBm-qqjXeBuJ2UEmFv5OZci= Lj4ObR_drJNv5yryaERfIbhKR2d$=0A= > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= > =0A= >=0A= > =0A= >=0A= > _______________________________________________=0A= > freebsd-net@freebsd.org mailing list=0A= > https://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= > _______________________________________________=0A= > freebsd-net@freebsd.org mailing list=0A= > https://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= =0A= From owner-freebsd-net@freebsd.org Fri Apr 2 22:24:13 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EA1295B4E6D for ; Fri, 2 Apr 2021 22:24:13 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660044.outbound.protection.outlook.com [40.107.66.44]) (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 4FBvjT03SKz4Vfj; Fri, 2 Apr 2021 22:24:12 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BNUjgS/rfggEf/eYA5v92WQR6e3A0oMKRuk92DPXiRAutL3aPxMebyPUEALreCD+p7QRAqvlp1SdAfJ0FpwVca4FJLlN8A9Azeyexbl9Ab96Mwurfsti7jqz7TPn0nmQvlhMpL7AHibseulLicHgGlykCo0kiDnwe+JXRg2SuHgsmI7d+GUgPbVyURmM32hWxXFJlyHMRgJYnV2x+r1e72zqp/18/89cXLOCXQSt/lm8Gms6lhyNJsd5UIc5cl7Q5hO5rBoxES0bXYnOnnmw4TOGAUqt0F8gqeSnVZBFayzcVKyKxxCTkqZj41s4B22XlaVABJwQRThL5iiSF1TOKA== 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-SenderADCheck; bh=vH2XUegZ5D8Q9EQddV5Do3eVxf9ZhblxvJcYMPrLbsU=; b=Ie5jHQxAnlDKbAEi33frEcVR3NMMbioBC5cNJEZTRcb5ZPxL1yNT6uvBCdGTcgqNvqu+MFdDr/kscwa34ei3PPoYbatsvqNqJRRRlhb2M5rbnL+vArQ79C0n3/e+J9F6cmBrYU42tKsakMXQpEc7jOZwl929rQ3oZfhxP1tloUVnn5hkNGCSR1g1ZAW/5xXu6cJoN70M+gXBfq1irTFYaupj2f++h71E6eup3QNgq+N9eiLZiDfW85FKUkMuP1c1MGRbruhjdH74s5xk9otgGdckBQFWc2rni/z1PNdO5fn8mPMmQLW/yMjBMcN6qQZl1kZK/c5YMsKeTK2cwL5/6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uoguelph.ca; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vH2XUegZ5D8Q9EQddV5Do3eVxf9ZhblxvJcYMPrLbsU=; b=n2GO2mgBFuZfHWaNPcxSs1NAbAtZ0/1ojb4ZnFMP6+1zKBBoRg6XJSiJIXCi0LyU9yzM4tkLmgdfe4Lxb/6zHS/E4fQ3Y5s43Ixtos4VyLQGBFALI1TSSmDXVfFz9ozSR0Jalpnu9BxG3bWaHPdPn60b8gIfKPmxj7RTyieJcF4UXCVq1Yci8q6mPMtjrGjDbckGx9fOtazBzX8tc8aWu5i6BzHcK6Hf2XAo/WQ7C0ZEEHGcs4tkOfVJ/R+643/wuDCxt5G6yJu2qucqVrBPfdRCbATi6V+fmaj7PV00hkTAGT8vSqXd9sfmLWZEM4Uzyw5gaayzJaqm7K5iiZsi6A== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQXPR01MB2664.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:44::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.33; Fri, 2 Apr 2021 22:24:10 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::1c05:585a:132a:f08e]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::1c05:585a:132a:f08e%4]) with mapi id 15.20.3977.037; Fri, 2 Apr 2021 22:24:10 +0000 From: Rick Macklem To: "tuexen@freebsd.org" CC: Youssef GHORBAL , "freebsd-net@freebsd.org" Subject: Re: NFS Mount Hangs Thread-Topic: NFS Mount Hangs Thread-Index: AQHXG1G2D7AHBwtmAkS1jBAqNNo2I6qMDIgAgALy8kyACNDugIAAsfOAgAfoFLeAARWpAIAAUOsEgAAUdtg= Date: Fri, 2 Apr 2021 22:24:10 +0000 Message-ID: References: <3750001D-3F1C-4D9A-A9D9-98BCA6CA65A4@tildenparkcapital.com> <33693DE3-7FF8-4FAB-9A75-75576B88A566@tildenparkcapital.com> <8E745920-1092-4312-B251-B49D11FE8028@pasteur.fr> , , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f4a85f5b-cc46-448b-3cd6-08d8f62609e2 x-ms-traffictypediagnostic: YQXPR01MB2664: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:324; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nL2kbaMXN7cK1vpcfZzHIMGsBLqSgJI0pzKiovJGVLgWhWBBg48De/3AfXWJoJJtHo4Nn3ZIWxGNV2pVA9JXy9DwYdE/OcLLyJQL/vExwxMr/z+Q2tGydBmenqIwkaKFIYniEeb8BRplhVgo1urZ/y7rcLAAqNM1T2rBt6LBBqUXId0RDeXcltRJjWMc71QTgxfq+bMuSpe+ADg12bNbhMqdRa04QuE8ZTPaamns/iq5pjplZfIYcrh21NVvAIQm9fkNLYniQb8TaAAjjeMAREz9KUm9oSYxpsTlugeYrLtBiZW3TeEv6FvQiBHlHvFIcGFPani+6Z4yhklzeoqponpwgREGXlDMsFxxYJgdNLvDbm/PrmxHjcO5cyDx0PDXZZKiUHn789a8yMMlEpQFfr1t2d9KEqOZYqcm/y3wJdEusHMbUVm2oX6Y99kck04rq1l5LSLXrW7qnQo1+OzqZfnyEM3dj4nyA3ZRyNGTidJjcftrzJ92SrAydFeJwd4x83/FzD0pDdSeuIM1gGNuvR/VJ8uVCl9bjXtGUJMjN5Ld/G9m5hSZvOe+agSCiJ7MCin83RvKN16//PHDBSMQixcP2x+HMl7smwHk+Fw1L4sX5PH/chL0vrObW/PUTBMV8ImH3AqbNIzeodLUrPPYUo9VGwGv/tFKJIFJ8copjxT7vEUw6xf9vFVz6+9dTk7Ng8GZ3hVstR+qzp+8DY5c9bsPNzIBVQktH+QkPKn55VT8wNnPeOxkv0ba72203hEM x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(396003)(39850400004)(136003)(366004)(346002)(376002)(83380400001)(6916009)(8676002)(8936002)(53546011)(186003)(66446008)(2940100002)(478600001)(316002)(86362001)(66476007)(6506007)(66574015)(5660300002)(4326008)(786003)(52536014)(966005)(66556008)(7696005)(2906002)(66946007)(54906003)(9686003)(30864003)(55016002)(76116006)(3480700007)(71200400001)(64756008)(38100700001)(33656002)(7116003)(91956017); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?Windows-1252?Q?uAuNqOEaxa9H8GxgusTtG3LdryL0Bsj7Zs1kFVRpAgEaMk7aRLuPmmGu?= =?Windows-1252?Q?pN1mHcVdLN00XRlouewNBSmEVNtI7VmtAn9i82tVCjPjk2M2nxDGd8BQ?= =?Windows-1252?Q?+alyB0QF0vx0uwOHg4zElfCnxN6jNw9TtfcSlWquFtE3dsT4xgbRZc+Q?= =?Windows-1252?Q?MabbhqNkn77HatefJ0lXIjgwshhwRqEaQfsNzF8g/xwgzELiJW06lsUW?= =?Windows-1252?Q?QyukbzWFLVa+pY9btBCfJC5wi+VpwsnF7O3MMcluAUjgOBqQY3eYLW5b?= =?Windows-1252?Q?xVWWpbFnCk3gQt9r+2+ilO0psJ/Gj0tbLVVDqKbhHFTUn9XPZH6iQyAs?= =?Windows-1252?Q?cQ7VBLjaOTZ6DezjbnD5U+vlaLOwuNgW3V2S3iQtwXXxIOHFIz/LW7yh?= =?Windows-1252?Q?I/rBZrF/BNryeiwEaaf4ALgzjshYAYnXKY8gstkxA7Ikkuzwdi2o37L6?= =?Windows-1252?Q?1grtl4j50FYL8PrhvwVzwCWjW3vNmC6vkdrDJmr42aP7WDPpe3Mnib6u?= =?Windows-1252?Q?uEvnD3NTURfuq0arAMM5bGHYJyCN5WG77FQCJAMSspJmscD90U7aXavz?= =?Windows-1252?Q?Upm9rrJmLSmnKotWCN1f5VIviLtmAdKLDcVX0iQeTKCJL3RgvQu4+Y/d?= =?Windows-1252?Q?MUUXhCfB2gGLw0X6aRABHUIaVZDMy6TxYPvtlSBxSIf2xtx8oGfmZU2f?= =?Windows-1252?Q?e6AJ8Z9Awvo0s9ZVMxXnEw1vQZ7bpeBPIipPddFGHGoZWCip8zW8vcBk?= =?Windows-1252?Q?jiaquo0k6KGkcBfkFi/3CGTsPrLqqBx96JJSB6V4Y0JNPlfEEeCrUKyU?= =?Windows-1252?Q?i6Qli/Laf9V24lUoiwZcmD0cbqdh0Ld/ViZC1HAaTkTlmKE5X6MvzqHW?= =?Windows-1252?Q?xvFNrimp59tt3DnJNqST8u1GZu2ISZpjDG9t2qAGDvypQEeqHilgNVFx?= =?Windows-1252?Q?UbSkzzEQTSl2MIlt+LATPpIUIJPfsykumzzw9i3eRWcxgInyP/2bNxhU?= =?Windows-1252?Q?9w32FiB9p0pfNnxLrWzh7shoVbPbnYwkGCS/Xxexwsa/ALFwmlY7yzbA?= =?Windows-1252?Q?PKNlpQg9tepjXBgQ6o80VHOAqJb10rl+5bJA/rWWwdPJdfApoNkFm+vX?= =?Windows-1252?Q?qfngeJMksMcGQcXBzSuWd63geJdDnZ7RwQhiCHwkOzjDIVHHW1AcCyF3?= =?Windows-1252?Q?hSm9cgcfE+H1r+HZmDr0RtQ3PNEJJtyoWas1SXQXwhjIFoeixA4XmR8M?= =?Windows-1252?Q?maJVY71MdDLeT6Yw0vrvRZlnqISf90G6cWVOQKM0Th/sDsZJBGjTxZCU?= =?Windows-1252?Q?/yxKfmC8dtS/CB1nMXBA6iPMopkM/WkYqTWTH87tpXE0WVy90gjbkNxU?= =?Windows-1252?Q?ZqhUfvVz+vpY+YVDeeEWZxWxBT7G80/egmP2Z9WA29CsgbkjD4boIbFY?= =?Windows-1252?Q?g4qy/sb/7XywX5098g2NBUVdSPW8nDpA4pWnA4xMlMM=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: f4a85f5b-cc46-448b-3cd6-08d8f62609e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2021 22:24:10.7437 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZqgFVr3goIwW5vrGuFUIp6vu4spRkH3RxEW1WuEgAh5x0kVwhv89I6TJovjrxrepuhpKUGgWMAl5EN4kkAbkIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR01MB2664 X-Rspamd-Queue-Id: 4FBvjT03SKz4Vfj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=uoguelph.ca header.s=selector1 header.b=n2GO2mgB; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=uoguelph.ca; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.66.44 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[uoguelph.ca:+]; DMARC_POLICY_ALLOW(-0.50)[uoguelph.ca,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[40.107.66.44:from]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[uoguelph.ca:s=selector1]; FREEFALL_USER(0.00)[rmacklem]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_LOW(-1.00)[uoguelph.ca:dkim]; SPAMHAUS_ZRD(0.00)[40.107.66.44:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.107.66.44:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.66.44:from]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 22:24:14 -0000 Updating my post slightly...=0A= =0A= tuexen@freebsd.org wrote:=0A= >> On 2. Apr 2021, at 02:07, Rick Macklem wrote:=0A= >>=0A= >> I hope you don't mind a top post...=0A= >> I've been testing network partitioning between the only Linux client=0A= >> I have (5.2 kernel) and a FreeBSD server with the xprtdied.patch=0A= >> (does soshutdown(..SHUT_WR) when it knows the socket is broken)=0A= >> applied to it.=0A= >>=0A= >> I'm not enough of a TCP guy to know if this is useful, but here's what= =0A= >> I see...=0A= >>=0A= >> While partitioned:=0A= >> On the FreeBSD server end, the socket either goes to CLOSED during=0A= >> the network partition or stays ESTABLISHED.=0A= >If it goes to CLOSED you called shutdown(, SHUT_WR) and the peer also=0A= >sent a FIN, but you never called close() on the socket.=0A= >If the socket stays in ESTABLISHED, there is no communication ongoing,=0A= >I guess, and therefore the server does not even detect that the peer=0A= >is not reachable.=0A= >> On the Linux end, the socket seems to remain ESTABLISHED for a=0A= >> little while, and then disappears.=0A= >So how does Linux detect the peer is not reachable?=0A= Well, here's what I see in a packet capture in the Linux client once=0A= I partition it (just unplug the net cable):=0A= - lots of retransmits of the same segment (with ACK) for 54sec=0A= - then only ARP queries=0A= =0A= Once I plug the net cable back in:=0A= - ARP works=0A= - one more retransmit of the same segement=0A= - receives RST from FreeBSD=0A= --> I just did a retest and the above two packets=0A= did not happen. The Linux client went straight=0A= to SYN and there was no RST from FreeBSD.=0A= Otherwise, everything was the same.=0A= ** So, is this now a "new" TCP connection, despite=0A= using the same port#.=0A= --> It matters for NFS, since "new connection"=0A= implies "must retry all outstanding RPCs".=0A= - sends SYN=0A= - receives SYN, ACK from FreeBSD=0A= --> connection starts working again=0A= Always uses same port#.=0A= =0A= On the FreeBSD server end:=0A= - receives the last retransmit of the segment (with ACK)=0A= - sends RST=0A= --> AS above, these two packets did not happen during a=0A= retest.=0A= - receives SYN=0A= - sends SYN, ACK=0A= =0A= I thought that there was no RST in the capture I looked at=0A= yesterday, so I'm not sure if FreeBSD always sends an RST,=0A= but the Linux client behaviour was the same. (Sent a SYN, etc).=0A= --> Just got the non-RST case. The Linux client did not do any=0A= retransmit of the segment after unpartitioning and went=0A= straight to SYN.=0A= The socket disappears from the Linux "netstat -a" and I=0A= suspect that happens after about 54sec, but I am not sure=0A= about the timing.=0A= =0A= >>=0A= >> After unpartitioning:=0A= >> On the FreeBSD server end, you get another socket showing up at=0A= >> the same port#=0A= >> Active Internet connections (including servers)=0A= >> Proto Recv-Q Send-Q Local Address Foreign Address (state= )=0A= >> tcp4 0 0 nfsv4-new3.nfsd nfsv4-linux.678 ESTABL= ISHED=0A= >> tcp4 0 0 nfsv4-new3.nfsd nfsv4-linux.678 CLOSED= =0A= >>=0A= >> The Linux client shows the same connection ESTABLISHED.=0A= But disappears from "netstat -a" for a while during the partitioning.=0A= =0A= >> (The mount sometimes reports an error. I haven't looked at packet=0A= >> traces to see if it retries RPCs or why the errors occur.)=0A= I have now done so, as above.=0A= =0A= >> --> However I never get hangs.=0A= >> Sometimes it goes to SYN_SENT for a while and the FreeBSD server=0A= >> shows FIN_WAIT_1, but then both ends go to ESTABLISHED and the=0A= >> mount starts working again.=0A= >>=0A= >> The most obvious thing is that the Linux client always keeps using=0A= >> the same port#. (The FreeBSD client will use a different port# when=0A= >> it does a TCP reconnect after no response from the NFS server for=0A= >> a little while.)=0A= >>=0A= >> What do those TCP conversant think?=0A= >I guess you are you are never calling close() on the socket, for with=0A= >the connection state is CLOSED.=0A= Ok, that makes sense. For this case the Linux client has not done a=0A= BindConnectionToSession to re-assign the back channel.=0A= I'll have to bug them about this. However, I'll bet they'll answer=0A= that I have to tell them the back channel needs re-assignment=0A= or something like that.=0A= =0A= I am pretty certain they are broken, in that the client needs to=0A= retry all outstanding RPCs.=0A= =0A= For others, here's the long winded version of this that I just=0A= put on the phabricator review:=0A= In the server side kernel RPC, the socket (struct socket *) is in a=0A= structure called SVCXPRT (normally pointed to by "xprt").=0A= These structures a ref counted and the soclose() is done=0A= when the ref. cnt goes to zero. My understanding is that=0A= "struct socket *" is free'd by soclose() so this cannot be done=0A= before the xprt ref. cnt goes to zero.=0A= =0A= For NFSv4.1/4.2 there is something called a back channel=0A= which means that a "xprt" is used for server->client RPCs,=0A= although the TCP connection is established by the client=0A= to the server.=0A= --> This back channel holds a ref cnt on "xprt" until the=0A= =0A= client re-assigns it to a different TCP connection=0A= via an operation called BindConnectionToSession=0A= and the Linux client is not doing this soon enough,=0A= it appears.=0A= =0A= So, the soclose() is delayed, which is why I think the=0A= TCP connection gets stuck in CLOSE_WAIT and that is=0A= why I've added the soshutdown(..SHUT_WR) calls,=0A= which can happen before the client gets around to=0A= re-assigning the back channel.=0A= =0A= Thanks for your help with this Michael, rick=0A= =0A= Best regards=0A= Michael=0A= >=0A= > rick=0A= > ps: I can capture packets while doing this, if anyone has a use=0A= > for them.=0A= >=0A= >=0A= >=0A= >=0A= >=0A= >=0A= > ________________________________________=0A= > From: owner-freebsd-net@freebsd.org on be= half of Youssef GHORBAL =0A= > Sent: Saturday, March 27, 2021 6:57 PM=0A= > To: Jason Breitman=0A= > Cc: Rick Macklem; freebsd-net@freebsd.org=0A= > Subject: Re: NFS Mount Hangs=0A= >=0A= > CAUTION: This email originated from outside of the University of Guelph. = Do not click links or open attachments unless you recognize the sender and = know the content is safe. If in doubt, forward suspicious emails to IThelp@= uoguelph.ca=0A= >=0A= >=0A= >=0A= >=0A= > On 27 Mar 2021, at 13:20, Jason Breitman > wrote:=0A= >=0A= > The issue happened again so we can say that disabling TSO and LRO on the = NIC did not resolve this issue.=0A= > # ifconfig lagg0 -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso= =0A= > # ifconfig lagg0=0A= > lagg0: flags=3D8943 metri= c 0 mtu 1500=0A= > options=3D8100b8=0A= >=0A= > We can also say that the sysctl settings did not resolve this issue.=0A= >=0A= > # sysctl net.inet.tcp.fast_finwait2_recycle=3D1=0A= > net.inet.tcp.fast_finwait2_recycle: 0 -> 1=0A= >=0A= > # sysctl net.inet.tcp.finwait2_timeout=3D1000=0A= > net.inet.tcp.finwait2_timeout: 60000 -> 1000=0A= >=0A= > I don=92t think those will do anything in your case since the FIN_WAIT2 a= re on the client side and those sysctls are for BSD.=0A= > By the way it seems that Linux recycles automatically TCP sessions in FIN= _WAIT2 after 60 seconds (sysctl net.ipv4.tcp_fin_timeout)=0A= >=0A= > tcp_fin_timeout (integer; default: 60; since Linux 2.2)=0A= > This specifies how many seconds to wait for a final FIN=0A= > packet before the socket is forcibly closed. This is=0A= > strictly a violation of the TCP specification, but=0A= > required to prevent denial-of-service attacks. In Linux=0A= > 2.2, the default value was 180.=0A= >=0A= > So I don=92t get why it stucks in the FIN_WAIT2 state anyway.=0A= >=0A= > You really need to have a packet capture during the outage (client and se= rver side) so you=92ll get over the wire chat and start speculating from th= ere.=0A= > No need to capture the beginning of the outage for now. All you have to d= o, is run a tcpdump for 10 minutes or so when you notice a client stuck.=0A= >=0A= > * I have not rebooted the NFS Server nor have I restarted nfsd, but do no= t believe that is required as these settings are at the TCP level and I wou= ld expect new sessions to use the updated settings.=0A= >=0A= > The issue occurred after 5 days following a reboot of the client machines= .=0A= > I ran the capture information again to make use of the situation.=0A= >=0A= > #!/bin/sh=0A= >=0A= > while true=0A= > do=0A= > /bin/date >> /tmp/nfs-hang.log=0A= > /bin/ps axHl | grep nfsd | grep -v grep >> /tmp/nfs-hang.log=0A= > /usr/bin/procstat -kk 2947 >> /tmp/nfs-hang.log=0A= > /usr/bin/procstat -kk 2944 >> /tmp/nfs-hang.log=0A= > /bin/sleep 60=0A= > done=0A= >=0A= >=0A= > On the NFS Server=0A= > Active Internet connections (including servers)=0A= > Proto Recv-Q Send-Q Local Address Foreign Address (state)= =0A= > tcp4 0 0 NFS.Server.IP.X.2049 NFS.Client.IP.X.48286 C= LOSE_WAIT=0A= >=0A= > On the NFS Client=0A= > tcp 0 0 NFS.Client.IP.X:48286 NFS.Server.IP.X:2049 = FIN_WAIT2=0A= >=0A= >=0A= >=0A= > You had also asked for the output below.=0A= >=0A= > # nfsstat -E -s=0A= > BackChannelCtBindConnToSes=0A= > 0 0=0A= >=0A= > # sysctl vfs.nfsd.request_space_throttle_count=0A= > vfs.nfsd.request_space_throttle_count: 0=0A= >=0A= > I see that you are testing a patch and I look forward to seeing the resul= ts.=0A= >=0A= >=0A= > Jason Breitman=0A= >=0A= >=0A= > On Mar 21, 2021, at 6:21 PM, Rick Macklem > wrote:=0A= >=0A= > Youssef GHORBAL > wrote:=0A= >> Hi Jason,=0A= >>=0A= >>> On 17 Mar 2021, at 18:17, Jason Breitman > wrote:=0A= >>>=0A= >>> Please review the details below and let me know if there is a setting t= hat I should apply to my FreeBSD NFS Server or if there is a bug fix that I= can apply to resolve my issue.=0A= >>> I shared this information with the linux-nfs mailing list and they beli= eve the issue is on the server side.=0A= >>>=0A= >>> Issue=0A= >>> NFSv4 mounts periodically hang on the NFS Client.=0A= >>>=0A= >>> During this time, it is possible to manually mount from another NFS Ser= ver on the NFS Client having issues.=0A= >>> Also, other NFS Clients are successfully mounting from the NFS Server i= n question.=0A= >>> Rebooting the NFS Client appears to be the only solution.=0A= >>=0A= >> I had experienced a similar weird situation with periodically stuck Linu= x NFS clients >mounting Isilon NFS servers (Isilon is FreeBSD based but the= y seem to have there >own nfsd)=0A= > Yes, my understanding is that Isilon uses a proprietary user space nfsd a= nd=0A= > not the kernel based RPC and nfsd in FreeBSD.=0A= >=0A= >> We=92ve had better luck and we did manage to have packet captures on bot= h sides >during the issue. The gist of it goes like follows:=0A= >>=0A= >> - Data flows correctly between SERVER and the CLIENT=0A= >> - At some point SERVER starts decreasing it's TCP Receive Window until i= t reachs 0=0A= >> - The client (eager to send data) can only ack data sent by SERVER.=0A= >> - When SERVER was done sending data, the client starts sending TCP Windo= w >Probes hoping that the TCP Window opens again so he can flush its buffer= s.=0A= >> - SERVER responds with a TCP Zero Window to those probes.=0A= > Having the window size drop to zero is not necessarily incorrect.=0A= > If the server is overloaded (has a backlog of NFS requests), it can stop = doing=0A= > soreceive() on the socket (so the socket rcv buffer can fill up and the T= CP window=0A= > closes). This results in "backpressure" to stop the NFS client from flood= ing the=0A= > NFS server with requests.=0A= > --> However, once the backlog is handled, the nfsd should start to sorece= ive()=0A= > again and this shouls cause the window to open back up.=0A= > --> Maybe this is broken in the socket/TCP code. I quickly got lost in=0A= > tcp_output() when it decides what to do about the rcvwin.=0A= >=0A= >> - After 6 minutes (the NFS server default Idle timeout) SERVER racefully= closes the >TCP connection sending a FIN Packet (and still a TCP Window 0)= =0A= > This probably does not happen for Jason's case, since the 6minute timeout= =0A= > is disabled when the TCP connection is assigned as a backchannel (most li= kely=0A= > the case for NFSv4.1).=0A= >=0A= >> - CLIENT ACK that FIN.=0A= >> - SERVER goes in FIN_WAIT_2 state=0A= >> - CLIENT closes its half part part of the socket and goes in LAST_ACK st= ate.=0A= >> - FIN is never sent by the client since there still data in its SendQ an= d receiver TCP >Window is still 0. At this stage the client starts sending = TCP Window Probes again >and again hoping that the server opens its TCP Win= dow so it can flush it's buffers >and terminate its side of the socket.=0A= >> - SERVER keeps responding with a TCP Zero Window to those probes.=0A= >> =3D> The last two steps goes on and on for hours/days freezing the NFS m= ount bound >to that TCP session.=0A= >>=0A= >> If we had a situation where CLIENT was responsible for closing the TCP W= indow (and >initiating the TCP FIN first) and server wanting to send data w= e=92ll end up in the same >state as you I think.=0A= >>=0A= >> We=92ve never had the root cause of why the SERVER decided to close the = TCP >Window and no more acccept data, the fix on the Isilon part was to rec= ycle more >aggressively the FIN_WAIT_2 sockets (net.inet.tcp.fast_finwait2_= recycle=3D1 & >net.inet.tcp.finwait2_timeout=3D5000). Once the socket recyc= led and at the next >occurence of CLIENT TCP Window probe, SERVER sends a R= ST, triggering the >teardown of the session on the client side, a new TCP h= andchake, etc and traffic >flows again (NFS starts responding)=0A= >>=0A= >> To avoid rebooting the client (and before the aggressive FIN_WAIT_2 was = >implemented on the Isilon side) we=92ve added a check script on the client= that detects >LAST_ACK sockets on the client and through iptables rule enf= orces a TCP RST, >Something like: -A OUTPUT -p tcp -d $nfs_server_addr --sp= ort $local_port -j REJECT >--reject-with tcp-reset (the script removes this= iptables rule as soon as the LAST_ACK >disappears)=0A= >>=0A= >> The bottom line would be to have a packet capture during the outage (cli= ent and/or >server side), it will show you at least the shape of the TCP ex= change when NFS is >stuck.=0A= > Interesting story and good work w.r.t. sluething, Youssef, thanks.=0A= >=0A= > I looked at Jason's log and it shows everything is ok w.r.t the nfsd thre= ads.=0A= > (They're just waiting for RPC requests.)=0A= > However, I do now think I know why the soclose() does not happen.=0A= > When the TCP connection is assigned as a backchannel, that takes a refere= nce=0A= > cnt on the structure. This refcnt won't be released until the connection = is=0A= > replaced by a BindConnectiotoSession operation from the client. But that = won't=0A= > happen until the client creates a new TCP connection.=0A= > --> No refcnt release-->no refcnt of 0-->no soclose().=0A= >=0A= > I've created the attached patch (completely different from the previous o= ne)=0A= > that adds soshutdown(SHUT_WR) calls in the three places where the TCP=0A= > connection is going away. This seems to get it past CLOSE_WAIT without a= =0A= > soclose().=0A= > --> I know you are not comfortable with patching your server, but I do th= ink=0A= > this change will get the socket shutdown to complete.=0A= >=0A= > There are a couple more things you can check on the server...=0A= > # nfsstat -E -s=0A= > --> Look for the count under "BindConnToSes".=0A= > --> If non-zero, backchannels have been assigned=0A= > # sysctl -a | fgrep request_space_throttle_count=0A= > --> If non-zero, the server has been overloaded at some point.=0A= >=0A= > I think the attached patch might work around the problem.=0A= > The code that should open up the receive window needs to be checked.=0A= > I am also looking at enabling the 6minute timeout when a backchannel is= =0A= > assigned.=0A= >=0A= > rick=0A= >=0A= > Youssef=0A= >=0A= > _______________________________________________=0A= > freebsd-net@freebsd.org mailing list=0A= > https://urldefense.com/v3/__https://lists.freebsd.org/mailman/listinfo/fr= eebsd-net__;!!JFdNOqOXpB6UZW0!_c2MFNbir59GXudWPVdE5bNBm-qqjXeBuJ2UEmFv5OZci= Lj4ObR_drJNv5yryaERfIbhKR2d$=0A= > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= > =0A= >=0A= > =0A= >=0A= > _______________________________________________=0A= > freebsd-net@freebsd.org mailing list=0A= > https://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= > _______________________________________________=0A= > freebsd-net@freebsd.org mailing list=0A= > https://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= =0A= _______________________________________________=0A= freebsd-net@freebsd.org mailing list=0A= https://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= From owner-freebsd-net@freebsd.org Sat Apr 3 04:30:44 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D56F05BF087 for ; Sat, 3 Apr 2021 04:30:44 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FC3rN0lx0z4tL6 for ; Sat, 3 Apr 2021 04:30:43 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id w28so9986871lfn.2 for ; Fri, 02 Apr 2021 21:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ov6teUYdgd/Us8Hvi9DtQv/6GbTvXRNouPXnQwHDF6E=; b=t1fGZR66ytkzYhFKVTNuthLGWNhHzThMZI3MPMduPx8Nnhu4+o+ATUA1RyrYb/sjDg Hjb/Y8cszCpm0loEjcXjY7h17/42fhYVnCdomUG+F/LePf3MtIKsj+IrNPpeny6dHahy hgdLZfkfVGePYZFT/y3L3tnWH6eBy0NGEwIkyQ+3s+kREAMYPRRju2x1Zw5K2KugNHW5 HlOVSRQ3aEZybeU1VtoqfVxFDEtVKV5G5r+DZrcsNfBBL5iKr8MxnZo8o1ubznbY5Jvr xGPCh+61gVHm76EzFlG5gBmewH0D5/VTstXjOJ30yGNNxtUtklQv638aibnlLc3kAXRK 3L2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ov6teUYdgd/Us8Hvi9DtQv/6GbTvXRNouPXnQwHDF6E=; b=PssJa5t0kqSzppyGwCsUrLhfAer0A+OiTSuyQCfxGBpSqW/g6weAMU9cTBPGeo3L3F gAu8is/TJNYahIIPcn3vRFUm7wEUpjw0ytaTn73Zv86RmXhE+fexIVKasl9ZzgbvPXh5 Ys9AQaKjY6FBFhiN4Nzk0ZMPccEhXWeqZk6Yc9eQBGTnjbvNhiK9YcI5yrNrqgrp9xYO 67QpUtsG0bDCMwB6mW1QVD6h/j6M87g3T7r7pXomKMMhkwwncIZiVK8npnMntth96Aik GCQ0cAeqNIxKlUUJI1DdTLzqXdPogTxOLeAL/5pjjU6QRk3igx971ux9I3Qks4eqScPC lmjA== X-Gm-Message-State: AOAM533HY5XVs8+K+zRGRwiTWJeOKxqiDCsRC4EpyPlKTXK/W1UiwQBM n2mPozAbrxv1Iz5R9+5hHEw= X-Google-Smtp-Source: ABdhPJx8Vp7rLi42TnTWkvAwzhkVXeyYKHqnx97eSlLaMIfVvBmFg6tZUc5RB5n1748TIW+OAShUnA== X-Received: by 2002:a19:e347:: with SMTP id c7mr10407916lfk.632.1617424241561; Fri, 02 Apr 2021 21:30:41 -0700 (PDT) Received: from rimwks.local ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id c14sm1038957lfp.269.2021.04.02.21.30.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Apr 2021 21:30:41 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Sat, 3 Apr 2021 07:30:39 +0300 To: Abelenda Diego Cc: freebsd-net@freebsd.org Subject: Re: Multicast issue, interface not leaving Mutlicast Group Message-ID: <20210403073039.5a58fed3@rimwks.local> In-Reply-To: <20200807152525.711d4072@debian> References: <20200807152525.711d4072@debian> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FC3rN0lx0z4tL6 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=t1fGZR66; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rozhukim@gmail.com designates 2a00:1450:4864:20::12e as permitted sender) smtp.mailfrom=rozhukim@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::12e:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::12e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12e:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 04:30:44 -0000 On Fri, 7 Aug 2020 15:25:25 +0200 Abelenda Diego wrote: > Hello, > > I have discovered that I had a multicast issue for years I did not > know about. I use a FreeBSD (opnsense) setup as router for my home > network and have igmpproxy for IPTV. Somehow everything seems to > work, until I realized that my ISP was making a DoS with multicast. > It is pretty much what was described years ago here: > https://forum.netgate.com/topic/62591/igmp-issues-causing-isp-to-perform-multicast-dos-on-my-pfsense/7. > But the solution of not using FreeBSD seem weird. So dug a lot > learning about Multicast IGMPv{2,3} etc in the process. Here is an > abstract of what I found: > > > igmpproxy is performing "correctly" in that it will act upon to > IGMPv2 Join request from the TV box by joining the multicast groups > correctly. When the TV Box sends an IGMPv2 Leave request, igmpproxy > will remove the source IP from the multicast table on the interface > (the code is here > https://github.com/pali/igmpproxy/blob/b7940fc75b36d5bcc3a07654fc1af76f179302a9/src/mcgroup.c#L58-L60 > this same call is used for joining and leaving). > You can drop all this and just forward (bridge) all multicast: http://netlab.dhis.org/wiki/ru:software:freebsd:igmpproxy_on_netgraph https://lists.freebsd.org/pipermail/freebsd-net/2011-December/030643.html From owner-freebsd-net@freebsd.org Sat Apr 3 06:20:15 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A0C685C0EE9 for ; Sat, 3 Apr 2021 06:20:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC6Gj3hp2z3GNb for ; Sat, 3 Apr 2021 06:20:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9274E5C11C6; Sat, 3 Apr 2021 06:20:12 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7787B5C0EE4 for ; Sat, 3 Apr 2021 06:20: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 4FC6Gf5Pkyz3GM6 for ; Sat, 3 Apr 2021 06:20:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 BEAD25BF5 for ; Sat, 3 Apr 2021 06:20:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1336K8Hk089699 for ; Sat, 3 Apr 2021 06:20:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1336K8h7089698 for net@FreeBSD.org; Sat, 3 Apr 2021 06:20:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254735] rack and bbr panic Date: Sat, 03 Apr 2021 06:20:09 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 06:20:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254735 rozhuk.im@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 07:53:22 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C76EA5C3251 for ; Sat, 3 Apr 2021 07:53:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC8LB51Myz3MLT for ; Sat, 3 Apr 2021 07:53:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AC0905C3384; Sat, 3 Apr 2021 07:53:22 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ABCA25C3250 for ; Sat, 3 Apr 2021 07:53:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FC8LB4K5dz3MGC for ; Sat, 3 Apr 2021 07:53:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 8726C739F for ; Sat, 3 Apr 2021 07:53:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1337rMr5039469 for ; Sat, 3 Apr 2021 07:53:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1337rMpx039468 for net@FreeBSD.org; Sat, 3 Apr 2021 07:53:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254735] [tcp] rack and bbr panic Date: Sat, 03 Apr 2021 07:53:22 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc short_desc 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 07:53:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254735 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tuexen@freebsd.org Summary|rack and bbr panic |[tcp] rack and bbr panic --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 07:57:24 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ECB8D5C34FA for ; Sat, 3 Apr 2021 07:57:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC8Qr5ytQz3MmT for ; Sat, 3 Apr 2021 07:57:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CC0585C3619; Sat, 3 Apr 2021 07:57:24 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CBA825C375C for ; Sat, 3 Apr 2021 07:57:24 +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 4FC8Qr5C8qz3MmR for ; Sat, 3 Apr 2021 07:57:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A007F72DC for ; Sat, 3 Apr 2021 07:57:24 +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 1337vOq0040124 for ; Sat, 3 Apr 2021 07:57:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1337vOa8040123 for net@FreeBSD.org; Sat, 3 Apr 2021 07:57:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254735] [tcp] rack and bbr panic Date: Sat, 03 Apr 2021 07:57:24 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 07:57:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254735 --- Comment #1 from Michael Tuexen --- Are the problem reproducible? If yes, how? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 08:54:47 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 561255C542A for ; Sat, 3 Apr 2021 08:54:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC9j31gdzz3R9T for ; Sat, 3 Apr 2021 08:54:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 394825C4EE6; Sat, 3 Apr 2021 08:54:47 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 38F9D5C532F for ; Sat, 3 Apr 2021 08:54: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 4FC9j30nwyz3R2R for ; Sat, 3 Apr 2021 08:54:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 0CB6C10396 for ; Sat, 3 Apr 2021 08:54: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 1338skav071420 for ; Sat, 3 Apr 2021 08:54:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1338skf6071419 for net@FreeBSD.org; Sat, 3 Apr 2021 08:54:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254735] [tcp] rack and bbr panic Date: Sat, 03 Apr 2021 08:54:46 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 08:54:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254735 --- Comment #2 from rozhuk.im@gmail.com --- (In reply to Michael Tuexen from comment #1) IMHO configs provided by links should be enough to reproduce configuration. Panic happen after some time (1-10 min) after I set net.inet.tcp.functions_default=3Drack or bbr. This is home router/firewall/webserver/samba/rtorrent/ssh server. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 09:09:26 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 706065C566D for ; Sat, 3 Apr 2021 09:09:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCB1y2RVBz3hK8 for ; Sat, 3 Apr 2021 09:09:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 511975C5896; Sat, 3 Apr 2021 09:09:26 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4F5675C5895 for ; Sat, 3 Apr 2021 09:09:26 +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 4FCB1y1P1kz3hVN for ; Sat, 3 Apr 2021 09:09:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1BB5110617 for ; Sat, 3 Apr 2021 09:09:26 +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 13399QMm075576 for ; Sat, 3 Apr 2021 09:09:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13399Qua075575 for net@FreeBSD.org; Sat, 3 Apr 2021 09:09:26 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 254735] [tcp] rack and bbr panic Date: Sat, 03 Apr 2021 09:09:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 09:09:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254735 --- Comment #3 from Michael Tuexen --- (In reply to rozhuk.im from comment #2) I agree about the config. Was asking about some specific things to do to reproduce it (like ssh into the box) or something else. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 09:29:51 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B05A35C620C for ; Sat, 3 Apr 2021 09:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCBTW4K3Kz3jYK for ; Sat, 3 Apr 2021 09:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 940325C6196; Sat, 3 Apr 2021 09:29:51 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93B625C6030 for ; Sat, 3 Apr 2021 09:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCBTW3Yp5z3jdX for ; Sat, 3 Apr 2021 09:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 68A9B10A8A for ; Sat, 3 Apr 2021 09:29:51 +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 1339TpAf085063 for ; Sat, 3 Apr 2021 09:29:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1339TpRD085062 for net@FreeBSD.org; Sat, 3 Apr 2021 09:29:51 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 254735] [tcp] rack and bbr panic Date: Sat, 03 Apr 2021 09:29:51 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 09:29:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254735 --- Comment #4 from rozhuk.im@gmail.com --- (In reply to Michael Tuexen from comment #3) Nothing specific that I could describe. Probably some strange tcp traffic from internet by www/torrent/ssh. One rule in PF with "flags S/SA synproxy state", few with "flags S/SA modul= ate state". Probably only sysctl.conf would be enough. This is old bug for me, from 12, I do not report because first reply was "t= ry with current", and with current in vbox it does not panic. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 09:49:03 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 967315C69CA for ; Sat, 3 Apr 2021 09:49:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCBvg3ThQz3kW6 for ; Sat, 3 Apr 2021 09:49:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 755FF5C69C9; Sat, 3 Apr 2021 09:49:03 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 751BA5C6954 for ; Sat, 3 Apr 2021 09:49:03 +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 4FCBvg2nrlz3l1S for ; Sat, 3 Apr 2021 09:49:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 504F010D55 for ; Sat, 3 Apr 2021 09:49:03 +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 1339n3ML094176 for ; Sat, 3 Apr 2021 09:49:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1339n36I094175 for net@FreeBSD.org; Sat, 3 Apr 2021 09:49:03 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 254735] [tcp] rack and bbr panic Date: Sat, 03 Apr 2021 09:49:02 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 09:49:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254735 --- Comment #5 from Michael Tuexen --- (In reply to rozhuk.im from comment #4) So to be clear: (a) This bug happens on stable/13 of some days ago (b) This bug does not happen on current Are both statements correct? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 11:00:38 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D2F6D5C7FE3 for ; Sat, 3 Apr 2021 11:00:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCDVG5HGgz3pSq for ; Sat, 3 Apr 2021 11:00:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B35A55C7FE2; Sat, 3 Apr 2021 11:00:38 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B32115C7FE1 for ; Sat, 3 Apr 2021 11:00:38 +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 4FCDVG4P6Cz3p8D for ; Sat, 3 Apr 2021 11:00:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 892AC11C51 for ; Sat, 3 Apr 2021 11:00:38 +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 133B0cBJ036119 for ; Sat, 3 Apr 2021 11:00:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 133B0c9Y036118 for net@FreeBSD.org; Sat, 3 Apr 2021 11:00:38 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 254735] [tcp] rack and bbr panic Date: Sat, 03 Apr 2021 11:00:38 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 11:00:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254735 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 11:02:23 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C67065B01B3 for ; Sat, 3 Apr 2021 11:02:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCDXH4txkz3pgc for ; Sat, 3 Apr 2021 11:02:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A7A2B5B05AC; Sat, 3 Apr 2021 11:02:23 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A75E45B01B2 for ; Sat, 3 Apr 2021 11:02:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCDXH46yVz3pgb for ; Sat, 3 Apr 2021 11:02:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 7FD0E11EA2 for ; Sat, 3 Apr 2021 11:02:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 133B2NZ4039099 for ; Sat, 3 Apr 2021 11:02:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 133B2N41039097 for net@FreeBSD.org; Sat, 3 Apr 2021 11:02:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254725] 13.0-RC4 crash tcp_lro Date: Sat, 03 Apr 2021 11:02:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 11:02:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254725 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |panic --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 11:38:20 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5E8AE5B15B2 for ; Sat, 3 Apr 2021 11:38:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCFKm1wQgz3rt8 for ; Sat, 3 Apr 2021 11:38:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3F4CC5B13CA; Sat, 3 Apr 2021 11:38:20 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3EE525B13C9 for ; Sat, 3 Apr 2021 11:38:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCFKm0vZGz3rqn for ; Sat, 3 Apr 2021 11:38:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 10DAD122B1 for ; Sat, 3 Apr 2021 11:38:20 +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 133BcKTD057877 for ; Sat, 3 Apr 2021 11:38:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 133BcKM8057876 for net@FreeBSD.org; Sat, 3 Apr 2021 11:38:20 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 253888] exclusive sleep mutex vtnet0-rx0 (vtnet0-rx0) r = 0 (0xfffff800035d4780) locked Date: Sat, 03 Apr 2021 11:38:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 11:38:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253888 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --- Comment #1 from Mark Linimon --- ^Triage: assign to net@ (appears to be provoked by ipv6 usage). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Apr 3 17:05:05 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 581CE5B98E0 for ; Sat, 3 Apr 2021 17:05:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCNZn1bBtz4h89 for ; Sat, 3 Apr 2021 17:05:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2A7385B94BC; Sat, 3 Apr 2021 17:05:05 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 29ED75B9913 for ; Sat, 3 Apr 2021 17:05:05 +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 4FCNZn0MFXz4h88 for ; Sat, 3 Apr 2021 17:05:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 F1E811684A for ; Sat, 3 Apr 2021 17:05:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 133H546c048945 for ; Sat, 3 Apr 2021 17:05:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 133H54Nj048944 for net@FreeBSD.org; Sat, 3 Apr 2021 17:05:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 193953] vlan(4) on LACP lagg(4) do not update if_baudrate value and thus SNMP daemons do not provide high capacity counters Date: Sat, 03 Apr 2021 17:05:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 17:05:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193953 --- Comment #10 from Marek Zarychta --- High capacity counters are now available for these interfaces. Probably tim= e to close this bug. --=20 You are receiving this mail because: You are the assignee for the bug.=