From nobody Mon Jun 28 04:01:03 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 19EEF11D4B9C for ; Mon, 28 Jun 2021 04:01: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 4GCv6Q70bGz3qGD for ; Mon, 28 Jun 2021 04:01: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 D80FB1E9E8 for ; Mon, 28 Jun 2021 04:01: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 15S412Wv058383 for ; Mon, 28 Jun 2021 04:01:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15S4122d058382 for net@FreeBSD.org; Mon, 28 Jun 2021 04:01:02 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 255872] netgraph/bluetooth/hci: Fix a use after free in le_connection_complete Date: Mon, 28 Jun 2021 04:01: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: CURRENT 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: takawata@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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255872 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D766da930f994bc0fe27cc9235f0594a6c= 4e0a88f commit 766da930f994bc0fe27cc9235f0594a6c4e0a88f Author: Takanori Watanabe AuthorDate: 2021-05-26 09:23:33 +0000 Commit: Takanori Watanabe CommitDate: 2021-06-28 03:58:48 +0000 Fix a use-after-free in an error case. PR: 255872 Submitted by: lylgood Differential Revision: https://reviews.freebsd.org/D30454 (cherry picked from commit 14803ec8d193d8d46f4137a7dba61b277c6a2fed) sys/netgraph/bluetooth/hci/ng_hci_evnt.c | 1 + 1 file changed, 1 insertion(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Jun 28 04:02:05 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 27A7911D5382 for ; Mon, 28 Jun 2021 04:02:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GCv7d5h5gz3qx6 for ; Mon, 28 Jun 2021 04:02: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 691891EC8A for ; Mon, 28 Jun 2021 04:02: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 15S425rv060241 for ; Mon, 28 Jun 2021 04:02:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15S425D6060240 for net@FreeBSD.org; Mon, 28 Jun 2021 04:02: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 255872] netgraph/bluetooth/hci: Fix a use after free in le_connection_complete Date: Mon, 28 Jun 2021 04:02: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: CURRENT 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: takawata@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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255872 --- Comment #8 from commit-hook@FreeBSD.org --- A commit in branch stable/11 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D7bbd5ebae80b52a87d62164a04221752e= fa8fd50 commit 7bbd5ebae80b52a87d62164a04221752efa8fd50 Author: Takanori Watanabe AuthorDate: 2021-05-26 09:23:33 +0000 Commit: Takanori Watanabe CommitDate: 2021-06-28 04:00:51 +0000 Fix a use-after-free in an error case. PR: 255872 Submitted by: lylgood Differential Revision: https://reviews.freebsd.org/D30454 (cherry picked from commit 14803ec8d193d8d46f4137a7dba61b277c6a2fed) sys/netgraph/bluetooth/hci/ng_hci_evnt.c | 1 + 1 file changed, 1 insertion(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Jun 28 04:02:43 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2452C11D56D5 for ; Mon, 28 Jun 2021 04:02: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 4GCv8N0FyBz3r90 for ; Mon, 28 Jun 2021 04:02: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 E52061EAB2 for ; Mon, 28 Jun 2021 04:02: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 15S42h0x063274 for ; Mon, 28 Jun 2021 04:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15S42hbs063273 for net@FreeBSD.org; Mon, 28 Jun 2021 04:02: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 255872] netgraph/bluetooth/hci: Fix a use after free in le_connection_complete Date: Mon, 28 Jun 2021 04:02:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: takawata@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: takawata@FreeBSD.org X-Bugzilla-Flags: mfc-stable13+ mfc-stable12+ mfc-stable11+ X-Bugzilla-Changed-Fields: flagtypes.name resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255872 Takanori Watanabe changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable12?, |mfc-stable12+, |mfc-stable11? |mfc-stable11+ Resolution|--- |FIXED Status|In Progress |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Jun 28 08:10:42 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8A99711E09A3 for ; Mon, 28 Jun 2021 08:10: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 4GD0fW3Hv2z4ZRy for ; Mon, 28 Jun 2021 08:10: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 5945222080 for ; Mon, 28 Jun 2021 08:10: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 15S8Ah5l086393 for ; Mon, 28 Jun 2021 08:10:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15S8AhZM086392 for net@FreeBSD.org; Mon, 28 Jun 2021 08:10: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 254514] vnet: /sbin/ifconfig epair10b vnet $name getting stuck if one CPU is busy Date: Mon, 28 Jun 2021 08:10:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jeffrey@gelens.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254514 Jeffrey Gelens changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffrey@gelens.org --- Comment #3 from Jeffrey Gelens --- This problem hits me as well: ```load: 1.48 cmd: ifconfig 1272 [runnable] 18.73r 0.00u 0.00s 0% 3020k mi_switch+0xc1 sched_bind+0x74 epoch_drain_callbacks+0x15c if_detach_internal+0x60 if_vmove+0x3c ifhwioctl+0x1013 ifioctl+0x50c kern_ioctl+0x26d sys_ioctl+0xf6 amd64_syscall+0x10c fast_syscall_common+0xf8 ``` Any luck on the fix? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jun 28 10:36:45 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 934EE11E757F for ; Mon, 28 Jun 2021 10:36: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 4GD3v13VXpz4kPs for ; Mon, 28 Jun 2021 10:36: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 5D2C123A56 for ; Mon, 28 Jun 2021 10:36: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 15SAajru062027 for ; Mon, 28 Jun 2021 10:36:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15SAajZZ062026 for net@FreeBSD.org; Mon, 28 Jun 2021 10:36: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 256819] dummynet in monolithic kernel broken on stable/12-n233319-c419c8231fb arm64 on AWS Date: Mon, 28 Jun 2021 10:36:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256819 Marek Zarychta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarychtam@plan-b.pwste.edu. | |pl --- Comment #2 from Marek Zarychta --- On June 17th dummynet got VNETified on stable/{12,13}[1][2][3]. I can confi= rm my setup with simple pipes working on stable/13 after that, but some aforementioned counters are empty like in the PR above, for example, net.inet.ip.dummynet.io_pkt_{,fast}. To make it working again, please try to revert [3][2][1] [1] https://cgit.freebsd.org/src/commit/?id=3D14cde6b5b12d32d7d5374f3766c0e06ae= 0ca3303 [2] https://cgit.freebsd.org/src/commit/?id=3Dbc90a9cb0a741315ed6a43807b781acd2= bd0957c [3] https://cgit.freebsd.org/src/commit/?id=3D719f6456fbdee54f94109f945d7d945b2= abf9589 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jun 29 00:23:21 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7445811D7107 for ; Tue, 29 Jun 2021 00:23:24 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-to1can01on0603.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5d::603]) (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 4GDQDq3HvVz4qdb for ; Tue, 29 Jun 2021 00:23:22 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SeNPsjA+kNTTb8txGQvTZbRcBlxIbK6pRu8cr9KYjsLSodyv2wTFgZZai2bQPDIbl5SMKONgKLHMye3s8Qok8+MkkLHZ+IuuszYbsACb4KtrsyGLENhknA5k7B4zLp/OlQT8Y3tekXzP1m+1qaer2zWiid7Uz9XPwZI3i7Hf5kZEDv9boD4gJSxbzHip0D5EBx71a4SiXV4GOYONBhE5HFmxmXArlApY8ef3i4gdIBOiQNxSYFC8L6hRVt1qtla6am7nOaIU5ivqM7n6cKqp4cs2Ur1uOr9qBg1Z3hJtMjfRhPRDMcVZfTyh+QE02IohVOuPa+SkgYUAJry/7iqOfQ== 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=DUg8VRzQLTXgOkRtX6FbcdsqyXa+Pd9m3ZKzE5YTjLg=; b=crl541/ilky8MUqszCQ1++bfjgt8P9wX7UcaO2dUcIVvQfgAjVBNeaDgrLje6DYbd9YXM1VGEJAWexnNCrUU6DI2RJXNpDBm2KrwsqcClh7Kiv2Jl2sfYLIxh8Kfb45O6+uiSCY7YVdvssDrJ2qgJRKTDDYIY8lFbZZolsbRaeP3ggcGBlIKXXiU16JGlN1EOabFuDzDRTvq1VOAD+NKJl9ZJPU66bz19sc0C1Ht0n9BzZwC+dDon8psfWSXjZwTYCMvqqDWrLqWFtr/+2s31cZS4TbpzxSdVnLnPpTigPAo9AFYXebd56DzllFGOKy3yeYjXuCmajpGL6CY3Ug2uQ== 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=DUg8VRzQLTXgOkRtX6FbcdsqyXa+Pd9m3ZKzE5YTjLg=; b=lsrVjYU7BTFqru17rC4p8BMO9bC9ERL+op+s2txYDo0UNxoBx1T+UKRJ4YwMdneuw443u14QIKkOLTKhQLMp5ODNZBRXyaZFUrQ5ZTFFBbSz4J+wnRKAUfwJR8DPcXWKADoEQWsSigbgK1NP+R16zSTQC0m8dUZzA605N0i8cpaWWlrIMZtrevOWUXApn2jsD8PHrGG5njjjHn0QnXtmfn25J8ZNTiDtPKJIkl9QHEQc3hjVWmaSXwwBXZo2SOkZKxyWOL0FGFSFUbPi/Sr7o5wQ3s2+iQTLxAT2F7wy8xwPV+L70DMvnZhwjQox05v62feJGtquwO4SacyPfeViNg== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by QB1PR01MB3988.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:2e::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Tue, 29 Jun 2021 00:23:21 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf%4]) with mapi id 15.20.4264.026; Tue, 29 Jun 2021 00:23:21 +0000 From: Rick Macklem To: freebsd-net Subject: RFC: NFS trunking (multiple TCP connections for a mount Thread-Topic: RFC: NFS trunking (multiple TCP connections for a mount Thread-Index: AQHXbHjbAJ3BuaRhHUuq5k+hERhS3w== Date: Tue, 29 Jun 2021 00:23:21 +0000 Message-ID: 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: 8896fa08-8b72-4fad-8001-08d93a941a06 x-ms-traffictypediagnostic: QB1PR01MB3988: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0IeJOBd9171w7vSSoULG5TN2Xx9d2CUCp/493eKIYbRq5PTeseqs6fHkJfOP8pQ5o6beSILAcmfJFExcODMPykOQbYpufL4R2OUjZpkP2jadWmAQiPOBEjWY87c4upufJBTLX2oh/pTIyW7VMvdiESm7q7+DSa72uUJI+XULgwVmmaPDn3Wmi4rXXIl30jr3m9aCNjpF5B/e4H1q6OX49zHHYVHD1+2EFLOHG2XKSHgI5N5v8ZiKAtrgji5zqGiF0/gnqwi5Ff7wFNnAfuCxB8r8R/Re8Ta7sqQM9hlUi9umlhbhBfh18kWfkto/fUDOCQv7d05z3sax9ddASlBgwbHaFo0aNqnMDuzDzQIRa3ht6YV8mSeimH4LHWMyt7gQdhW6XzrrsvpFXaPC+K6+c8qLRzOpt8rLnIr6A+xaXDfDfdsk1NCxkyov3snnHeUIW7a+ZzA9GCcASL0Vqo5o3lZhLTmPkRlQYUxsS3Hxla+G8EBWrG50agOL3BEpEVU1WF80HgzgLyo37x4h2VwBhBaPUvfMzVroBk1nIa2MoI6PdXK2Qe6IUVir83SmvbDVjaosGgsv990aFkzx2RRCB6gyHnpKVA+7ujvzcnaPZjd5TNTSgb/jvU+H1j85pexw46QrET6BbI3whZQuUgAF1w== 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:(136003)(396003)(376002)(366004)(346002)(39860400002)(5660300002)(86362001)(186003)(71200400001)(6506007)(33656002)(9686003)(83380400001)(6916009)(2906002)(55016002)(66556008)(8936002)(66446008)(8676002)(52536014)(316002)(122000001)(478600001)(7696005)(64756008)(786003)(66476007)(76116006)(38100700002)(66946007)(91956017);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?YBbNtz7Zg7fjaU3frahfIkhybE3RM68QBpxxuQTJVkg6P3EGGlHKZ+svFi?= =?iso-8859-1?Q?zqbQhGoonJ0ooPj8T3fq/o4CRFJ3f1FPDOETq2L8gXRML5qO6ZlUuO2flj?= =?iso-8859-1?Q?Z7zxJ562IK5UAJKO/jePAWrj91R/VrrGmuorCv6yKeSVjCv1LM2pQ8vUvw?= =?iso-8859-1?Q?0jkRJLjyeto0CiZswIGx7D9GhrNnkYDk4MD6OuiMDZvg/Kbuj82jER8eTD?= =?iso-8859-1?Q?nRUaBGYSW+OWdJhrfpgWuc5YTLciKGPsZHEK+AqIjx9GIsH3HkUSzaEX31?= =?iso-8859-1?Q?zeQlrsVgZULdoLdgOQj7wXF9s1lggAZdU/LiuxYpTZnW3ENdtxeh6eBXwm?= =?iso-8859-1?Q?D4JsuwONVL8v1WN9obszdEaqejMjuYgKEpgYSrruGyXv7t+8aA8EX4tIuE?= =?iso-8859-1?Q?8toXBTInajM8l1mDWr2WuUeye9X3OhKkpd9gFJ8iMNTE6P88pIbmaZyz0n?= =?iso-8859-1?Q?L7ME8g2c/DR+2BtaZEYV5IgiqI44D+HuO58ZDgohcFOtNiOv47L7KlwXt8?= =?iso-8859-1?Q?kXS8t8hBRquEFvvwEd3ZEFKjOyD7Nh1zwnhiK2s2AOXcXqUfhPgvzg0ot3?= =?iso-8859-1?Q?toYxqf9m6nv8jdsmwPbY0BirWjeTLtBh20DduV12PLoZQzT4p3Ctvup3ix?= =?iso-8859-1?Q?ZLBn9t9KCnFwrmUtEF9o1hwa4cciA3Qp9enyl4rpq8/SoIbFz/41yVYTC7?= =?iso-8859-1?Q?NtU+WILx4In4p2O/dTLoCDeQYbx7jQstRIn6zoCpf2WMQzuRazjocN42Z6?= =?iso-8859-1?Q?mEn8FkQG0gA3dLmUG9ZuKvGXcLGkqryOgULioT8/dj6nVL8lj32G8d3OHG?= =?iso-8859-1?Q?s4ZHfuOHgbpfo47R98xOHodC4RtUUewX5FKI3HYBbW6y4Pkg9BTPLw0R0B?= =?iso-8859-1?Q?2x9Owd4lfnVYP/6WB6sf6QCVvjRWh8pb6ZrmdAkKEZy1a0PuEoSG7IXCSn?= =?iso-8859-1?Q?Xvbol/CtCGmmlDzeAogE61AnDm/qzc3ToqJxbsX91OmCqxlM7rNtcwNKcw?= =?iso-8859-1?Q?TUnLRgmbozJ3ZzUOl88qnqABgTHUCA0qdWSNbMH9j7yWMFN8wA94mZKswo?= =?iso-8859-1?Q?iDr04W3ooyHzm+fL83X88BroqlIPWqUvYcr6g5VJFKXgeJBvKB/6aQE5jA?= =?iso-8859-1?Q?WPFaIJe4Raoj4W2GLoGINGzegVsIuKkNhzgxRSpUUyMDxoy9wUtEL+h+Sy?= =?iso-8859-1?Q?dhZHIMuB+biR9UOMOkp6Pi6qVV1bZKdFnSjao4xdoADpvGLBnfW1/90WjW?= =?iso-8859-1?Q?d3SCggtxgabu5Bd+YXEswhnc5Uz6waXJTQMS4hoI9pyjVgzwa/1+Awe9ba?= =?iso-8859-1?Q?3gqk8CAnjkqm90xIxtWuCdYKPvuUDYntLAophOy9+YP+ZlFT5KoWm+QVxf?= =?iso-8859-1?Q?bFpJbcGVVYvNvNZuOier4dIs+CnLRjRwZ1zrVMp2e2BbqJYR0Nynk=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: 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: 8896fa08-8b72-4fad-8001-08d93a941a06 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2021 00:23:21.4910 (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: qHjouwmki3q4fjAg5xwcBVnTlrVvTI+lmZLpE3S4P9gshDBUXCRgDm7gG1QHKYezjIH0BNqrr0tWvWu3GHSFCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: QB1PR01MB3988 X-Rspamd-Queue-Id: 4GDQDq3HvVz4qdb X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=uoguelph.ca header.s=selector1 header.b=lsrVjYU7; 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::603 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-5.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:111:f400:fe5d::603:from]; R_DKIM_ALLOW(-0.20)[uoguelph.ca:s=selector1]; FREEFALL_USER(0.00)[rmacklem]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(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]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a01:111:f400:fe5d::603:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[uoguelph.ca:+]; DMARC_POLICY_ALLOW(-0.50)[uoguelph.ca,none]; DWL_DNSWL_LOW(-1.00)[uoguelph.ca:dkim]; NEURAL_HAM_SHORT(-0.98)[-0.984]; 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-ThisMailContainsUnwantedMimeParts: N The Linux NFS client now has a mount option "nconnect",=0A= which specifies that multiple TCP connections be created=0A= for an NFS mount, where RPCs are done on the connections,=0A= in a round robin fashion. (Alternating between the two TCP=0A= connections for the case of nconnect=3D2.)=0A= =0A= The Linux man page says:=0A= nconnect=3Dn=0A= When using a connection oriented protocol such as TCP, it=0A= may sometimes be advantageous to set up multiple=0A= connections between the client and server. For instance,=0A= if your clients and/or servers are equipped with multiple=0A= network interface cards (NICs), using multiple connections=0A= to spread the load may improve overall performance. In=0A= such cases, the nconnect option allows the user to specify=0A= the number of connections that should be established=0A= between the client and server up to a limit of 16.=0A= =0A= I don't understand how multiple TCP connections to the same=0A= server IP address will distribute the load across multiple network=0A= interfaces?=0A= I thought that lagg would have handled this?=0A= =0A= I could easily implement this, but I only have low end hardware=0A= to test on, so I doubt that I will see any performance improvement.=0A= =0A= However, I do think that having two TCP connections, where the=0A= RPCs involving large RPC messages (Read/Readdir/Write) are sent=0A= on one TCP connection and the RPCs that use small RPC messages=0A= (Lookup/Access/Getattr,...) are sent on the other one.=0A= --> This would avoid the frequent small RPCs from getting "logjamed"=0A= behind a bunch of large 1Mbyte Read replies, for example.=0A= =0A= So, what do you think?=0A= - Implement "nconnect" with round robin RPC assignment.=0A= or=0A= - Implement two TCP connections where large RPCs are done=0A= on one and small RPCs on the other.=0A= or=0A= ???=0A= =0A= I will note I see downsides to doing multiple TCP connections/mount.=0A= 1 - Uses up more IP port#s.=0A= 2 - When an NFS server gets overloaded, it will stop receiving RPC requests= .=0A= This will eventually apply backpressure through TCP to the client to s= low=0A= down RPC requests. Having multiple TCP connections would reduce this= =0A= backpressure effect.=0A= --> To be honest, I suspect the slowdown in RPC replies caused by an= =0A= overloaded server, is more effective feedback to the NFS client= =0A= than TCP backpressure, but I am not sure.=0A= =0A= Comments? rick=0A= =0A= =0A= From nobody Tue Jun 29 00:44:03 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F256A11D8064 for ; Tue, 29 Jun 2021 00:44:15 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GDQhv6CKYz4s8L for ; Tue, 29 Jun 2021 00:44:15 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oo1-f47.google.com with SMTP id 128-20020a4a11860000b029024b19a4d98eso5251077ooc.5 for ; Mon, 28 Jun 2021 17:44:15 -0700 (PDT) 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=VdxZtIGQftjH5N8xBngZx/Ty/sHrsdJImjgY/cGjR1E=; b=uZ4Y/gyCvhSZzUtejPVh1ipWsF5StNPUxuYTnDk8OTUe6U468dO7JEmwAn1QvYv3IA Wy51TW23A+rqs6DRXEgrZ538zBUlbtiQNAj+OxtD8YqbYszcSwVFMX+DiXpVPaxtWiN3 lY8+YfSGRpjisY3x/xROYaV0Y6oVkOo4ok0s3/WaiAqEtwUQrfUrTr5BNpwC64fdiN3z 0daGqIuVun65bZvdRFTbWW1l4YvPShuTFaUmjMGcBvAxln+sF0iNyv1TYUhsVpQwwZ7N jLYYWrZD0OQbRvKEugkf60YMEh+WCpMYasSS1jKwZ+JDklttYSK551FhNNs4Vd6YE8FU EGlA== X-Gm-Message-State: AOAM533VKpahq7vSr9Wrh34e5m1F4BO1PL0Pv8lDk9vV9I7E0eSWYCgd pNcpMrqI7Bu2MeXVchLCZCl+UfVuaRJ3w0zBcC0= X-Google-Smtp-Source: ABdhPJwz6drzDtdlMjjU9sgVpHZFpPTRS6bviFph0SdvXReNLnAhPZqJglLF1dCsj+moQjnVeWoUWzgajzGH2UxPfDc= X-Received: by 2002:a4a:b481:: with SMTP id b1mr1711728ooo.79.1624927454766; Mon, 28 Jun 2021 17:44:14 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Mon, 28 Jun 2021 18:44:03 -0600 Message-ID: Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount To: Rick Macklem Cc: freebsd-net Content-Type: multipart/alternative; boundary="000000000000ba2a2805c5dce782" X-Rspamd-Queue-Id: 4GDQhv6CKYz4s8L X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000ba2a2805c5dce782 Content-Type: text/plain; charset="UTF-8" On Mon, Jun 28, 2021 at 6:24 PM Rick Macklem wrote: > The Linux NFS client now has a mount option "nconnect", > which specifies that multiple TCP connections be created > for an NFS mount, where RPCs are done on the connections, > in a round robin fashion. (Alternating between the two TCP > connections for the case of nconnect=2.) > > The Linux man page says: > nconnect=n > When using a connection oriented protocol such as TCP, it > may sometimes be advantageous to set up multiple > connections between the client and server. For instance, > if your clients and/or servers are equipped with multiple > network interface cards (NICs), using multiple connections > to spread the load may improve overall performance. In > such cases, the nconnect option allows the user to specify > the number of connections that should be established > between the client and server up to a limit of 16. > > I don't understand how multiple TCP connections to the same > server IP address will distribute the load across multiple network > interfaces? > I thought that lagg would have handled this? > Splitting a single TCP connection across multiple physical interfaces would cause tons of out-of-order packets to be received. The overhead of TCP reassembly overhead then outweighs the benefit of lagg, especially if there are multiple connections anyway. So that's why, unless your physical interfaces are very slow, it's not worth splitting one TCP connection. LACP doesn't even allow it. Something like nconnect might be useful. But only if there are few NFS clients anyway. In my environment there are usually many, so I wouldn't use nconnect. > > I could easily implement this, but I only have low end hardware > to test on, so I doubt that I will see any performance improvement. > > However, I do think that having two TCP connections, where the > RPCs involving large RPC messages (Read/Readdir/Write) are sent > on one TCP connection and the RPCs that use small RPC messages > (Lookup/Access/Getattr,...) are sent on the other one. > --> This would avoid the frequent small RPCs from getting "logjamed" > behind a bunch of large 1Mbyte Read replies, for example. > > So, what do you think? > - Implement "nconnect" with round robin RPC assignment. > or > - Implement two TCP connections where large RPCs are done > on one and small RPCs on the other. > or > ??? > > I will note I see downsides to doing multiple TCP connections/mount. > 1 - Uses up more IP port#s. > 2 - When an NFS server gets overloaded, it will stop receiving RPC > requests. > This will eventually apply backpressure through TCP to the client to > slow > down RPC requests. Having multiple TCP connections would reduce this > backpressure effect. > --> To be honest, I suspect the slowdown in RPC replies caused by an > overloaded server, is more effective feedback to the NFS client > than TCP backpressure, but I am not sure. > > Comments? rick > > > > --000000000000ba2a2805c5dce782-- From nobody Tue Jun 29 03:40:44 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 58B4E11E4A57 for ; Tue, 29 Jun 2021 03:40:57 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GDVcn1mMfz3Qjq for ; Tue, 29 Jun 2021 03:40:56 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-ej1-f49.google.com with SMTP id nd37so33820775ejc.3 for ; Mon, 28 Jun 2021 20:40:56 -0700 (PDT) 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=/nmE3BDCyx5zKY8YyE7CDNcxBcuEVBW7sWGOD/0+zk0=; b=Gv6SYOQ5yTgzBnhdkN1kP5UFplCmlGADQm3t0gs+/EB1D2kL5rH8SSl6ubZny4lnPK g3emFvRQ/fVtEgBAmOQiI68r4qRQ/P7IRJd/MGKAPlm0fY/pnAvoajV3m9GO2JGSRNck RBsvHWLncLOlRUgyv8gbT/4Smzu5wc44QoyxlHPw+QMuNMiCVelw0qyaWCklExeM4ge8 eqVCPvdbkYTX3zVUvdFQmSx2qEBnTu81eLW6nYUuR4rRdu3+jCWzB5LHeeDPZiIyJlMY zGYjDk0JP/X/MKRmORhU8ygiuoh/gLGwKlcuGmyatwqN07iWSSOOYhc1ky6pmc1ACB6T kArw== X-Gm-Message-State: AOAM5325bKF4kmJCuk4NLT8o2PR6GdEyyyte/AjaiQnXArsi+08RvWB9 7gb1GnJmxXoDwdJY1FI0r1P20+2zvoUinAiUOTg= X-Google-Smtp-Source: ABdhPJzpiKoZbNwvS7aJw/aIcPL8hLysDz2WbSBQDV6Ou4plqAlpcKxT39L2ZD5LToiqRU7gkqUD/BbBeT1u+i4DWHg= X-Received: by 2002:a17:906:1313:: with SMTP id w19mr28117875ejb.178.1624938055436; Mon, 28 Jun 2021 20:40:55 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Navdeep Parhar Date: Mon, 28 Jun 2021 20:40:44 -0700 Message-ID: Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount To: Rick Macklem Cc: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GDVcn1mMfz3Qjq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, Jun 28, 2021 at 5:23 PM Rick Macklem wrote: > > The Linux NFS client now has a mount option "nconnect", > which specifies that multiple TCP connections be created > for an NFS mount, where RPCs are done on the connections, > in a round robin fashion. (Alternating between the two TCP > connections for the case of nconnect=2.) > > The Linux man page says: > nconnect=n > When using a connection oriented protocol such as TCP, it > may sometimes be advantageous to set up multiple > connections between the client and server. For instance, > if your clients and/or servers are equipped with multiple > network interface cards (NICs), using multiple connections > to spread the load may improve overall performance. In > such cases, the nconnect option allows the user to specify > the number of connections that should be established > between the client and server up to a limit of 16. > > I don't understand how multiple TCP connections to the same > server IP address will distribute the load across multiple network > interfaces? > I thought that lagg would have handled this? > > I could easily implement this, but I only have low end hardware > to test on, so I doubt that I will see any performance improvement. Pretty much all modern NICs are multiqueue and multiple connections will distribute load across CPUs even without any lagg. I think an nconnect like option would be quite useful for NFS over high bandwidth links as it's a lot easier to saturate the pipe using multiple connections than a single one. Regards, Navdeep From nobody Tue Jun 29 06:06:11 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1999D11F4577 for ; Tue, 29 Jun 2021 06:06:15 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from mailgate2.uni-hannover.de (mailgate2.uni-hannover.de [130.75.2.114]) (using TLSv1.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 4GDYrQ2wQfz3rQd for ; Tue, 29 Jun 2021 06:06:14 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from intranet.aei.uni-hannover.de (ahin1.aei.uni-hannover.de [130.75.117.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgate2.uni-hannover.de (Postfix) with ESMTPS id 3DDD427D2 for ; Tue, 29 Jun 2021 08:06:12 +0200 (CEST) Received: from comet2.terra.ger ([87.146.77.63]) by intranet.aei.uni-hannover.de (IBM Domino Release 9.0.1FP8) with ESMTP id 2021062908061125-27094 ; Tue, 29 Jun 2021 08:06:11 +0200 Date: Tue, 29 Jun 2021 08:06:11 +0200 From: Gerrit Kuehn To: freebsd-net@freebsd.org Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount Message-ID: <20210629080611.513b62d4@comet2.terra.ger> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on intranet/aei-hannover(Release 9.0.1FP8|February 23, 2017) at 29/06/2021 08:06:11, Serialize by Router on intranet/aei-hannover(Release 9.0.1FP8|February 23, 2017) at 29/06/2021 08:06:11, Serialize complete at 29/06/2021 08:06:11 X-TNEFEvaluated: 1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: clamav-milter 0.102.4 at mailgate2 X-Virus-Status: Clean X-Rspamd-Queue-Id: 4GDYrQ2wQfz3rQd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of gerrit.kuehn@aei.mpg.de has no SPF policy when checking 130.75.2.114) smtp.mailfrom=gerrit.kuehn@aei.mpg.de X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[mpg.de]; RCVD_IN_DNSWL_MED(-0.20)[130.75.2.114:from]; NEURAL_HAM_SHORT(-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:+]; ASN(0.00)[asn:680, ipnet:130.75.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net]; RECEIVED_SPAMHAUS_PBL(0.00)[87.146.77.63:received] X-ThisMailContainsUnwantedMimeParts: N On Tue, 29 Jun 2021 00:23:21 +0000 Rick Macklem wrote: > I don't understand how multiple TCP connections to the same > server IP address will distribute the load across multiple network > interfaces? > I thought that lagg would have handled this? I don't think this targets multiple interface situations. In my experience it is next to impossible to max. out a 10G connection with a single NFS connection running over it. The NICs have several independent queues like so (systat -ifstat): ixl0:aq ixl0:rxq0 ixl0:rxq1 ixl0:rxq2 ixl0:rxq3 ixl0:rxq4 ixl0:rxq5 ixl0:rxq6 ixl0:rxq7 A single connection will only use one of these, limiting the overall throughput. Spreading load across multiple connections sounds quite useful to me in this situation. cu Gerrit From nobody Tue Jun 29 06:28:41 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 093FA11F5C7A for ; Tue, 29 Jun 2021 06:29:01 +0000 (UTC) (envelope-from lutz@iks-jena.de) Received: from annwfn.iks-jena.de (annwfn.iks-jena.de [IPv6:2001:4bd8::19]) (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 4GDZLh5CCSz3sql for ; Tue, 29 Jun 2021 06:29:00 +0000 (UTC) (envelope-from lutz@iks-jena.de) X-SMTP-Sender: IPv6:2001:4bd8:0:666:248:54ff:fe12:ee3f Received: from belenus.iks-jena.de (belenus.iks-jena.de [IPv6:2001:4bd8:0:666:248:54ff:fe12:ee3f]) by annwfn.iks-jena.de (8.15.2/8.15.2) with ESMTPS id 15T6SgMg030390 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 29 Jun 2021 08:28:42 +0200 X-MSA-Host: belenus.iks-jena.de Received: (from lutz@localhost) by belenus.iks-jena.de (8.14.3/8.14.1/Submit) id 15T6Sf4X031665; Tue, 29 Jun 2021 08:28:41 +0200 Date: Tue, 29 Jun 2021 08:28:41 +0200 From: Lutz Donnerhacke To: Rick Macklem Cc: freebsd-net Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount Message-ID: <20210629062841.GC31225@belenus.iks-jena.de> References: List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-message-flag: Please send plain text messages only. Thank you. User-Agent: Mutt/1.5.17 (2007-11-01) X-Rspamd-Queue-Id: 4GDZLh5CCSz3sql X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, Jun 29, 2021 at 12:23:21AM +0000, Rick Macklem wrote: > I don't understand how multiple TCP connections to the same > server IP address will distribute the load across multiple network > interfaces? Sounds like a bandwith-latency-product issue. TCP is prone to stalling at the end of a buffer window (in addition to reassembly and RPC waits). Multiple TCP streams scale linear with the available bandwidth over them. Single RPC messages should not split over multiple streams (causes reorder of segments), but different messages can go in round robin fashion. There is no need to ensure a symmetric path, so that the response comes back on the same stream. From nobody Tue Jun 29 09:11:04 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A066CDBDC60 for ; Tue, 29 Jun 2021 09:11:09 +0000 (UTC) (envelope-from pen@lysator.liu.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) (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 4GDdxn39x3z4XyJ for ; Tue, 29 Jun 2021 09:11:09 +0000 (UTC) (envelope-from pen@lysator.liu.se) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 99DFD4000C for ; Tue, 29 Jun 2021 11:11:06 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 843E840010; Tue, 29 Jun 2021 11:11:06 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.4.2 X-Spam-Score: -1.0 Received: from smtpclient.apple (h-98-128-201-113.A785.priv.bahnhof.se [98.128.201.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 7A5BA4000C; Tue, 29 Jun 2021 11:11:05 +0200 (CEST) Content-Type: text/plain; charset=utf-8 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount From: Peter Eriksson In-Reply-To: Date: Tue, 29 Jun 2021 11:11:04 +0200 Cc: freebsd-net Content-Transfer-Encoding: quoted-printable Message-Id: <362300CE-30DA-4552-A3E4-0F3DFE385B2A@lysator.liu.se> References: To: Rick Macklem X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4GDdxn39x3z4XyJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > I don't understand how multiple TCP connections to the same > server IP address will distribute the load across multiple network > interfaces? > I thought that lagg would have handled this? A lagg typically keeps all data in a TCP stream on a specific lagg = member (depending on how the lagg is set up, unless you select the = =E2=80=9Croundrobin=E2=80=9D option in freebsd - don=E2=80=99t do that = unless you like out-of-order packets=E2=80=A6) Network equipment with laggs typically hash the IP streams over the lagg = members based on MAC addresses (source&target), IP addresses = (source&target) and port numbers.=20 (We have been diagnosing a fun problem locally where we see packet = losses/performance drops over our internal backbone network for certain = combinations of odd/even IP addresses/port numbers when things pass = certain SPB =E2=80=9Crouters=E2=80=9D (which typically hash the streams = over many =E2=80=9Cchannels=E2=80=9D between routers)=E2=80=A6 Fun fun. = :-) I think the multiple NFS TCP streams could make for some nice = performance improvements in certain cases. And it would be a more = generalisation of having multiple streams between two hosts - = one-or-many over IPv4 and one-or-many over IPv6 at the same time. = Windows SMB has a similar feature. Just avoid the Linux NFS mounting deadlock issue with =E2=80=9Cdown=E2=80=9D= servers please :-) - Peter= From nobody Tue Jun 29 13:35:54 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B926D11D4BE7 for ; Tue, 29 Jun 2021 13:35:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GDlqG4mJpz4rs7 for ; Tue, 29 Jun 2021 13:35:54 +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 8D85219FF4 for ; Tue, 29 Jun 2021 13:35: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 15TDZsEh084336 for ; Tue, 29 Jun 2021 13:35:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15TDZsIb084335 for net@FreeBSD.org; Tue, 29 Jun 2021 13:35: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 256882] [routing][fib_algo][dxr][dpdk_lpm4] kernel panic Date: Tue, 29 Jun 2021 13:35:54 +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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256882 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 nobody Tue Jun 29 15:31:47 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3C8F211DBF84 for ; Tue, 29 Jun 2021 15:31: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 4GDpNz0zbkz3HRT for ; Tue, 29 Jun 2021 15:31: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 0AE121BA8A for ; Tue, 29 Jun 2021 15:31: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 15TFVkxK041021 for ; Tue, 29 Jun 2021 15:31:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15TFVkft041020 for net@FreeBSD.org; Tue, 29 Jun 2021 15:31: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 256882] [routing][fib_algo][dxr][dpdk_lpm4] kernel panic Date: Tue, 29 Jun 2021 15:31:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: konrad.kreciwilk@korbank.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256882 --- Comment #1 from Konrad --- I also notice that before crash server route (affects several random prefix= es) to wrong interfaces, for example:=20 # route -vv -n get 8.8.8.8 RTA_DST: inet 8.8.8.8; RTA_IFP: link ; RTM_GET: Report Metrics: len 224, pi= d: 0, seq 1, errno 0, flags: locks: inits:=20 sockaddrs: 8.8.8.8 link#0 route to: 8.8.8.8 destination: 8.8.8.0 mask: 255.255.255.0 gateway: 79.110.194.33 fib: 0 interface: vlan2804 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0=20 locks: inits:=20 sockaddrs: 8.8.8.0 79.110.194.33 255.255.255.0 vlan2804:0.7.43.64.9e.60 79.110.194.34 I don't see packet to 8.8.8.8 using tcpdump -ni vlan2804, instead I counted them on another vlan. It happens over time, in the beginning everything loo= ks good. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Jun 29 15:32:20 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B7FB211DC0C3 for ; Tue, 29 Jun 2021 15:32: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 4GDpPc4XwHz3HqY for ; Tue, 29 Jun 2021 15:32: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 83D7C1B6BE for ; Tue, 29 Jun 2021 15:32: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 15TFWKr9041938 for ; Tue, 29 Jun 2021 15:32:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15TFWKfh041937 for net@FreeBSD.org; Tue, 29 Jun 2021 15:32: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 256882] [routing][fib_algo][dxr][dpdk_lpm4] kernel panic Date: Tue, 29 Jun 2021 15:32:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olivier@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256882 Olivier Cochard changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |melifaro@FreeBSD.org CC| |olivier@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Jun 29 20:22:31 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BA4DDDBAE7E for ; Tue, 29 Jun 2021 20:22:33 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-qb1can01on0604.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5c::604]) (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 4GDwrT30X2z3sg1 for ; Tue, 29 Jun 2021 20:22:32 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HXe0d/rCvdYwFNLsbeRDkMQbRT/YgUZJW5U6YWlbFYveZ9BSucCEQKniJDjLmsNF5hmE1V7QsSPHTQlhqYhfJBcOL+twmJlP4CPQw9FI3E8zQzqdxHC5KYB+10lGuR3px90J3Ikej/uUEUEijDLTMIfdfDHYQ5lk2taaUFnvYZogKHNyko1Dj0MADJ1IFWDIH+A4eIPhW6sIuJDR1OBLSjrXjSl16/CszgZpA+knvG/KAsZwpA2B5kzhbKXxgUHLEjwRikJQFvJzAcRZE1Ayvdw5sAfSa7lEvx26Nw6BjLXKDPMcjOFiOi/E8fYFAIVuajYHu0hWl3Gxq0cEXBohlg== 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=NlSPD5013z9K/zHXGe90rEVXtwrzVDSK4MgQd2Lvwyg=; b=aGg3Ul3yuugFMsaneFhIZjKrIQANEcBWWBWUeNeU4/x5WXofbMxvBC+e6bbxxpYQ2OeRdE6PN6wO2M0ts7GVNn7KFPIdnt+UzxDJ44wSTl4xkbMmKN42nAm1uMQoslR7gB91dOq4JTYeXJrI9vBxFYMzHgJ/Ch/nSYsDOq4ZqaOgqmm1EYAqiCYhJXic6sdc6yUHQZmNYyUAdzCckE7wm+UCcqRNaBdRa2yP054QtH43kCj7U0Jz/vIk47ezw8nxbCG7XVJDKvqdv8jVdpLOj4VO10UKetpdNAqF1j3pUjYULdxO0LpWGaVkxDF/K3waRVkd/tOuotbqwQUgSWR4NA== 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=NlSPD5013z9K/zHXGe90rEVXtwrzVDSK4MgQd2Lvwyg=; b=hk3TUBx71ZWiiQKrWNHaW9xC3HIaZfqvhwYshiaiqVZc/NHNsoF9gQlAIMYFCxUKDlqotkdIII5P9I9SO11LcuSH2hX/pro5JcgiXm3i6wsJwY31aPSxYMEi6rP4Tp/pizAAxRtvEMkrPNChPqskL2pezh8gElvjk7+3R22scLtaZEcmVOX0IkqXlMNTypA5kIy6uDy+nkEzhIQ4RwvBIApSmySXtZUXcxFxFGqV3IG8vn/WDb1Ice7VradIdEoLoRlOzT+KEwsDgzmLPLbDYLISlYjBtOBZkHJA2vX6hHFMg9zLnkhlizSzCwzTm7fDWsuCy1lZTXsBsQeDhJUq3Q== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQBPR0101MB4665.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:14::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Tue, 29 Jun 2021 20:22:31 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf%4]) with mapi id 15.20.4264.026; Tue, 29 Jun 2021 20:22:31 +0000 From: Rick Macklem To: Peter Eriksson CC: freebsd-net Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount Thread-Topic: RFC: NFS trunking (multiple TCP connections for a mount Thread-Index: AQHXbHjbAJ3BuaRhHUuq5k+hERhS36sqtG0AgAC6nLU= Date: Tue, 29 Jun 2021 20:22:31 +0000 Message-ID: References: ,<362300CE-30DA-4552-A3E4-0F3DFE385B2A@lysator.liu.se> In-Reply-To: <362300CE-30DA-4552-A3E4-0F3DFE385B2A@lysator.liu.se> 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: b3ecb38d-febe-41ae-0933-08d93b3b9f61 x-ms-traffictypediagnostic: YQBPR0101MB4665: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hLNzHs3Vj1r9gBmt7G184/y62TmZUSuJ9Oc6NJUBEA4QcsTt2Mxl7+r5h2XzkbzZznR6kXlakHdq4JqppVlb9RAfaYLwHVWL4YZfq6zWdLEXCNPzVXW1mxcvPheW5MrL9sHHcgZWZDcqBn5z2qQTsRohniNpezA/5JjmCK/BjHfb2fcekMp/Zmm4uoedOSK9tLSijFf+x/r21Dy3KV2vTXNTsMQ+eHVoG9Uq87T/tjx4B/IUwgGCGj4gfJQMJwVL3Tpi6Z8hIPERXbNghM8GVCi0CsyQpq8Hq7Q6YoPgST//2hJU9caqhbfnv6QKLZDzDpADrGBY3b3a0fcHKysBQ2LwDqaUGrVm1xrUXQhD9f7JlqTkPgjjT+c50w/FfCceEAxsxqzfrythR3XzS4eTFljuK7b+zWurgbL7iKd8MskGpvceVP8WvTAJHRzMXA7pLyBorlv0z8nUsMb0Vmy0Xoq6ZP3KXGfoXJwYNHzXimQxPKiIl/Mrn8nULoT2e86uBHZznHYdQTjqm69soB54n+L2armVxaY2q7hm7QuxuirjUCOkF9Le6vCiVeyLHWv99dY+MsTuYuZMt6PhvRZyWmwv81mp5nL6zc+KFEYOYEZOpIZWMLk470BuRla/CLVoRbdhM66rlj6nyC6LNs+vOg== 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)(346002)(39860400002)(136003)(366004)(376002)(52536014)(8676002)(66946007)(86362001)(66556008)(478600001)(2906002)(64756008)(66476007)(66446008)(4326008)(6916009)(76116006)(91956017)(55016002)(122000001)(296002)(7696005)(786003)(6506007)(71200400001)(316002)(5660300002)(33656002)(186003)(38100700002)(53546011)(83380400001)(9686003)(8936002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?r49RlVAdS2zUWDOgKr5Ymn4xaufhAwEDdl5SyEDHqMKFujOc1+++V7AE?= =?Windows-1252?Q?1oZi/PsUMJXpqvHke9nZveuqn5miZ9u1ZAjqgS9xTxOSeSL6wR7tp3iL?= =?Windows-1252?Q?kqy3oI8vSgfVjXCIlUsD3zWZqXbfoNdPU659ZH5/m025fzslXZGqmKmR?= =?Windows-1252?Q?hKoNHo/HNxhSlKU2RPycbFewQ27x8tq/QA0vu/uJI4Kz/jBBxP8CcOEJ?= =?Windows-1252?Q?PLRPnu0y8FuqNTeCE6OXikGsKXJiV0HAURxNtUg/PhjGYGetCtXduhCg?= =?Windows-1252?Q?NIhqSJS8NjxSuBOsL2R2QLmqkSpTiNsL1dF+6j++xiA4x53o04rFcGSl?= =?Windows-1252?Q?MtIlqRYs1ZDBLw2zaoFI4l5YAARc0mIEwVWSdLb6XFGmaKfz3IKUecnD?= =?Windows-1252?Q?3CuMisWiEv2iM/p24lyq/pu5Pm1ix+tkYifv0jDRExFB+sonhzW2eH+J?= =?Windows-1252?Q?PunuiLtrfTk2eqFVmr64mUaxWyXLoo06F0ZMTbfNFFkXejx3SJ1VNtvD?= =?Windows-1252?Q?MAxWYKj3TCeDCeWczdxRNkNlcp2p/86heyb7P55FUwMJIAoHq13wWutf?= =?Windows-1252?Q?ig4s7yzVtH50DKr4INiikcyqYwLwEvVKDX5QmP3Ngdo8A4gpEjGyjDz0?= =?Windows-1252?Q?/t7XZMglRJ6j7a1xeHFwef1YsA+5kux3w91oGbTmcsrk1zI0Di/Xkc5q?= =?Windows-1252?Q?lvtbpb1mOJvHVaR58gzG3zMrqCTINceJHvcHrxePkPkIl9vbxZCm0nH0?= =?Windows-1252?Q?NRC0MuAidbCSFlr1laFgJb+uoJD1rwpXM1gLGngF8PqEs5GTJGqcJL7f?= =?Windows-1252?Q?EPWJNFOB/KklqQ1Ekf23ARKgRDhXiKz3PccTItWpMCOsEwzhPcVvV8h6?= =?Windows-1252?Q?Pp6NzRK8QMGK2ha04KzQlOEyKu5bW698I8+o+ZOtzWGJVKA3hk0m3hgx?= =?Windows-1252?Q?Uj7Bn0vI7YcMFbmR3X39Nz1n8pg8SJoBMxFsc20NcRgj1XVbCzvE1iXt?= =?Windows-1252?Q?sxxKYQr5HOrl5qQgQ+eouQTR/qQckpKE6j4ttFfuaLnjTYwcdrmCZtBi?= =?Windows-1252?Q?v4PoDG5NIi7MaO2xtAt4aaj6llXu4r1xcvnsbl1loBUCPrCVTYSRF8vJ?= =?Windows-1252?Q?NvAGkcBAp0z7YeleCz49tNsSrYZZy6f8471bEDrVHFpDdPJ2tKKK6Fnu?= =?Windows-1252?Q?14zcLKfvSQtFfEUfklE0ldqNctV6DRoTF+VKW4d0sqCOvWn6lQks8uwA?= =?Windows-1252?Q?KhHNOE/EdqLRpxXnqMhOthMRuks66S37YUCzt7Jg+75EvgsyVyRUj5bN?= =?Windows-1252?Q?MDpvG8glAl+RgiCuJMbINCyCMEhAN4cVul1cyBpgHxI1PlucsoLJth3/?= =?Windows-1252?Q?nsX5k8ZVS6kGXbpaPOSro/QivfBd9ybmd9XP+YDLe6PEB4ZNWbTpdAjD?= =?Windows-1252?Q?hc5/dy1sGNbmzfHymoa95ldV2F4BG+u9a0pdIqCOyeeIi+ntzEDJdo9u?= =?Windows-1252?Q?yikZoJIJ?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: 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: b3ecb38d-febe-41ae-0933-08d93b3b9f61 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2021 20:22:31.2162 (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: rFU/apBnuwqrDq9t+UCZaWzK/sEFXswUiRp6rDmZXPFsbLKBunEJFOCHlI47tEq5kHAiXVgNaZ2aU+WD815ilQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB4665 X-Rspamd-Queue-Id: 4GDwrT30X2z3sg1 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Thanks everyone, for your comments. I now see (never used it nor looked at it before) that lagg/lacp pins traffic for a TCP connection to an interface (not infallibly for Peter). I also now learned a little bit w.r.t. multiple queues for fast NICs. Sounds like the "nconnect" option is worth implementing. Thanks for your input, rick ________________________________________ From: Peter Eriksson Sent: Tuesday, June 29, 2021 5:11 AM To: Rick Macklem Cc: freebsd-net Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount 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 > I don't understand how multiple TCP connections to the same > server IP address will distribute the load across multiple network > interfaces? > I thought that lagg would have handled this? A lagg typically keeps all data in a TCP stream on a specific lagg member (= depending on how the lagg is set up, unless you select the =93roundrobin=94= option in freebsd - don=92t do that unless you like out-of-order packets= =85) Network equipment with laggs typically hash the IP streams over the lagg me= mbers based on MAC addresses (source&target), IP addresses (source&target) = and port numbers. (We have been diagnosing a fun problem locally where we see packet losses/p= erformance drops over our internal backbone network for certain combination= s of odd/even IP addresses/port numbers when things pass certain SPB =93rou= ters=94 (which typically hash the streams over many =93channels=94 between = routers)=85 Fun fun. :-) I think the multiple NFS TCP streams could make for some nice performance i= mprovements in certain cases. And it would be a more generalisation of havi= ng multiple streams between two hosts - one-or-many over IPv4 and one-or-ma= ny over IPv6 at the same time. Windows SMB has a similar feature. Just avoid the Linux NFS mounting deadlock issue with =93down=94 servers pl= ease :-) - Peter From nobody Tue Jun 29 20:24:16 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C12DBDBB803 for ; Tue, 29 Jun 2021 20:24: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 4GDwtS2XXkz3t3l for ; Tue, 29 Jun 2021 20:24: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 10B2C1F947 for ; Tue, 29 Jun 2021 20:24: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 15TKOFEo087344 for ; Tue, 29 Jun 2021 20:24:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15TKOF7M087343 for net@FreeBSD.org; Tue, 29 Jun 2021 20:24: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 256439] if_bridge(4): Kernel panic on FreeBSD 13.0-RELEASE: bridge_rthash Date: Tue, 29 Jun 2021 20:24:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256439 --- Comment #40 from commit-hook@FreeBSD.org --- A commit in branch releng/13.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D4647d115ff849534c9d6712cc2da32509= 721e20e commit 4647d115ff849534c9d6712cc2da32509721e20e Author: Mark Johnston AuthorDate: 2021-06-16 13:46:56 +0000 Commit: Mark Johnston CommitDate: 2021-06-29 17:09:43 +0000 ipfw: Update the pfil mbuf pointer in ipfw_check_frame() ipfw_chk() might call m_pullup() and thus can change the mbuf chain head. In this case, the new chain head has to be returned to the pfil hook caller, otherwise the pfil hook caller is left with a dangling pointer. Note that this affects only the link-layer hooks installed when the net.link.ether.ipfw sysctl is set to 1. Approved by: so Security: EN-21:21.ipfw PR: 256439, 254015, 255069, 255104 Fixes: f355cb3e6 Reviewed by: ae Sponsored by: The FreeBSD Foundation (cherry picked from commit bc6a2267fffeafd3946637607a74cfd639398f9d) (cherry picked from commit ed1acef3fe3053b418ce3e41036ccf24957253a4) sys/netpfil/ipfw/ip_fw_pfil.c | 2 ++ 1 file changed, 2 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jun 29 20:24:20 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 746F5DBBA92 for ; Tue, 29 Jun 2021 20:24:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GDwtY23Vpz3ssx for ; Tue, 29 Jun 2021 20:24: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 9E34B1FABD for ; Tue, 29 Jun 2021 20:24: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 15TKOKj3087433 for ; Tue, 29 Jun 2021 20:24:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15TKOKHa087432 for net@FreeBSD.org; Tue, 29 Jun 2021 20:24:20 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 254015] Panic when using bridge interface on 13.0-BETA4 Date: Tue, 29 Jun 2021 20:24:20 +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: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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+ maintainer-feedback? 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254015 --- Comment #26 from commit-hook@FreeBSD.org --- A commit in branch releng/13.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D4647d115ff849534c9d6712cc2da32509= 721e20e commit 4647d115ff849534c9d6712cc2da32509721e20e Author: Mark Johnston AuthorDate: 2021-06-16 13:46:56 +0000 Commit: Mark Johnston CommitDate: 2021-06-29 17:09:43 +0000 ipfw: Update the pfil mbuf pointer in ipfw_check_frame() ipfw_chk() might call m_pullup() and thus can change the mbuf chain head. In this case, the new chain head has to be returned to the pfil hook caller, otherwise the pfil hook caller is left with a dangling pointer. Note that this affects only the link-layer hooks installed when the net.link.ether.ipfw sysctl is set to 1. Approved by: so Security: EN-21:21.ipfw PR: 256439, 254015, 255069, 255104 Fixes: f355cb3e6 Reviewed by: ae Sponsored by: The FreeBSD Foundation (cherry picked from commit bc6a2267fffeafd3946637607a74cfd639398f9d) (cherry picked from commit ed1acef3fe3053b418ce3e41036ccf24957253a4) sys/netpfil/ipfw/ip_fw_pfil.c | 2 ++ 1 file changed, 2 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jun 29 20:36:31 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 52A48DBD951 for ; Tue, 29 Jun 2021 20:36: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 4GDx8c1fRhz4RGJ for ; Tue, 29 Jun 2021 20:36: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 221C31F97B for ; Tue, 29 Jun 2021 20:36: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 15TKaWGK092638 for ; Tue, 29 Jun 2021 20:36:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15TKaWYQ092637 for net@FreeBSD.org; Tue, 29 Jun 2021 20:36: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 254015] Panic when using bridge interface on 13.0-BETA4 Date: Tue, 29 Jun 2021 20:36:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ maintainer-feedback? mfc-stable13+ 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254015 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #27 from Mark Johnston --- This will appear in 13.0-p3 later today. Thanks to everyone who helped deb= ug and test. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jun 29 23:25:49 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2A01111D2363 for ; Tue, 29 Jun 2021 23:25: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 4GF0vy0cdJz4fq0 for ; Tue, 29 Jun 2021 23:25:50 +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 EEAFB21F63 for ; Tue, 29 Jun 2021 23:25: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 15TNPnc8074256 for ; Tue, 29 Jun 2021 23:25:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15TNPnog074255 for net@FreeBSD.org; Tue, 29 Jun 2021 23:25: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 256882] cc(4): Panic on DELL R630 with Chelsio T62100-SO-CR) lagg0 and vlans in VNET jails (VNET): ip_tryforward / ip_findroute Date: Tue, 29 Jun 2021 23:25: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: 13.0-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc keywords see_also bug_status 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256882 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org Keywords|panic |crash, needs-qa See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 568 | |33 Status|New |Open Summary|[routing][fib_algo][dxr][dp |cc(4): Panic on DELL R630 |dk_lpm4] kernel panic |with Chelsio T62100-SO-CR) | |lagg0 and vlans in VNET | |jails (VNET): ip_tryforward | |/ ip_findroute --- Comment #5 from Kubilay Kocak --- (In reply to Konrad from comment #4) Can you isolate as many configuration variables (lagg / vlan / algo / vnet = / to establish a minimal reproduction case --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Jun 29 23:26:33 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7710011D27C6 for ; Tue, 29 Jun 2021 23:26: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 4GF0wp2jHKz4gFx for ; Tue, 29 Jun 2021 23:26: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 44DEA21BFF for ; Tue, 29 Jun 2021 23:26: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 15TNQYP6074482 for ; Tue, 29 Jun 2021 23:26:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15TNQYcK074481 for net@FreeBSD.org; Tue, 29 Jun 2021 23:26: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 254015] Panic when using bridge interface on 13.0-BETA4 Date: Tue, 29 Jun 2021 23:26:33 +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: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ maintainer-feedback+ mfc-stable13+ 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254015 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(re@Fre |maintainer-feedback+ |eBSD.org) | --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Jun 30 01:46:15 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 620AD11CFF33 for ; Wed, 30 Jun 2021 01:46: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 4GF4202Cc7z3Nbp for ; Wed, 30 Jun 2021 01:46: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 352E723DD5 for ; Wed, 30 Jun 2021 01:46: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 15U1kGt5047557 for ; Wed, 30 Jun 2021 01:46:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15U1kGWI047556 for net@FreeBSD.org; Wed, 30 Jun 2021 01:46: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 203735] Transparent interception of ipv6 with squid and pf causes panic Date: Wed, 30 Jun 2021 01:46: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: 10.2-STABLE X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable10? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203735 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|Open |Closed --- Comment #9 from Mark Linimon --- ^Triage: overcome by events. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Jun 30 01:48:15 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AFED511D0A46 for ; Wed, 30 Jun 2021 01:48: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 4GF44J4TYdz3PkJ for ; Wed, 30 Jun 2021 01:48: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 835DA24087 for ; Wed, 30 Jun 2021 01:48: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 15U1mGJu047958 for ; Wed, 30 Jun 2021 01:48:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15U1mGwI047957 for net@FreeBSD.org; Wed, 30 Jun 2021 01:48: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 207087] kernel: r295285 in 10.2-STABLE breaks OpenVPN functionality Date: Wed, 30 Jun 2021 01:48: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: 10.2-STABLE X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: linimon@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: bug_status assigned_to resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207087 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Assignee|bugs@FreeBSD.org |linimon@FreeBSD.org Resolution|--- |Overcome By Events --- Comment #55 from Mark Linimon --- ^Triage: overcome by events. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Jul 1 01:46:10 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 150E611F4EC1 for ; Thu, 1 Jul 2021 01:46:15 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-to1can01on060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5d::60e]) (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 4GFgzT6hRtz4pRt for ; Thu, 1 Jul 2021 01:46:13 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wv8W+/h0fXqA11l71J8ALngqHQU+TB7nzd4XSZf5BErH7qK+CWRt8oBpdKfHhrXChTwHtiawkFqQcAlDLFguxntU8XD/DbbaFPhppRPqhZTppq0TO5JwD4NS5BXFZYIAesUVE1QQ21+icC1/30/wSTKGTA1qYt2A75iWmMWMT+LzwQmbnXxwQWSo+dOqecVehYm98wDwTZv5cTSWaZGXlAOujg9msaeeYDBOyO0oA34ozCi9uUSRXOgRlq/lpUMNUgJgR/QkeQvFexiHkUuA3yDnJO0k5XfOwZmKKEAR5sxopBMUKvt/g5w8kb830F0RRoI1iYzt2MHMYesOEWUHIg== 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=gkQV8xcqjnFTrcIBrgF8tCtkOWi8466yCcaRDFmK5yg=; b=GRc9OFgPnliCX9QuDQFtd5NgtIBPiJ15JYPnAFDXJUwdaU4OYuVwWW0d0l57Dk0a1D2AUW4r4xJPvSrn7ZqSeYCM6s2k1Sil9csLn9fkJNfJ1YW4OzpcteUrOZXY4OrKI0hEoJr6DE+hSbd17P5pWOUtzyEXkaKKFcGDdX6T5kes7Avn8Qj5GEfxyyLn33LXBqSWkLFDeVjFm9E9lnsJmAFyvaNok4Opsm+7uDUxqtiOSVApB+WaadPdlcg8cqNIR9FCr9L70mS7FjnjFvTaNVKlcyBmNCVv0xMnAUbmFA0X/7pjHxExaUF65nciN8XAAo1iJuP/hErStAByhjICiw== 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=gkQV8xcqjnFTrcIBrgF8tCtkOWi8466yCcaRDFmK5yg=; b=MDkNztPMlrww2TKBzeBF4d1Vq7he/QL7AT06KlRxK8BL+jPf3hF3So2apVEl0EkN1fiouSVejFHRl7zIkW6WiPdyJwBOgoNsvPCHaCLcYgko4V1eRo739lLFnT82BTe9tFsqWDAznGJmVJSEw0Fufr6Gek/nz2O7UKUerpxHshcxrRfPLH/bi16Hg2aNzIQhAw9bS/3eyxpHvgIusczif/x1y2I2SrGHL2uuWs2e74hoEGuIdvU/MNAY9aBfsiivgsQ892dyBsuW1iFOrPgOl0q2sWpGJENNHHb/eMYV3r/Cyu6bI+zvj98gf6LVADphTtcCMely8e/Xg0tt2ikyzw== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQXPR01MB2487.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:51::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.21; Thu, 1 Jul 2021 01:46:10 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf%4]) with mapi id 15.20.4264.027; Thu, 1 Jul 2021 01:46:10 +0000 From: Rick Macklem To: Peter Eriksson CC: freebsd-net Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount Thread-Topic: RFC: NFS trunking (multiple TCP connections for a mount Thread-Index: AQHXbHjbAJ3BuaRhHUuq5k+hERhS36sqtG0AgAKnXIY= Date: Thu, 1 Jul 2021 01:46:10 +0000 Message-ID: References: ,<362300CE-30DA-4552-A3E4-0F3DFE385B2A@lysator.liu.se> In-Reply-To: <362300CE-30DA-4552-A3E4-0F3DFE385B2A@lysator.liu.se> 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: 7f7c96b1-0acc-4dfc-5d6b-08d93c3200aa x-ms-traffictypediagnostic: YQXPR01MB2487: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: I3Dm2NfAgYU7/Xa/kii+of+dtOwGEqfef0E6y5GABiQXC6G56Q8+j4yY8Kk5cio1CSnKYOqJOaMwQH4c2BsyAGCgePeby2TfvcOEaYUcWs8tKpEMnCmw8Lnba1RF6jgaD00OPvbnl3oN6K5mY7tTevBXXLveZxn+rPxjJp3lKI6BEs1tq5cm/Rbh4wS6hoyncO8crRHGRF8HFdJU013xM6iXKOi23RVrYS+Wb81/+wpchXNW9J5TZ8DlHfTs288s7aBn+lQwN+rK+haZIp9f0A2luVBHtzZdzi+bKbewMx5NrGd5u5n4tB8nmM35UcmHOHsZ+3J+s5o/JUrjRLhJJq1Ihyeb9PVU05wgpKcHSH8aL9UHuytJiJOmXWCGevRKBAi4O7QGDI7c33IPapLw4K2TS/kgTNY9n199WunbaXVD7zKiXpOOnUqnSmfBqzZ82EBGqGv+8muan6biTjIxSryotEeuU2kFZjK46+zPfNulbHFpMpAzLbRp87I7QXnJ1fkKzMpDos4LSRGqmUB6iQ4xcCAMb0kceG7lQI61jAssddXuN2BuPs6bEsvhycu/Q8xmaTVnSTEeObu7VopoBrop7oATNqqYpqykqzVEGyjxO1ohpitfnbNa5o2BefBFjoyHPlcu/W+c9Ay7EaQXXq4lQs1OaOji5Rdf91BaqeGswDzb+zjsx2PzA02MjQvOPP1sGCqyG/XxU0Ep/BhyMONye6M7ZrPrgXogm0YfxNTxDTHDLeROpT7y0T/hZp4UePIt6TC5okB+//ndDA6biA== 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)(376002)(39860400002)(366004)(346002)(4326008)(6916009)(66946007)(83380400001)(66446008)(64756008)(55016002)(9686003)(52536014)(66476007)(33656002)(8676002)(316002)(5660300002)(296002)(478600001)(66556008)(786003)(71200400001)(122000001)(86362001)(8936002)(2906002)(38100700002)(76116006)(7696005)(6506007)(966005)(53546011)(91956017)(186003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?5++nC7Ly3EivdXnXoGkLm7Nsq/TFcmmt1fQ4AEgF30JPITA6Ixv61+ax?= =?Windows-1252?Q?wTnY++mxSH4RLXcbiM4mdbqjpZpC1n3UAyPKn+G4YrveYXVMsJTpdFTJ?= =?Windows-1252?Q?FxSusLhFAjSfa10UpKby+xImhpEdLCpASeOSOfl+zifLov0QTB1D2JCx?= =?Windows-1252?Q?ps1J3SY8gSYuYiq15QRFEKajLh9FuYbxxkQeqVABLzfS5jMOkwVezIfo?= =?Windows-1252?Q?M4ZupB2o3KpH5hmgbR9zHGui3Y6FnXyLhGQy2ZHTuXC4ikNcOEEnMC2A?= =?Windows-1252?Q?3fx6qYyoSgxNn6eFVT4wQtNh6uH+VKuToAwLqrm05Ge40ZliPEUtAVm8?= =?Windows-1252?Q?8wOJ6YYGK8WMFhNpcRK40nFJ89CyVNLIJ707hQd74/YpxxtDqmVRMQLa?= =?Windows-1252?Q?0l6uthl/HWRrQBvD00flSaT95oULyyL5JeKXbEOyqSrkjb1aaFzKD3Xw?= =?Windows-1252?Q?2lC5VkWg0u/g5Jq5pJSwPBFUwH3ocGM23TmfnZZgO7v23Dk2zNDi47qN?= =?Windows-1252?Q?wyzwvb97GKGohIqYHuf5j9NQLfTqpvwYEvcab3bwhJf4ub0SwV6d2Cqi?= =?Windows-1252?Q?14l6Dymo8lzZkhSmJBjcmUlYruTRbyUwvdJWxMY6jAx8fMpuLa6+oA3m?= =?Windows-1252?Q?U6zDr12wTN6LI8Le1ggysUDVKk4T+00Yv1Iks04H1hGzOfeHNOSjaxu5?= =?Windows-1252?Q?/4VbbINTt4HGRf0TpxJJvAW+JZuF8a4AsQhfTL/omWBA7LTknWVNVo3X?= =?Windows-1252?Q?qrQYso8A3OfSgJ+eeSi0EdxfnYj+Smppggwyg+1qUw1mmc4CBvw2pIRK?= =?Windows-1252?Q?6GaWZ+OmbZhqxZQBwayKpzU1ElJ7S47y074aukaE+aEis7qWFxzq3N+N?= =?Windows-1252?Q?1yWYqfDAl4kjF4Af9i8q6KEgZVCDE53FkxezypUYL2KOMMtxqs3NSvQj?= =?Windows-1252?Q?mJkMlTrWLADLcqaiisLOZ15agoHJpA3pwACFPVDtzFNgjz3FBw4PEMUG?= =?Windows-1252?Q?UzWb6Fl+ZqFuHG7rGfX3v4oh/xNsaY+cUU7YSULLMqn9SilF/gEVM+kR?= =?Windows-1252?Q?saOY2KyoWR1jJutpgz0ENihLD+4i8cbNDtemg+HLpixvXwW3uBM11j3b?= =?Windows-1252?Q?qLUQAIYcGWrjAKK9RuqMREAU9k0NBdRfHrZqS1RzH0mxHKd1BKAy0SHt?= =?Windows-1252?Q?sMbBfMHyyIIf1vqKnpC71yjy6jUBeajqn0cW0LWYhz0t8jQDJEwMtQRU?= =?Windows-1252?Q?no4o9etrSs0Ral4kEJGZrkRq3E/SGjQ5LOj3I0qADpZQwj6zkx9AVXpV?= =?Windows-1252?Q?IBQj7SkOE0pIOZYZd66kVWHDdHXIrPYs2x87QGjSes1tCjW/DNHPjJRS?= =?Windows-1252?Q?s+Z1MjN9G0hSzAplsP0PFdwHVQiag/Xv01vMiJtFRZNtIlfb3h2XcfDV?= =?Windows-1252?Q?hnWXcaL5z8JgTZF9108D7qbBQxhcntwak/36cfNezdE=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: 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: 7f7c96b1-0acc-4dfc-5d6b-08d93c3200aa X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2021 01:46:10.6412 (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: X57NtK619CQGdgW1NRw4hmEbi3jpVIUsJLBxz0kcoE77xdqYXoI2UGsIwjIsE0IIld6KmC93fKQzRB6fqy1sEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR01MB2487 X-Rspamd-Queue-Id: 4GFgzT6hRtz4pRt X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=uoguelph.ca header.s=selector1 header.b=MDkNztPM; 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::60e as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-5.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:111:f400:fe5d::60e:from]; R_DKIM_ALLOW(-0.20)[uoguelph.ca:s=selector1]; FREEFALL_USER(0.00)[rmacklem]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[2a01:111:f400:fe5d::60e:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[uoguelph.ca:+]; RCPT_COUNT_TWO(0.00)[2]; DWL_DNSWL_LOW(-1.00)[uoguelph.ca:dkim]; NEURAL_HAM_SHORT(-0.98)[-0.984]; DMARC_POLICY_ALLOW(-0.50)[uoguelph.ca,none]; 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-ThisMailContainsUnwantedMimeParts: N In case anyone is interested in testing and/or reviewing the patch, it is at https://reviews.freebsd.org/D30970. Only lightly tested at this point. The NFS mount option is "nconnect=3D", where 2<=3D N <=3D 16, same as Linux. (I haven't done a man page patch yet.) Thanks everyone, for your input, rick ________________________________________ From: Peter Eriksson Sent: Tuesday, June 29, 2021 5:11 AM To: Rick Macklem Cc: freebsd-net Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount 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 > I don't understand how multiple TCP connections to the same > server IP address will distribute the load across multiple network > interfaces? > I thought that lagg would have handled this? A lagg typically keeps all data in a TCP stream on a specific lagg member (= depending on how the lagg is set up, unless you select the =93roundrobin=94= option in freebsd - don=92t do that unless you like out-of-order packets= =85) Network equipment with laggs typically hash the IP streams over the lagg me= mbers based on MAC addresses (source&target), IP addresses (source&target) = and port numbers. (We have been diagnosing a fun problem locally where we see packet losses/p= erformance drops over our internal backbone network for certain combination= s of odd/even IP addresses/port numbers when things pass certain SPB =93rou= ters=94 (which typically hash the streams over many =93channels=94 between = routers)=85 Fun fun. :-) I think the multiple NFS TCP streams could make for some nice performance i= mprovements in certain cases. And it would be a more generalisation of havi= ng multiple streams between two hosts - one-or-many over IPv4 and one-or-ma= ny over IPv6 at the same time. Windows SMB has a similar feature. Just avoid the Linux NFS mounting deadlock issue with =93down=94 servers pl= ease :-) - Peter From nobody Thu Jul 1 09:47:38 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5F9C311CB359 for ; Thu, 1 Jul 2021 09:47: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 4GFtfy0mqPz3DpZ for ; Thu, 1 Jul 2021 09:47: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 037E61E433 for ; Thu, 1 Jul 2021 09:47: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 1619lbrb030679 for ; Thu, 1 Jul 2021 09:47:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1619lbqv030678 for net@FreeBSD.org; Thu, 1 Jul 2021 09:47:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 256819] dummynet in monolithic kernel broken on stable/12-n233319-c419c8231fb arm64 on AWS Date: Thu, 01 Jul 2021 09:47:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256819 Kristof Provost changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress Assignee|freebsd-arm@FreeBSD.org |kp@freebsd.org --- Comment #3 from Kristof Provost --- Try https://reviews.freebsd.org/D30974 I'd expect it to just apply to stable/12 too. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Jul 1 11:48:00 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A854011D6964 for ; Thu, 1 Jul 2021 11:48: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 4GFxKs4HkFz3gxw for ; Thu, 1 Jul 2021 11:48: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 7BEDD1FBD7 for ; Thu, 1 Jul 2021 11:48: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 161Bm18f089520 for ; Thu, 1 Jul 2021 11:48:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 161Bm1ol089519 for net@FreeBSD.org; Thu, 1 Jul 2021 11:48: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 256819] dummynet in monolithic kernel broken on stable/12-n233319-c419c8231fb arm64 on AWS Date: Thu, 01 Jul 2021 11:48:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256819 --- Comment #4 from Marek Zarychta --- Affected counters work fine again in my case after applying the proposed pa= tch. Thank you for the fix. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Jul 1 19:36:19 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BD5C911D352F for ; Thu, 1 Jul 2021 19:36:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GG7kC4txkz4q5S for ; Thu, 1 Jul 2021 19:36:19 +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 90E28264B9 for ; Thu, 1 Jul 2021 19:36:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 161JaJOH040864 for ; Thu, 1 Jul 2021 19:36:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 161JaJWL040863 for net@FreeBSD.org; Thu, 1 Jul 2021 19:36:19 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 256819] dummynet in monolithic kernel broken on stable/12-n233319-c419c8231fb arm64 on AWS Date: Thu, 01 Jul 2021 19:36:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: regression 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: kp@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256819 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D8f76eebce424de064f65fec5cdd105446= a2de3bd commit 8f76eebce424de064f65fec5cdd105446a2de3bd Author: Kristof Provost AuthorDate: 2021-07-01 07:42:34 +0000 Commit: Kristof Provost CommitDate: 2021-07-01 19:34:08 +0000 dummynet: fix sysctls The sysctl nodes which use V_dn_cfg must be marked as CTLFLAG_VNET so that we use the correct per-vnet offset PR: 256819 Reviewed by: donner MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D30974 sys/netpfil/ipfw/ip_dn_io.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jul 2 02:40:49 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2B3CE11D5E0F for ; Fri, 2 Jul 2021 02:40:53 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670064.outbound.protection.outlook.com [40.107.67.64]) (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 4GGK836tRcz4S9S for ; Fri, 2 Jul 2021 02:40:51 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dYIfkX+wRQdqM+qdo+o2HjIjQNTEW8V2J6gw8H1mWtfW7tU6WDkIK2dYqxQEIS2751kmdhPOQY9cVdwbW6nEa0CZLUrLEfwbic9FrlZQBrM2TeQsCegN2LhvLvTluqYUdJQOtxntq7IXc34hXlOEnDsJvwJdWexb4b11Wi9HBf+vpEY3c+4cxs4CVQcmXOCgvHzZY5rgZHFMuHOn4drP7ZLsnAdPMz1TnrP8GM9f6vIAFZJMiIRA3sADtBzZg7Sqwb6ivGRxEz6aKSI5M/NWnGpqeNodbGOdLDNbixiBS1GNfR1znRwAxgNcMkTduuHy0fmUdLkdg8EYkmzEbxQGcQ== 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=umEfovKK+Ips0te99VgXw8eWKRjM8vUw6MYHe44stMI=; b=kREnvr+kiNkN9zfyXAPSjF0i02Mzo0S8UkpgILwYxX6jlLfQp3cWqTEIyPtbHdAhzId0We6AFcjmtL6ZpxmoktcLOCsuIFLG4uKA/reqp3XHJ2TwQe3+GnzFtkc5RIQSO0Hga/1p46gbh54YE7PKAwDT5Tv2dvG4sFh4YAo4SPOzEP2076C8T7uGR/42PHMQ52bfO9Hx4YRCUr3IFo650rKv8GdwTovn9B6gHC6QbZ3JNmi0hYoNkieZQHxpjGPiveqD8NgzEkMYklsDBz1e1Mpwd0YLysl/LDuhRlZxzhL3aQF21dCav2r65K6tkixIGu9sXTxhAu9RE8ahTPqSvw== 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=umEfovKK+Ips0te99VgXw8eWKRjM8vUw6MYHe44stMI=; b=hTrl3MkmHpCewAPz9WlReyGe7Bb0tKBnfC0rPvyXD1nupzR6BTp2PaItCPDEjKayrUrWwcDpPMqsELkMvWFOXEZPA7s7nt6xfVGq38if2L+RAp/atMiT6uvgLrJyBfNabFJEKqFmLqWXJgvDHqisAVq9U/byHTskG0kV2BFtO33BQIIGvr+B+bn8CiGGqzOpPitnADCBwonGpklvGsBJv5rXiqiXkN9cLSnij9gtB8E8RR16eIgfkmPdElRr98cYMC7/V32RFoLosRB8EteHobC0FS9/xp4f+6mrAv/FLD9MX3h5Lg/gojdkry6nzqz/qgdBSXrg+trjoQs1abVp7w== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQBPR0101MB2275.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.23; Fri, 2 Jul 2021 02:40:49 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf%4]) with mapi id 15.20.4287.024; Fri, 2 Jul 2021 02:40:49 +0000 From: Rick Macklem To: Peter Eriksson CC: freebsd-net Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount Thread-Topic: RFC: NFS trunking (multiple TCP connections for a mount Thread-Index: AQHXbHjbAJ3BuaRhHUuq5k+hERhS36sqtG0AgAKnXIaAAZ3XpQ== Date: Fri, 2 Jul 2021 02:40:49 +0000 Message-ID: References: ,<362300CE-30DA-4552-A3E4-0F3DFE385B2A@lysator.liu.se>, 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: d0aa4780-a46d-438d-501e-08d93d02cd62 x-ms-traffictypediagnostic: YQBPR0101MB2275: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HMbHH3L2u/CI37Vke8Mlp/ijrc1xcIX9hajAIapocGqG4V7NjpxcHfEMGlJb9V9y4mFGtCzQK0q6IVnyJkOezN5/X3s9gb0jR91XmDE0sPpPZDY8igWrWN0SyIzs46/pPH6nYU2+LGJsaDpS42QJgbla5J7cvf44zB/9vo3VeIfwj+KnZu3EXZwPUP9VIZhrSYWwTI74wuxxoDTdBuy0DgovKQkeEo9xzNuWq+oAGC8aEzGzjfH/7gMsxTEbu6QjSlHqw/9Zg8/f/o9i9A5MAVnqdi8Rhlh82z1ebF+I4B+1V7Nb/h72Z4iPSiqJ2WVa/ET67T+AfYj4bB6rSc5gAazrVEbdNMHOYppZupm7bjgEF/aS6aos6DPE8C4d6fgjLLveTnAUbIoAswGNQlytkXmiCcLQFHz3N138RIGicFUwVrDFQ3/L+8mwMNPNUI85Q3beutoAeDwjAHQD4OfECl+C2ukOZzWmYMhh2EYiHTbWpvCqpulvC9VFWWvGMvng1non1yVBKEz15RhW8mvmVUnHbyLNA3teYEDk2LB42bPHNRL03dvU+CL+Y1s/nznGubx/fNkm8NkLVDyV82L7u5pZhII/l2KqpgHNLBs1oFhhOsK65avkTGDyRDk2nYbUvb/bXStZyTQEWkOdDHcuI9vNgDFxL5DNHWChJ3f+V+DuNQBZxPu1J8Po9KsEXOfoLeRwK12u3//gag3QtkdPxgTY5zqHmjkhOnyo8kob4ljTF+Lq8oKs54Eq2fIhb9/g7c/vwKPKBsuDqegFK9qXfA== 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:(346002)(366004)(39860400002)(396003)(136003)(376002)(55016002)(83380400001)(186003)(478600001)(66476007)(66446008)(64756008)(122000001)(966005)(786003)(8676002)(76116006)(316002)(4326008)(38100700002)(66946007)(86362001)(2906002)(91956017)(9686003)(296002)(66556008)(52536014)(8936002)(7696005)(71200400001)(5660300002)(6506007)(6916009)(53546011)(33656002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?f341kEbfP72XDrlnF+lL/opWzlKG4j6ygwaGNwgg0K9Bn0s+Fa9iuA5R?= =?Windows-1252?Q?ccuoqrXouQx/1K98SrcpdzOALFRfURq/8iB82MFdBvqX8yDb7W65rUsU?= =?Windows-1252?Q?3rfLQAUCcoWYGbL5wtRm8FRHqxCL+kgd60ysAgpn9tyw4JIWrszzLJDk?= =?Windows-1252?Q?IAgHRFB+2kOn6ahPETsUzw5VYPR823WqoCCBF7ivX+UorZUxpBu+afVY?= =?Windows-1252?Q?1wUZDj9SFxl9iY0zY1zP4X2entP+K0m8ZAdI67j4bIAFgiblGY4Q3mlX?= =?Windows-1252?Q?ZMJL871+g4zi8LThiz4Adh3ngRJIawTkN5E2HXg4sJiKW3Y1hQ04etDr?= =?Windows-1252?Q?jErUdTSx5ZgEoi7WpdNNUTsuzQ3xRnvKu2X6KlgUfqfWiWmLUkMeTXkU?= =?Windows-1252?Q?Rv4vthel0dJezlQ5QOZXdc8bup15UPU76KwrIw1YWujGcvTfuPH1S+vy?= =?Windows-1252?Q?8V91b+Vpl9smbuLvpBkFQ9GT8A8beY5lrh7KKZRQM/kzYCX9Ax0fzkFe?= =?Windows-1252?Q?HSRxQVrX9NzShHAObUih2XnT+WRXhGnKpce5X59nahzdA59fWkqmKLFe?= =?Windows-1252?Q?o0fT9ViqwjPLDhtiji/gVDfTTMqIkJ/3F7VMVcbw5nVcLSsPgClRK82n?= =?Windows-1252?Q?Z+r2BjU67isDp/f6nIjtkExxMR2Otl2Ar4c3DHu10VsrFoP3alfuz4L3?= =?Windows-1252?Q?xjAjs427AtbYkGVHnOvNAZpNUDKCM4KNnDoyIUwj8Af7eLTJR2ExFCHk?= =?Windows-1252?Q?RDdm/hheJ9qVN2wdHp1ZYcfeLhKU/O0MdMdAMi5AB252GBrOxWN5ZP4/?= =?Windows-1252?Q?Fp+GbD1WRrrsktizsnxvJw7kSlu//wbJ2jb1XEQjTBwFkf/C2wXyhcg8?= =?Windows-1252?Q?Dpiy6nnO3oe03IJZk0Dw8HbHuTkHHCOZEeHDLGyBcGEUH/6IZAWXY0ag?= =?Windows-1252?Q?1JUC1POq8efRBhxKrNvWcBboeU95yyeLU+14Eg4JEbnCM0QzJ5abkGiY?= =?Windows-1252?Q?qpbfDcw8ZmZaJGGNhhyipofVP1+pQZeyiyDS3BPZhfAAhrQNm3+JAC8l?= =?Windows-1252?Q?7VR0Rib9rdSFJhR5f7Hakv+MVjvnYQYtlikNAd6gY5piR0mm/a2XhQgg?= =?Windows-1252?Q?h8DyRc12h6Vy68pEhjm5ul9VMv8rpaIJ/8M1MXADPeBZDSHNwOErMCPV?= =?Windows-1252?Q?sMHRU+HBK9ZHxTENbMZB1zS8GVHywQ2ES3vKKjajqVg917Mwc/s3QPvA?= =?Windows-1252?Q?7NeDxNZcc55X8Y5Rdb3whKeS0bzifaXzk9ARZJ7kgMOrTAXt9ADhj45A?= =?Windows-1252?Q?8fVsVEVsmYD7YA3Nqeb4wYi6/TDH/quhqDPh7JQMOa2ccI1JjDRl9IEp?= =?Windows-1252?Q?a0ZHazCefaiDp9IqvV8kYtaWlyBu9qurIKHmZFucwU2R3/3N3XpgB3lD?= =?Windows-1252?Q?kN4XVSMkU2n8C4rtO3TpD1mCVDrs4mKQ2EcdlMyYpbE=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: 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: d0aa4780-a46d-438d-501e-08d93d02cd62 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jul 2021 02:40:49.4207 (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: XJYdP/D9mqJ67eO809GrDAbe2dwLC/CAa5UC8AZUkdcP1bbw0Twhx4sSEmWHQtE9t8EnkvjBUl/xO3tKC5ucxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB2275 X-Rspamd-Queue-Id: 4GGK836tRcz4S9S X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=uoguelph.ca header.s=selector1 header.b=hTrl3Mkm; 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.67.64 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[40.107.67.64:from]; R_DKIM_ALLOW(-0.20)[uoguelph.ca:s=selector1]; FREEFALL_USER(0.00)[rmacklem]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.00)[0.999]; SPAMHAUS_ZRD(0.00)[40.107.67.64:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[uoguelph.ca:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[40.107.67.64:from]; DMARC_POLICY_ALLOW(-0.50)[uoguelph.ca,none]; DWL_DNSWL_LOW(-1.00)[uoguelph.ca:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MAILMAN_DEST(0.00)[freebsd-net]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.67.64:from] X-ThisMailContainsUnwantedMimeParts: N Rick Macklem wrote:=0A= >In case anyone is interested in testing and/or reviewing the patch,=0A= >it is at https://reviews.freebsd.org/D30970.=0A= >=0A= >Only lightly tested at this point.=0A= >=0A= >The NFS mount option is "nconnect=3D", where 2<=3D N <=3D 16,=0A= >same as Linux. (I haven't done a man page patch yet.)=0A= I have updated the patch so that the original TCP connection is=0A= used for RPCs that consist of small messages (therefore not needing=0A= much network bandwidth) and the RPCs (Read/Readdir/Write) that=0A= use larger messages are sent on the N-1 additional TCP connections=0A= in a round robin fashion.=0A= =0A= The message below was posted a couple of days ago on linux-nfs@vger.kernel.= org.=0A= It might be unfair to put it here, out of context, but I think it at least= =0A= suggests that separating the larger RPC messages from the small ones=0A= (mostly Lookup/Getattr/Access metadata related RPCs) may be useful=0A= under certain circumstances.=0A= > The original issue described was how a high read/write process on the=0A= > client could slow another process trying to do heavy metadata=0A= > operations (like walking the filesystem). Using a different mount to=0A= > the same multi-homed server seems to help a lot (probably because of=0A= > the independent slot table).=0A= --> For this implementation, there is no separate session/slot table.=0A= (Note that each I/O RPC only uses one table slot.)=0A= =0A= I did not make this small vs large RPCs on a separate TCP connection=0A= a separate option, since I believe there are already too many mount options= .=0A= If others feel it should be a separate mount option, please speak up.=0A= =0A= The phabricator patch has been updated. Please test/review/comment.=0A= =0A= Thanks, rick=0A= =0A= Thanks everyone, for your input, rick=0A= =0A= ________________________________________=0A= From: Peter Eriksson =0A= Sent: Tuesday, June 29, 2021 5:11 AM=0A= To: Rick Macklem=0A= Cc: freebsd-net=0A= Subject: Re: RFC: NFS trunking (multiple TCP connections for a mount=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= > I don't understand how multiple TCP connections to the same=0A= > server IP address will distribute the load across multiple network=0A= > interfaces?=0A= > I thought that lagg would have handled this?=0A= =0A= =0A= A lagg typically keeps all data in a TCP stream on a specific lagg member (= depending on how the lagg is set up, unless you select the =93roundrobin=94= option in freebsd - don=92t do that unless you like out-of-order packets= =85)=0A= =0A= Network equipment with laggs typically hash the IP streams over the lagg me= mbers based on MAC addresses (source&target), IP addresses (source&target) = and port numbers.=0A= =0A= (We have been diagnosing a fun problem locally where we see packet losses/p= erformance drops over our internal backbone network for certain combination= s of odd/even IP addresses/port numbers when things pass certain SPB =93rou= ters=94 (which typically hash the streams over many =93channels=94 between = routers)=85 Fun fun. :-)=0A= =0A= I think the multiple NFS TCP streams could make for some nice performance i= mprovements in certain cases. And it would be a more generalisation of havi= ng multiple streams between two hosts - one-or-many over IPv4 and one-or-ma= ny over IPv6 at the same time. Windows SMB has a similar feature.=0A= =0A= Just avoid the Linux NFS mounting deadlock issue with =93down=94 servers pl= ease :-)=0A= =0A= - Peter=0A= =0A= From nobody Sun Jul 4 21:00:50 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4160711F76B7 for ; Sun, 4 Jul 2021 21:00: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 4GJ1SL5166z4W8N for ; Sun, 4 Jul 2021 21:00:50 +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 7B89419905 for ; Sun, 4 Jul 2021 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 164L0oSx008358 for ; Sun, 4 Jul 2021 21:00:50 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 164L0oI2008357 for net@FreeBSD.org; Sun, 4 Jul 2021 21:00:50 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202107042100.164L0oI2008357@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, 4 Jul 2021 21:00:50 +0000 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16254324505.6BcAF2b.6331" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: Y --16254324505.6BcAF2b.6331 Date: Sun, 4 Jul 2021 21:00:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport 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 | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race 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 | 236983 | bnxt(4) VLAN not operational unless explicit "ifc 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 | 238707 | Lock order reversal: rtentry vs "nd6 list" Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 241162 | Panic in closefp() triggered by nginx (uwsgi with Open | 241191 | route flush panic with RADIX_MPATH 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 28 problems total for which you should take action. --16254324505.6BcAF2b.6331--