From owner-freebsd-net@freebsd.org Sun Apr 12 04:28:34 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E576D2B09D9 for ; Sun, 12 Apr 2020 04:28:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 490JfB5qqZz4ZWw for ; Sun, 12 Apr 2020 04:28:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C830F2B09D8; Sun, 12 Apr 2020 04:28:34 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C7F702B09D7 for ; Sun, 12 Apr 2020 04:28: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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490JfB4y5kz4ZWv for ; Sun, 12 Apr 2020 04:28: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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A461623A2B for ; Sun, 12 Apr 2020 04:28: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 03C4SYYW060866 for ; Sun, 12 Apr 2020 04:28:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03C4SYmV060865 for net@FreeBSD.org; Sun, 12 Apr 2020 04:28: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 243703] fe80 route need to add manually and NDP doesn't populate itself Date: Sun, 12 Apr 2020 04:28:34 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: flagtypes.name bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 04:28:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243703 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable12?, | |mfc-stable11? Status|New |Open CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun Apr 12 20:29:47 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 835E72C7F9C for ; Sun, 12 Apr 2020 20:29:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 490jzH2zBRz4c9v for ; Sun, 12 Apr 2020 20:29:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 661062C7F9B; Sun, 12 Apr 2020 20:29:47 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65D752C7F99 for ; Sun, 12 Apr 2020 20:29: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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490jzH24yTz4c9t for ; Sun, 12 Apr 2020 20:29: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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 42F1D7639 for ; Sun, 12 Apr 2020 20:29: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 03CKTl6f079256 for ; Sun, 12 Apr 2020 20:29:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03CKTlkf079255 for net@FreeBSD.org; Sun, 12 Apr 2020 20:29:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 243703] fe80 route need to add manually and NDP doesn't populate itself Date: Sun, 12 Apr 2020 20:29:47 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 20:29:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243703 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |melifaro@FreeBSD.org CC| |melifaro@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Apr 12 21:00:51 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B91F2A8FFE for ; Sun, 12 Apr 2020 21:00:51 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 490kg66HpLz4fDg for ; Sun, 12 Apr 2020 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 84F402A8FEC; Sun, 12 Apr 2020 21:00:50 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B5E02A8F40 for ; Sun, 12 Apr 2020 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490kg60qtGz4fD9 for ; Sun, 12 Apr 2020 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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F1F397DC3 for ; Sun, 12 Apr 2020 21:00: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 03CL0nLh079249 for ; Sun, 12 Apr 2020 21:00:49 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03CL0nQv079241 for net@FreeBSD.org; Sun, 12 Apr 2020 21:00:49 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202004122100.03CL0nQv079241@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, 12 Apr 2020 21:00:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 21:00:51 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport In Progress | 235700 | oce(4) driver causes fatal trap 12 on boot with e New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 213410 | [carp] service netif restart causes hang only whe Open | 7556 | ppp: sl_compress_init() will fail if called anyth Open | 187835 | ngctl(8) strange behavior when adding more than 5 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 | 210726 | tcp connect() can return invalid EADDRINUSE (Eg: Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race Open | 225792 | ECMP is broken since tryforward() Open | 227720 | Kernel panic in ppp server Open | 230807 | if_alc(4): Driver not working for Killer Networki Open | 235524 | igb(4): Ethernet interface loses active link stat 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 | 237391 | route get returns no result for network addresses Open | 237840 | Removed dummynet dependency on ipfw Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 240530 | netgraph/ng_source: Allow ng_source to inject int Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile Open | 240969 | netinet6: Neighbour reachability detection broken Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 241162 | Panic in closefp() triggered by nginx (uwsgi with Open | 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 34 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun Apr 12 21:21:24 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 553E72A9D81 for ; Sun, 12 Apr 2020 21:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 490l6r1fGdz3C9K for ; Sun, 12 Apr 2020 21:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 387ED2A9D80; Sun, 12 Apr 2020 21:21:24 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 384952A9D7F for ; Sun, 12 Apr 2020 21:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490l6r0n6Zz3C9H for ; Sun, 12 Apr 2020 21:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 163D583B3 for ; Sun, 12 Apr 2020 21:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 03CLLNlj080078 for ; Sun, 12 Apr 2020 21:21:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03CLLN5A080018 for net@FreeBSD.org; Sun, 12 Apr 2020 21:21:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 241191] route flush panic with RADIX_MPATH Date: Sun, 12 Apr 2020 21:21:22 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 21:21:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241191 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |melifaro@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Apr 12 21:22:59 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 116882A9FCC for ; Sun, 12 Apr 2020 21:22:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 490l8f6mHDz3CKG for ; Sun, 12 Apr 2020 21:22:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E829B2A9FCB; Sun, 12 Apr 2020 21:22:58 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E7F232A9FCA for ; Sun, 12 Apr 2020 21:22:58 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490l8f5vnhz3CKF for ; Sun, 12 Apr 2020 21:22:58 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C62238426 for ; Sun, 12 Apr 2020 21:22:58 +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 03CLMwoH005493 for ; Sun, 12 Apr 2020 21:22:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03CLMw7M005481 for net@FreeBSD.org; Sun, 12 Apr 2020 21:22:58 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 237391] route get returns no result for network addresses (netmask portion of address is zero) Date: Sun, 12 Apr 2020 21:22:58 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 21:22:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237391 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melifaro@FreeBSD.org Assignee|net@FreeBSD.org |melifaro@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Apr 12 21:23:57 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 17C4B2AA16D for ; Sun, 12 Apr 2020 21:23:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 490l9m6hg4z3CYq for ; Sun, 12 Apr 2020 21:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E56D52AA165; Sun, 12 Apr 2020 21:23:56 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E52602AA164 for ; Sun, 12 Apr 2020 21:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490l9m5rlGz3CYm for ; Sun, 12 Apr 2020 21:23:56 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C3948844A for ; Sun, 12 Apr 2020 21:23:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 03CLNuEM067155 for ; Sun, 12 Apr 2020 21:23:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03CLNuvP067152 for net@FreeBSD.org; Sun, 12 Apr 2020 21:23:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 225792] ECMP is broken since tryforward() Date: Sun, 12 Apr 2020 21:23:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 21:23:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225792 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |melifaro@FreeBSD.org CC| |melifaro@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Apr 12 23:14:06 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A77C12AC7DF; Sun, 12 Apr 2020 23:14:06 +0000 (UTC) (envelope-from abb@abbon.net) Received: from c4.eksi.net (c4.eksi.net [91.201.188.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "c4.eksi.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490ncr1XXJz3Kly; Sun, 12 Apr 2020 23:14:03 +0000 (UTC) (envelope-from abb@abbon.net) Received: from C4.Eksi.Net (localhost [127.0.0.1]) by c4.eksi.net (OpenSMTPD) with ESMTP id 04de5379; Mon, 13 Apr 2020 02:13:53 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=abbon.net; h=reply-to :subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=default; bh=9sBsHcyINHk+Y/Ph2zyOA/SbxPE=; b=hVkwpXnpxWk23Jd96tYzlWY4Bgnx QVqgH58CL623HhqvQ2Wry5VmdIn9LE4ld+eXw3EtlGL12SSapYVuGXfNxNEDtUSu WYuxzgWDWo/i8jSL5VKTl2tuAylIP9e8Q3vm3eARzp6itKAWypSKz9TDsQhaR+Pz Q4K+8y8GJhifgDPxgjpqTnZcCoO1rIJeKPfXqhCBpXISNJX5s9/WxSbby9RSt0uz 83RL4muGucg0MfcO5VzivW/M5dVL2brVxfkHT1nfWQkGHYWmPn0bNZWffA7L+N+7 OzXFYzKfA0fzo1H2pLrloR/Xa2rpzJ/02Znpj17DDuyN2zQK4KuTK6DNcA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=abbon.net; h=reply-to :subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; q=dns; s= default; b=D1xCuo1QHiEIdGbQczg1M9aUOSmkaSkGWX4GZfH3VVlYau6C2KGEt A8WDYHWV4peiIY9sxf07pgzPF9+SaV5ZpIllCQVxiTQ5LeK3rciWWyOMxPLkbtpw Qtvo8rw7fqCogqzb9T6VMZ1eOWx+sFPf1CygUT9WyX2JrFCSPczHxK8h45eWeUse pDVljQfATatur6RtgrUAwnzVkgVyqKX+1Ex7TrvdFCjbmJcVlUCQW9zCm+90GnZC 3AL/TCpFcOon64o8BSXvakK2sKJJzkFVXtSdAeGKaHNc9Yiuea0+LJcRZ4/mBlpD P3iY7TwVb5KgSoDVicePZfe8tV9ytFLww== Received: from [91.201.188.19] (h0-019.eksi.net [91.201.188.19]) by c4.eksi.net (OpenSMTPD) with ESMTPS id 77ed64d5 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 13 Apr 2020 02:13:53 +0300 (EEST) Reply-To: Alexandr Baryshnyev Subject: Re: dummynet performance To: "freebsd-net@freebsd.org" , freebsd-ipfw References: From: Alexandr Baryshnyev Message-ID: Date: Mon, 13 Apr 2020 02:13:53 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: ru Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 490ncr1XXJz3Kly X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=abbon.net header.s=default header.b=hVkwpXnp; dmarc=pass (policy=none) header.from=abbon.net; spf=pass (mx1.freebsd.org: domain of abb@abbon.net designates 91.201.188.2 as permitted sender) smtp.mailfrom=abb@abbon.net X-Spamd-Result: default: False [-2.98 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[abbon.net:s=default]; HAS_REPLYTO(0.00)[abb@abbon.net]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.201.188.2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(0.01)[country: UA(0.07)]; DKIM_TRACE(0.00)[abbon.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[abbon.net,none]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:44411, ipnet:91.201.188.0/22, country:UA]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 23:14:06 -0000 Dear Luigi! The fact that the regular FreeBSD shaper Dummynet is still single-threaded is the reason that many people switch to using Linux. This is a real problem that really limits the use of the FreeBSD system as a high-speed router and shaper. I understand that this is not an easy task, but most likely no one but you can do it now. Please, correct the source code of the Dummynet and make it multi-threaded! I think a lot of people who still use FreeBSD will be very grateful to you. Can we hope that this problem will be resolved by you in the foreseeable future? In any case, thank you very much for your work! 09.04.2020 20:28, Luigi Rizzo wrote: > On Thu, Apr 9, 2020 at 2:18 AM Özkan KIRIK wrote: >> >> Hello, >> >> I wonder if it is possible to update dummynet code multi-threading capable >> practically? >> My idea is below: >> - A new sysctl tunable will be defined as >> "net.inet.ip.dummynet.thread_count" (default 1) >> - To distribute tasks along threads, each sched instance can be assigned to >> different thread. >> - By default, all schedulers assigned to thread 0 if no thread_id is set. >> With a new option named "thr_id" affinity can be set. as below: >> ipfw sched 1 config type QFQ (by defaut thr_id = 0) >> ipfw sched 2 config type QFQ thr_id 1 >> ipfw sched 3 config type QFQ thr_id 2 >> ipfw sched 4 config type FIFO thr_id 3 >> ipfw sched 5 config type FIFO thr_id 3 ( sched 4 & 5 assigned to same >> thread 3 ) >> >> I think this approach is more easy then completely rewrite or other >> solutions. >> > > This change may not be completely trivial given that dummynet was designed as > single threaded and protected by a single lock. > > If you want to proceed, you should do as follows: > - some members of struct dn_parms need to be duplicated for each thread, > including prev_t, evheap, curr_time, the locks, and perhaps others. > Probably may be useful to create a new struct for them, with a back > pointer to the parent dn_parms, and include a refcount. > > - add another rwlock to protect access to dn_cfg > > - dummynet_io() does the initial demultiplexing calling dn_ht_find(), > currently protected DN_BH_WLOCK(). This could be changed to an RWLOCK > and I believe this initial step could be protected by a read lock > (maybe there are corner cases where you need to create a new entry > so you need to drop the lock, acquire in write mode and retry...) > > - once the demux has returned a dn_fsk, maybe you can use a refcount > to avoid the object being destroyed, release the read lock on > dn_cfg.fshash, acquire an exclusive lock on the thread handling the > dn_fsk, and proceed from there. > > - the kernel thread that process the heap should now run each on > one instance of the evheap > > cheers > luigi > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Best regards, Alexandr B. Baryshnyev, e-mail: abb@abbon.net From owner-freebsd-net@freebsd.org Mon Apr 13 18:26:55 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C83162C58EB for ; Mon, 13 Apr 2020 18:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 491HC3519Gz41qQ for ; Mon, 13 Apr 2020 18:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AC0812C58EA; Mon, 13 Apr 2020 18:26:55 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ABD112C58E9 for ; Mon, 13 Apr 2020 18:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 491HC348BXz41qP for ; Mon, 13 Apr 2020 18:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 89E611FBC1 for ; Mon, 13 Apr 2020 18:26:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 03DIQtmN042803 for ; Mon, 13 Apr 2020 18:26:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03DIQtH4042802 for net@FreeBSD.org; Mon, 13 Apr 2020 18:26:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 200319] Bridge+CARP crashes/freezes Date: Mon, 13 Apr 2020 18:26: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: 10.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 18:26:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200319 --- Comment #25 from Palle Girgensohn --- Hi, So, I could test the patch in 13-CURRENT? Do you have a suggestion for reproducing the problem? Palle --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 13 18:47:40 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE9462C5F1E for ; Mon, 13 Apr 2020 18:47:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 491Hg0556Bz42cq for ; Mon, 13 Apr 2020 18:47:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id ACD632C5F1D; Mon, 13 Apr 2020 18:47:40 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC9B92C5F1C for ; Mon, 13 Apr 2020 18:47:40 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 491Hg04BY8z42cm for ; Mon, 13 Apr 2020 18:47:40 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 89C8D1FF94 for ; Mon, 13 Apr 2020 18:47:40 +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 03DIleuV091119 for ; Mon, 13 Apr 2020 18:47:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03DIlesD091118 for net@FreeBSD.org; Mon, 13 Apr 2020 18:47:40 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 200319] Bridge+CARP crashes/freezes Date: Mon, 13 Apr 2020 18:47:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 18:47:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200319 --- Comment #26 from Kristof Provost --- The test script attached to this bug should reproduce the problem. Just make sure you load the carp module, because the script doesn't. I also have experimental patches for 12 here: https://people.freebsd.org/~kp/if_bridge/stable_12/ --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 13 20:38:42 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C26382A8930 for ; Mon, 13 Apr 2020 20:38:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 491L764nQkz4B0H for ; Mon, 13 Apr 2020 20:38:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A230F2A892E; Mon, 13 Apr 2020 20:38:42 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1F452A892D for ; Mon, 13 Apr 2020 20:38:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 491L763tx2z4B0F for ; Mon, 13 Apr 2020 20:38:42 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 80F8E215D1 for ; Mon, 13 Apr 2020 20:38:42 +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 03DKcgfO017119 for ; Mon, 13 Apr 2020 20:38:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03DKcg7W017118 for net@FreeBSD.org; Mon, 13 Apr 2020 20:38:42 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 237391] route get returns no result for network addresses (netmask portion of address is zero) Date: Mon, 13 Apr 2020 20:38:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 20:38:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237391 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #4 from Alexander V. Chernikov --- Raised https://reviews.freebsd.org/D24401 with a proposed change. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Apr 13 21:35:51 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C2D72A9D7C for ; Mon, 13 Apr 2020 21:35:51 +0000 (UTC) (envelope-from amanda.butler@academicinfotechsolutions.com) Received: from n1nlsmtp02.shr.prod.ams1.secureserver.net (n1nlsmtp02.prod.ams1.secureserver.net [188.121.43.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay-hosting.secureserver.net", Issuer "Starfield Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 491MP22vfwz4FS7 for ; Mon, 13 Apr 2020 21:35:50 +0000 (UTC) (envelope-from amanda.butler@academicinfotechsolutions.com) Received: from n3plcpnl0187.prod.ams3.secureserver.net ([160.153.155.38]) by : HOSTING RELAY : with ESMTP id O6j9jtld3t1gyO6j9j4nXn; Mon, 13 Apr 2020 14:34:47 -0700 X-CMAE-Analysis: v=2.3 cv=duyl9Go4 c=1 sm=1 tr=0 a=uEXzhHCbJ45xUGwlj8FdPw==:117 a=P0WA61dUUQIx1RJCF9+yCA==:17 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=cl8xLZFz6L8A:10 a=DAwyPP_o2Byb1YXLmDAA:9 a=Y8XD8gr-jCbpDI4q7bMA:9 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=of2cPdAzvoYaRM1wpQUA:9 a=CxNTydmxroaRCRbr:21 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10 a=pHzHmUro8NiASowvMSCR:22 a=Ew2E2A-JSTLzCXPT_086:22 X-SECURESERVER-ACCT: amanda.butler@academicinfotechsolutions.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=academicinfotechsolutions.com; s=default; h=Content-Type:MIME-Version: Message-ID:Date:Subject:To:From:Reply-To:Sender:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eAXFePEldZdLNY9iNUuC0sjaS8xw/nq+14b6o/2tlsw=; b=BnczQmoIgsqKJ8g710NlKwjwq qjXS9AcSrALkJjTpdZhFYXp/EcRdUqOOI5/XxuAhxV7LRzCZ3S5cPO6iVHcc/uUSkQAPG6jvYJYz8 uwq1tJhEODe8OfNmB5hSsVNJiIkjTmCsoQPcl9pTzZTjPxZ84vQSNm0gA6kqkvJRUTfCfThUVdnMs CDyYXqyphDDa75M9aKUNmbC9zk0F5404ftZ3V5ewpve5OrKOsIUAJ1ThmU9A6dDNu5cOGJwRPx6DH gEtAYst+irh/XzsNI2goSS2lneZPHkoCHOwS1L53ZjSo9DXoHjT6r4F4pk8pi83Rmnbhrlt9BA3tt 4oAi1dwrg==; Received: from [157.45.39.197] (port=35727 helo=WS124) by n3plcpnl0187.prod.ams3.secureserver.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jO6j8-001dKH-SZ for freebsd-net@freebsd.org; Mon, 13 Apr 2020 14:34:47 -0700 Reply-To: From: "Amanda Butler" To: Subject: FreeBSD Users list Date: Tue, 14 Apr 2020 03:03:44 +0530 Message-ID: MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 15.0 Importance: High Thread-Index: AdYR2zKTd60AaZBLSWmQFKXoNd/k3g== Content-Language: en-us X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - n3plcpnl0187.prod.ams3.secureserver.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - academicinfotechsolutions.com X-Get-Message-Sender-Via: n3plcpnl0187.prod.ams3.secureserver.net: authenticated_id: amanda.butler@academicinfotechsolutions.com X-Authenticated-Sender: n3plcpnl0187.prod.ams3.secureserver.net: amanda.butler@academicinfotechsolutions.com X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4wfC1WoSDHx4OBAXz3iop+iMYmfJwV/OJMrNDwZ2bZa5c5RxBGTaIoZE1FP+zHeA5BJJp8w4PuCZPW3igDhVRdIFCwLJTvVJo3lxG4yfYtAJu55WOopKpV NOzaokV/jTW/D5jSvPzSx0il78DJ0CYvI2Wrxut10RemLXEFWSm/7mpm870PLVfJRbCkhUXo0xwxpwuBqMt72sgiNoqTIIHdwKmPnYN4WcVtX9kOM9g26SCj drWlDIQ5fzMFWV7zmd1onw== X-Rspamd-Queue-Id: 491MP22vfwz4FS7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=academicinfotechsolutions.com header.s=default header.b=BnczQmoI; dmarc=none; spf=none (mx1.freebsd.org: domain of amanda.butler@academicinfotechsolutions.com has no SPF policy when checking 188.121.43.194) smtp.mailfrom=amanda.butler@academicinfotechsolutions.com X-Spamd-Result: default: False [-1.89 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[amanda.butler@academicinfotechsolutions.com]; RWL_MAILSPIKE_GOOD(0.00)[194.43.121.188.rep.mailspike.net : 127.0.0.18]; HAS_X_SOURCE(0.00)[]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[academicinfotechsolutions.com:~]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; HAS_X_PRIO_ONE(0.00)[1]; ASN(0.00)[asn:21501, ipnet:188.121.40.0/22, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(0.00)[amanda.butler@academicinfotechsolutions.com]; RECEIVED_SPAMHAUS_PBL(0.00)[197.39.45.157.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[academicinfotechsolutions.com]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.29)[ip: (0.24), ipnet: 188.121.40.0/22(0.03), asn: 21501(-1.71), country: DE(-0.02)]; RCVD_IN_DNSWL_NONE(0.00)[194.43.121.188.list.dnswl.org : 127.0.5.0]; R_DKIM_PERMFAIL(0.00)[academicinfotechsolutions.com:s=default]; R_SPF_NA(0.00)[]; HAS_X_GMSV(0.00)[amanda.butler@academicinfotechsolutions.com]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 21:35:51 -0000 Hi, I wanted to know if you are interested in FreeBSD Users list your marketing activities. We can also help you with: Dell EMC Isilon OneFS, Embarcadero Delphi, JetBrains PyCharm, Apache Tomcat, Google Big Query and many more... Let me know if you have any marketing plans so that I can get back to you with the counts and pricing. Regards, Amanda Butler Sr. Marketing Manager To opt out, please reply with 'Not Interested' in the Subject Line. From owner-freebsd-net@freebsd.org Wed Apr 15 11:56:02 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C5E502B39DD for ; Wed, 15 Apr 2020 11:56:02 +0000 (UTC) (envelope-from daemon-user@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 492LR648gPz3DNg for ; Wed, 15 Apr 2020 11:56:02 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 805811E852 for ; Wed, 15 Apr 2020 11:56:02 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 7915F3398AE; Wed, 15 Apr 2020 11:56:02 +0000 (UTC) Date: Wed, 15 Apr 2020 11:56:02 +0000 To: freebsd-net@freebsd.org From: "whu (Wei Hu)" Reply-to: "whu (Wei Hu)" Subject: [Differential] D24061: Hyper-V socket implementation for FreeBSD guest Message-ID: <79d16d788f9a405bf42820916438b2a4@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , X-Herald-Rules: <28>, <76> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-jw7sxemgfjxsdvkov4cn X-Phabricator-Mail-ID: 1908001 X-Phabricator-Send-Attempt: wxgbjgx2f2e3naiw In-Reply-To: References: Thread-Index: MzZiZTcyYjBkYTFiNDZhYjY1NmQ1MTYwZmJiIF6W9lI= X-Phabricator-Stamps: actor(@whu) application(Differential) author(@whu) herald(H28) herald(H76) monogram(D24061) object-type(DREV) phid(PHID-DREV-jw7sxemgfjxsdvkov4cn) reviewer(@decui_microsoft.com) reviewer(@freebsd-net-list) revision-repository(rS) revision-status(needs-review) subscriber(@greg_unrelenting.technology) subscriber(@imp) via(web) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_79d16d788f9a405bf42820916438b2a4" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 11:56:02 -0000 --b1_79d16d788f9a405bf42820916438b2a4 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 d2h1IHVwZGF0ZWQgdGhpcyByZXZpc2lvbiB0byBEaWZmIDcwNTk1Lgp3aHUgZWRpdGVkIHRoZSBz dW1tYXJ5IG9mIHRoaXMgcmV2aXNpb24uCndodSBhZGRlZCByZXZpZXdlcnM6IGRlY3VpX21pY3Jv c29mdC5jb20sIGZyZWVic2QtbmV0LWxpc3QuCndodSBhZGRlZCBhIGNvbW1lbnQuCgoKICBPdXQg Zm9yIGJyb2FkZXIgcmV2aWV3CgpSRVBPU0lUT1JZCiAgclMgRnJlZUJTRCBzcmMgcmVwb3NpdG9y eQoKQ0hBTkdFUyBTSU5DRSBMQVNUIFVQREFURQogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9y Zy9EMjQwNjE/dnM9Njk0NzgmaWQ9NzA1OTUKCkNIQU5HRVMgU0lOQ0UgTEFTVCBBQ1RJT04KICBo dHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDI0MDYxL25ldy8KClJFVklTSU9OIERFVEFJTAog IGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjQwNjEKCkFGRkVDVEVEIEZJTEVTCiAgc3lz L2NvbmYvZmlsZXMueDg2CiAgc3lzL2Rldi9oeXBlcnYvaHZzb2NrL2h2X3NvY2suYwogIHN5cy9k ZXYvaHlwZXJ2L2h2c29jay9odl9zb2NrLmgKICBzeXMvZGV2L2h5cGVydi9pbmNsdWRlL3ZtYnVz LmgKICBzeXMvZGV2L2h5cGVydi92bWJ1cy92bWJ1cy5jCiAgc3lzL2Rldi9oeXBlcnYvdm1idXMv dm1idXNfYnIuYwogIHN5cy9kZXYvaHlwZXJ2L3ZtYnVzL3ZtYnVzX2JydmFyLmgKICBzeXMvZGV2 L2h5cGVydi92bWJ1cy92bWJ1c19jaGFuLmMKICBzeXMvZGV2L2h5cGVydi92bWJ1cy92bWJ1c19j aGFudmFyLmgKICBzeXMvZGV2L2h5cGVydi92bWJ1cy92bWJ1c19yZWcuaAogIHN5cy9tb2R1bGVz L2h5cGVydi9NYWtlZmlsZQogIHN5cy9tb2R1bGVzL2h5cGVydi9odnNvY2svTWFrZWZpbGUKICBz eXMvc3lzL3NvY2tldC5oCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5mcmVl YnNkLm9yZy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IHdodSwgZGVjdWlf bWljcm9zb2Z0LmNvbSwgZnJlZWJzZC1uZXQtbGlzdApDYzogZ3JlZ191bnJlbGVudGluZy50ZWNo bm9sb2d5LCBpbXAK --b1_79d16d788f9a405bf42820916438b2a4 Content-Type: text/x-patch; charset=utf-8; name="D24061.70595.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D24061.70595.patch" ZGlmZiAtLWdpdCBhL3N5cy9zeXMvc29ja2V0LmggYi9zeXMvc3lzL3NvY2tldC5oCi0tLSBhL3N5 cy9zeXMvc29ja2V0LmgKKysrIGIvc3lzL3N5cy9zb2NrZXQuaApAQCAtMjY1LDcgKzI2NSw4IEBA CiAjZGVmaW5lCUFGX0lF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bV9saXN0KHN0cnVjdCBzb2NrZXQgKnNvLCB1bnNpZ25lZCBj aGFyIGxpc3QpCit7CisJaWYgKCFzbyB8fCAhc28tPnNvX3BjYikgeworCQlIVlNPQ0tfREJHKEhW U09DS19EQkdfVkVSQk9TRSwKKwkJICAgICIlczogc29ja2V0IG9yIHNvX3BjYiBpcyBudWxsXG4i LCBfX2Z1bmNfXyk7CisJCXJldHVybjsKKwl9CisKKwltdHhfbG9jaygmaHZzX3RyYW5zX3NvY2tz X210eCk7CisJX19odnNfcmVtb3ZlX3NvY2tldF9mcm9tX2xpc3Qoc28sIGxpc3QpOworCW10eF91 bmxvY2soJmh2c190cmFuc19zb2Nrc19tdHgpOworfQorCitzdGF0aWMgdm9pZAoraHZzX2luc2Vy dF9zb2NrZXRfb25fbGlzdChzdHJ1Y3Qgc29ja2V0ICpzbywgdW5zaWduZWQgY2hhciBsaXN0KQor eworCWlmICghc28gfHwgIXNvLT5zb19wY2IpIHsKKwkJSFZTT0NLX0RCRyhIVlNPQ0tfREJHX1ZF UkJPU0UsCisJCSAgICAiJXM6IHNvY2tldCBvciBzb19wY2IgaXMgbnVsbFxuIiwgX19mdW5jX18p OworCQlyZXR1cm47CisJfQorCisJbXR4X2xvY2soJmh2c190cmFuc19zb2Nrc19tdHgpOworCV9f aHZzX2luc2VydF9zb2NrZXRfb25fbGlzdChzbywgbGlzdCk7CisJbXR4X3VubG9jaygmaHZzX3Ry YW5zX3NvY2tzX210eCk7Cit9CisKK3N0YXRpYyBzdHJ1Y3Qgc29ja2V0ICoKK19faHZzX2ZpbmRf c29ja2V0X29uX2xpc3Qoc3RydWN0IHNvY2thZGRyX2h2cyAqYWRkciwgdW5zaWduZWQgY2hhciBs aXN0KQoreworCXN0cnVjdCBodnNfcGNiICpwID0gTlVMTDsKKworCWlmIChsaXN0ICYgSFZTX0xJ U1RfQk9VTkQpCisJCUxJU1RfRk9SRUFDSChwLCAmaHZzX3RyYW5zX2JvdW5kX3NvY2tzLCBib3Vu Z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19mdW5jX18pOworCisJKHZvaWQp IGh2c190cmFuc19sb2NrKCk7CisJcGNiID0gc28yaHZzcGNiKHNvKTsKKwlpZiAocGNiID09IE5V TEwpIHsKKwkJaHZzX3RyYW5zX3VubG9jaygpOworCQlyZXR1cm47CisJfQorCisJaWYgKFNPTElT VEVOSU5HKHNvKSkgeworCQliemVybyhwY2IsIHNpemVvZigqcGNiKSk7CisJCWZyZWUocGNiLCBN X0hWU09DSyk7CisJfQorCisJc28tPnNvX3BjYiA9IE5VTEw7CisKKwlodnNfdHJhbnNfdW5sb2Nr KCk7Cit9CisKK2ludAoraHZzX3RyYW5zX2JpbmQoc3RydWN0IHNvY2tldCAqc28sIHN0cnVjdCBz b2NrYWRkciAqYWRkciwgc3RydWN0IHRocmVhZCAqdGQpCit7CisJc3RydWN0IGh2c19wY2IgKnBj YiA9IHNvMmh2c3BjYihzbyk7CisJc3RydWN0IHNvY2thZGRyX2h2cyAqc2EgPSAoc3RydWN0IHNv Y2thZGRyX2h2cyAqKSBhZGRyOworCWludCBlcnJvciA9IDA7CisKKwlIVlNPQ0tfREJHKEhWU09D S19EQkdfVkVSQk9TRSwKKwkgICAgIiVzOiBIeXBlclYgU29ja2V0IGh2c190cmFuc19iaW5kIGNh bGxlZFxuIiwgX19mdW5jX18pOworCisJaWYgKHNhID09IE5VTEwpIHsKKwkJcmV0dXJuIChFSU5W QUwpOworCX0KKworCWlmIChwY2IgPT0gTlVMTCkgeworCQlyZXR1cm4gKEVJTlZBTCk7CisJfQor CisJaWYgKHNhLT5zYV9mYW1pbHkgIT0gQUZfSFlQRVJWKSB7CisJCUhWU09DS19EQkcoSFZTT0NL X0RCR19FUlIsCisJCSAgICAiJXM6IE5vdCBzdXBwb3J0ZWQsIHNhX2ZhbWlseSBpcyAldVxuIiwK KwkJICAgIF9fZnVuY19fLCBzYS0+c2FfZmFtaWx5KTsKKwkJcmV0dXJuIChFQUZOT1NVUFBPUlQp OworCX0KKworCUhWU09DS19EQkcoSFZTT0NLX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VhazsKKworCQkJ CUhWU09DS19EQkcoSFZTT0NLX0RCR19WRVJCT1NFLAorCQkJCSAgICAiJXM6IHdha2UgdXAgZnJv bSBzYndhaXQsIHNwYWNlIGF2YWlsIG9uICIKKwkJCQkgICAgInR4IHJpbmcgaXMgJXVcbiIsCisJ CQkJICAgIF9fZnVuY19fLAorCQkJCSAgICB2bWJ1c19jaGFuX3dyaXRlX2F2YWlsYWJsZShwY2It PmNoYW4pKTsKKworCQkJCWNvbnRpbnVlOworCQkJfQorCQl9CisJCXRvX3dyaXRlID0gTUlOKGNh bndyaXRlLCB1aW8tPnVpb19yZXNpZCk7CisJCXRvX3dyaXRlID0gTUlOKHRvX3dyaXRlLCBIVlNP Q0tfU0VORF9CVUZfU1opOworCisJCUhWU09DS19EQkcoSFZTT0NLX0RCR19WRVJCT1NFLAorCQkg ICAgIiVzOiBjYW53cml0ZSBpcyAldSwgdG9fd3JpdGUgPSAldVxuIiwgX19mdW5jX18sCisJCSAg ICBjYW53cml0ZSwgdG9fd3JpdGUpOworCQllcnJvciA9IGh2c29ja19zZW5kX2RhdGEocGNiLT5j aGFuLCB1aW8sIHRvX3dyaXRlLCBzYik7CisKKwkJaWYgKGVycm9yKQorCQkJYnJlYWs7CisJfQor CitvdXQ6CisJU09DS0JVRl9VTkxPQ0soc2IpOworCXNidW5sb2NrKHNiKTsKKworCXJldHVybiAo ZXJyb3IpOworfQorCitpbnQKK2h2c190cmFuc19wZWVyYWRkcihzdHJ1Y3Qgc29ja2V0ICpzbywg c3RydWN0IHNvY2thZGRyICoqbmFtKQoreworCXN0cnVjdCBodnNfcGNiICpwY2IgPSBzbzJodnNw Y2Ioc28pOworCisJSFZTT0NLX0RCRyhIVlNPQ0tfREJHX1ZFUkJPU0UsCisJICAgICIlczogSHlw ZXJWIFNvY2tldCBodnNfdHJhbnNfcGVlcmFkZHIgY2FsbGVkXG4iLCBfX2Z1bmNfXyk7CisKKwlp ZiAocGNiID09IE5VTEwpCisJCXJldHVybiAoRUl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GVzLng4NgpAQCAtMTEzLDYgKzExMyw3IEBA CiBkZXYvaHdwbWMvaHdwbWNfdW5jb3JlLmMJb3B0aW9uYWwJaHdwbWMKIGRldi9od3BtYy9od3Bt Y190c2MuYwkJb3B0aW9uYWwJaHdwbWMKIGRldi9od3BtYy9od3BtY194ODYuYwkJb3B0aW9uYWwJ aHdwbWMKK2Rldi9oeXBlcnYvaHZzb2NrL2h2X3NvY2suYwkJCQlvcHRpb25hbAloeXBlcnYKIGRl di9oeXBlcnYvcGNpYi92bWJ1c19wY2liLmMJCQkJb3B0aW9uYWwJaHlwZXJ2IHBjaQogZGV2L2h5 cGVydi9uZXR2c2MvaG5fbnZzLmMJCQkJb3B0aW9uYWwJaHlwZXJ2CiBkZXYvaHlwZXJ2L25ldHZz Yy9obl9ybmRpcy5jCQkJCW9wdGlvbmFsCWh5cGVydgoK --b1_79d16d788f9a405bf42820916438b2a4-- From owner-freebsd-net@freebsd.org Wed Apr 15 11:56:49 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6E9602B3AC5 for ; Wed, 15 Apr 2020 11:56:49 +0000 (UTC) (envelope-from daemon-user@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 492LS12PfWz3DTY for ; Wed, 15 Apr 2020 11:56:49 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4DFED1E856 for ; Wed, 15 Apr 2020 11:56:49 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 4D4C533A480; Wed, 15 Apr 2020 11:56:49 +0000 (UTC) Date: Wed, 15 Apr 2020 11:56:49 +0000 To: freebsd-net@freebsd.org From: "whu (Wei Hu)" Reply-to: "whu (Wei Hu)" Subject: [Differential] D24061: Hyper-V socket implementation for FreeBSD guest Message-ID: <5a4d72e6cdd345cf0efe6ae139cada67@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <76> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-jw7sxemgfjxsdvkov4cn X-Phabricator-Mail-ID: 1908006 X-Phabricator-Send-Attempt: zzbpqbi2uf75ib3t In-Reply-To: References: Thread-Index: MzZiZTcyYjBkYTFiNDZhYjY1NmQ1MTYwZmJiIF6W9oE= X-Phabricator-Stamps: actor(@whu) application(Differential) author(@whu) herald(H28) herald(H76) monogram(D24061) object-type(DREV) phid(PHID-DREV-jw7sxemgfjxsdvkov4cn) reviewer(@decui_microsoft.com) reviewer(@freebsd-net-list) revision-repository(rS) revision-status(needs-review) subscriber(@greg_unrelenting.technology) subscriber(@imp) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 11:56:49 -0000 d2h1IGVkaXRlZCB0aGUgc3VtbWFyeSBvZiB0aGlzIHJldmlzaW9uLgoKUkVQT1NJVE9SWQogIHJT IEZyZWVCU0Qgc3JjIHJlcG9zaXRvcnkKCkNIQU5HRVMgU0lOQ0UgTEFTVCBBQ1RJT04KICBodHRw czovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDI0MDYxL25ldy8KClJFVklTSU9OIERFVEFJTAogIGh0 dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjQwNjEKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0 cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMv CgpUbzogd2h1LCBkZWN1aV9taWNyb3NvZnQuY29tLCBmcmVlYnNkLW5ldC1saXN0CkNjOiBncmVn X3VucmVsZW50aW5nLnRlY2hub2xvZ3ksIGltcAo= From owner-freebsd-net@freebsd.org Wed Apr 15 11:57:19 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 18B142B3B97 for ; Wed, 15 Apr 2020 11:57:19 +0000 (UTC) (envelope-from daemon-user@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 492LSZ6zrmz3DZG for ; Wed, 15 Apr 2020 11:57:18 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id EB4751E85A for ; Wed, 15 Apr 2020 11:57:18 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id EA87E33A5D8; Wed, 15 Apr 2020 11:57:18 +0000 (UTC) Date: Wed, 15 Apr 2020 11:57:18 +0000 To: freebsd-net@freebsd.org From: "whu (Wei Hu)" Reply-to: "whu (Wei Hu)" Subject: [Differential] D24061: Hyper-V socket implementation for FreeBSD guest Message-ID: <9b54e192f9d04e00037a8e0b9a0b269a@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <76> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-jw7sxemgfjxsdvkov4cn X-Phabricator-Mail-ID: 1908011 X-Phabricator-Send-Attempt: yjfyom5mzweqs3oq In-Reply-To: References: Thread-Index: MzZiZTcyYjBkYTFiNDZhYjY1NmQ1MTYwZmJiIF6W9p4= X-Phabricator-Stamps: actor(@whu) application(Differential) author(@whu) herald(H28) herald(H76) monogram(D24061) object-type(DREV) phid(PHID-DREV-jw7sxemgfjxsdvkov4cn) reviewer(@decui_microsoft.com) reviewer(@freebsd-net-list) revision-repository(rS) revision-status(needs-review) subscriber(@greg_unrelenting.technology) subscriber(@imp) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 11:57:19 -0000 d2h1IGVkaXRlZCB0aGUgc3VtbWFyeSBvZiB0aGlzIHJldmlzaW9uLgoKUkVQT1NJVE9SWQogIHJT IEZyZWVCU0Qgc3JjIHJlcG9zaXRvcnkKCkNIQU5HRVMgU0lOQ0UgTEFTVCBBQ1RJT04KICBodHRw czovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDI0MDYxL25ldy8KClJFVklTSU9OIERFVEFJTAogIGh0 dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjQwNjEKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0 cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMv CgpUbzogd2h1LCBkZWN1aV9taWNyb3NvZnQuY29tLCBmcmVlYnNkLW5ldC1saXN0CkNjOiBncmVn X3VucmVsZW50aW5nLnRlY2hub2xvZ3ksIGltcAo= From owner-freebsd-net@freebsd.org Wed Apr 15 11:57:47 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1EBDC2B3CE9 for ; Wed, 15 Apr 2020 11:57:47 +0000 (UTC) (envelope-from daemon-user@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 492LT702jGz3DgP for ; Wed, 15 Apr 2020 11:57:47 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id F0E4A1E85E for ; Wed, 15 Apr 2020 11:57:46 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id F037533A828; Wed, 15 Apr 2020 11:57:46 +0000 (UTC) Date: Wed, 15 Apr 2020 11:57:46 +0000 To: freebsd-net@freebsd.org From: "whu (Wei Hu)" Reply-to: "whu (Wei Hu)" Subject: [Differential] D24061: Hyper-V socket implementation for FreeBSD guest Message-ID: <820c1809ef6f2f605e8c1132d090f104@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: X-Herald-Rules: <28>, <76> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-jw7sxemgfjxsdvkov4cn X-Phabricator-Mail-ID: 1908016 X-Phabricator-Send-Attempt: umewqiiddvti5flg In-Reply-To: References: Thread-Index: MzZiZTcyYjBkYTFiNDZhYjY1NmQ1MTYwZmJiIF6W9ro= X-Phabricator-Stamps: actor(@whu) application(Differential) author(@whu) herald(H28) herald(H76) monogram(D24061) object-type(DREV) phid(PHID-DREV-jw7sxemgfjxsdvkov4cn) reviewer(@decui_microsoft.com) reviewer(@freebsd-net-list) revision-repository(rS) revision-status(needs-review) subscriber(@greg_unrelenting.technology) subscriber(@imp) via(web) MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 11:57:47 -0000 d2h1IGVkaXRlZCB0aGUgc3VtbWFyeSBvZiB0aGlzIHJldmlzaW9uLgoKUkVQT1NJVE9SWQogIHJT IEZyZWVCU0Qgc3JjIHJlcG9zaXRvcnkKCkNIQU5HRVMgU0lOQ0UgTEFTVCBBQ1RJT04KICBodHRw czovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDI0MDYxL25ldy8KClJFVklTSU9OIERFVEFJTAogIGh0 dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMjQwNjEKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0 cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMv CgpUbzogd2h1LCBkZWN1aV9taWNyb3NvZnQuY29tLCBmcmVlYnNkLW5ldC1saXN0CkNjOiBncmVn X3VucmVsZW50aW5nLnRlY2hub2xvZ3ksIGltcAo= From owner-freebsd-net@freebsd.org Wed Apr 15 23:27:48 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 976F32C4EA7 for ; Wed, 15 Apr 2020 23:27:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 492dnJ3TTXz4YgZ for ; Wed, 15 Apr 2020 23:27:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7559E2C4EA6; Wed, 15 Apr 2020 23:27:48 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7518D2C4EA5 for ; Wed, 15 Apr 2020 23:27:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 492dnJ2Y0Fz4YgX for ; Wed, 15 Apr 2020 23:27:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 52CE626E7E for ; Wed, 15 Apr 2020 23:27:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 03FNRmOx059312 for ; Wed, 15 Apr 2020 23:27:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03FNRmI6059311 for net@FreeBSD.org; Wed, 15 Apr 2020 23:27:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Wed, 15 Apr 2020 23:27:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 23:27:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 Alexey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED --- Comment #13 from Alexey --- Hello. I have retested again. FreeBSD nas5 12.1-STABLE FreeBSD 12.1-STABLE #0 r359822M: Sun Apr 12 15:19:= 23 EEST 2020 root@nas5.istec.net.ua:/usr/obj/usr/src/amd64.amd64/sys/NAS=20 amd64 and ifconfig ix0 -vlanhwtag -vlanhwfilter It's helped for me. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Apr 15 23:27:59 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 440022C4ECA for ; Wed, 15 Apr 2020 23:27:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 492dnW1924z4YkB for ; Wed, 15 Apr 2020 23:27:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 27E002C4EC9; Wed, 15 Apr 2020 23:27:59 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 27A2C2C4EC8 for ; Wed, 15 Apr 2020 23:27:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 492dnW0M2sz4Yk8 for ; Wed, 15 Apr 2020 23:27:59 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 079DD26E84 for ; Wed, 15 Apr 2020 23:27:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 03FNRwKl059573 for ; Wed, 15 Apr 2020 23:27:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03FNRwEw059572 for net@FreeBSD.org; Wed, 15 Apr 2020 23:27:58 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 236102] When create or destroy vlan, the physical interface is flapping Date: Wed, 15 Apr 2020 23:27:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 23:27:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 Alexey changed: What |Removed |Added ---------------------------------------------------------------------------- Version|12.0-STABLE |12.1-STABLE --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Apr 16 22:24:36 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8E7AA2C9CC9 for ; Thu, 16 Apr 2020 22:24:36 +0000 (UTC) (envelope-from marie.white@freaksshows.net) Received: from a2nlsmtp01-04.prod.iad2.secureserver.net (a2nlsmtp01-04.prod.iad2.secureserver.net [198.71.225.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay-hosting.secureserver.net", Issuer "Starfield Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 493DKv3pHSz4CZJ for ; Thu, 16 Apr 2020 22:24:34 +0000 (UTC) (envelope-from marie.white@freaksshows.net) Received: from a2plcpnl0797.prod.iad2.secureserver.net ([107.180.108.22]) by : HOSTING RELAY : with ESMTP id PCuzj1DJzS17SPCuzjxom1; Thu, 16 Apr 2020 15:23:33 -0700 X-CMAE-Analysis: v=2.3 cv=dI7YZ9Rb c=1 sm=1 tr=0 a=K8JNvJ5JUkxP48j/8VEYYg==:117 a=eLQR82svDlslZpdJFhZ1Cw==:17 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=cl8xLZFz6L8A:10 a=DAwyPP_o2Byb1YXLmDAA:9 a=KuRZJUzeqoy6-s6QMxQA:9 a=clxobM2IoN72mr_V:21 a=-i1xD0d5YH-wGEqK:21 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=kEg9245AB1BTxZU--l0A:9 a=unhoT2HWqijJU1SJ:21 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10 a=pHzHmUro8NiASowvMSCR:22 a=Ew2E2A-JSTLzCXPT_086:22 X-SECURESERVER-ACCT: marie.white@freaksshows.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freaksshows.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jZawvMwjDxyPTUnUVuARFQhoAxPYvf4zzGa7YoiToJc=; b=blznz9lu5tRPAo7fBwpSci2olD k3zuS1udGh4KZPh8q3g/f+wJWaoaknse/N7RQ8QXXiCFu3eJsNxDJTSARPpOmskL7hi9jvJ47wgVT LIgKhkPblAlAzf3oPm9zwCB9i1aXVaO2iTHBbzvFHks0nNonRTvTOpqIgjn+mgWOihwEakCpTGLFQ yzZNTnofFD5gzoo6b3HZHPDcCm+M3d4WIkpuI+0bT8SkrD30QMAfXo5oDXO2DeEewhw/2+HchUtyw CY5tzr/JrBemq2LP1eCZgH0dCuO2/iRgyJG5QW4NuIdnw123djQNhRc+zpQsEymc4npEayFkeXi4v 6IRPcL7g==; Received: from [157.45.152.141] (port=34612 helo=DESKTOP47CDFLQ) by a2plcpnl0797.prod.iad2.secureserver.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jPCKi-00DAAZ-86 for freebsd-net@freebsd.org; Thu, 16 Apr 2020 14:46:04 -0700 From: To: Subject: Juniper Networks Users Date: Fri, 17 Apr 2020 03:14:43 +0530 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Content-Language: en-in Thread-Index: AdYUODFY26hj5D6RS6aNa6KSKs9Cbg== X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2plcpnl0797.prod.iad2.secureserver.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - freaksshows.net X-Get-Message-Sender-Via: a2plcpnl0797.prod.iad2.secureserver.net: authenticated_id: marie.white@freaksshows.net X-Authenticated-Sender: a2plcpnl0797.prod.iad2.secureserver.net: marie.white@freaksshows.net X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4wfOwGo0GqIhwFcy+CkfkOQ73EmuSZj1IUSpqpX4R9//DGukRAwD36Bhja3dE3Qcu6jWFgw8Q9aaRpUE7AXvaw/cNiR6QLhp2L2zFR/ttBhovAmSdi2qtn s0XAZajwFfH5Biae768zNOWed3vEyVBlGTmAcw9QkueASa6dliN0bvKsAEBSLCQSSX22p3lw5tLHpZrHVjESzz/Xlq/E6P3UTzDPYpU1HDdT/beXy/rVJYE5 X-Rspamd-Queue-Id: 493DKv3pHSz4CZJ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=freaksshows.net header.s=default header.b=blznz9lu; dmarc=none; spf=none (mx1.freebsd.org: domain of marie.white@freaksshows.net has no SPF policy when checking 198.71.225.38) smtp.mailfrom=marie.white@freaksshows.net X-Spamd-Result: default: False [0.27 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_X_SOURCE(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[freaksshows.net:~]; HAS_X_ANTIABUSE(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[141.152.45.157.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:26496, ipnet:198.71.224.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(0.00)[marie.white@freaksshows.net]; RBL_MAILSPIKE_VERYBAD(1.50)[38.225.71.198.rep.mailspike.net : 127.0.0.11]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.984,0]; IP_SCORE(0.34)[ip: (0.65), ipnet: 198.71.224.0/21(0.95), asn: 26496(0.16), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[freaksshows.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[38.225.71.198.list.dnswl.org : 127.0.5.0]; FROM_NO_DN(0.00)[]; HAS_X_GMSV(0.00)[marie.white@freaksshows.net]; R_DKIM_PERMFAIL(0.00)[freaksshows.net:s=default]; R_SPF_NA(0.00)[]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2020 22:24:36 -0000 Hi, I would like to know if you are interested in acquiring Juniper Networks Users List. Information fields: Names, Title, Email, Phone, Company Name, Company URL, Company physical address, SIC Code, Industry, Company Size (Revenue and Employee). Let me know if you are interested and I will get back to you with the counts and pricing. Regards, Marie White Demand Generation Manager If you are not interested in receiving our mails reply in subject line leave out or remove. From owner-freebsd-net@freebsd.org Fri Apr 17 10:00:37 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C69142B1852 for ; Fri, 17 Apr 2020 10:00:37 +0000 (UTC) (envelope-from danielmorandini@me.com) Received: from st43p00im-zteg10072001.me.com (st43p00im-zteg10072001.me.com [17.58.63.167]) (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 493Wn10SnCz4rtT for ; Fri, 17 Apr 2020 10:00:36 +0000 (UTC) (envelope-from danielmorandini@me.com) Received: from [172.20.10.2] (unknown [37.160.250.221]) by st43p00im-zteg10072001.me.com (Postfix) with ESMTPSA id 82BD3C05DF for ; Fri, 17 Apr 2020 10:00:34 +0000 (UTC) From: Daniel Morandini Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: ipheth device and iPhone tetheting Message-Id: Date: Fri, 17 Apr 2020 12:00:22 +0200 To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-17_03:2020-04-17, 2020-04-17 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004170079 X-Rspamd-Queue-Id: 493Wn10SnCz4rtT X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; FREEMAIL_FROM(0.00)[me.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; RECEIVED_SPAMHAUS_PBL(0.00)[221.250.160.37.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_IN_DNSWL_LOW(-0.10)[167.63.58.17.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:714, ipnet:17.58.63.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[me.com]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[me.com.dwl.dnswl.org : 127.0.5.1]; IP_SCORE(0.00)[ip: (-2.48), ipnet: 17.58.63.0/24(-1.72), asn: 714(-2.47), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2020 10:00:37 -0000 Hi folks, Obtaining an Internet access from an iOS device connected via USB is = currently quite a pain. The flow is supposed to be something like: 1. load the ipheth module 2. plug in the iOS device with tethering enabled 3. a new ueN interface is created 4. dhclient ueN and you should have a new gateway. At least this is what I expect, which = is similar to what happens when connecting an Android device with = tethering enabled, the only difference being you have to use the urndis = module. After step 3 instead the ipheth module is not capable of creating the = interface, and you have to actually configure the device manually as = explained in the ipheth(4) BUG note, using `usbconfig -d . 2 = set_config 3`. This triggers an authentication request on the iPhone, and after that = the interface is eventually created, but the dhclient is not able to = obtain a lease with it, "No DHCPOFFERS received=E2=80=9D. Digging around the web you=E2=80=99ll eventually find this guide [1] = which, even though it is quite old (10 yrs now), points to the right = direction: usbmuxd and libimobiledevice. The usbmuxd is available as a port now, under comms/usbmuxd (not = maintained though). Install, run the daemon, plug the phone again and = you=E2=80=99ll get your interface. This time dhclient is able to obtain = a lease, but you=E2=80=99ll not get internet out of that (at least, = I=E2=80=99m not): ``` # ifconfig lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 ue0: flags=3D8843 metric 0 mtu = 1500 options=3D80009 ether b8:27:eb:ed:a1:c9 media: Ethernet autoselect (none) status: no carrier nd6 options=3D29 ue1: flags=3D8843 metric 0 mtu = 1500 ether 7e:a1:ae:6a:11:1d inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 nd6 options=3D29 ``` ``` # netstat -rn Routing tables Internet: Destination Gateway Flags Netif Expire 0.0.0.0/8 link#3 U ue1 127.0.0.1 link#1 UH lo0 Internet6: Destination Gateway Flags = Netif Expire ::/96 ::1 UGRS = lo0 ::1 link#1 UH = lo0 ::ffff:0.0.0.0/96 ::1 UGRS = lo0 fe80::/10 ::1 UGRS = lo0 fe80::%lo0/64 link#1 U = lo0 fe80::1%lo0 link#1 UHS = lo0 ff02::/16 ::1 UGRS = lo0 ``` ``` # uname -a FreeBSD generic 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC arm ``` Long story short: do we want to work on this issue? I=E2=80=99m = available for helping, but I need some guidance. Greetings, Daniel [1] = https://forums.freebsd.org/threads/howto-iphone-internet-connection-sharin= g-via-usb.19995/ From owner-freebsd-net@freebsd.org Fri Apr 17 12:46:19 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A94BC2B7F58 for ; Fri, 17 Apr 2020 12:46:19 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-hk2apc01on071f.outbound.protection.outlook.com [IPv6:2a01:111:f400:febc::71f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 493bSB0v00z3MBY for ; Fri, 17 Apr 2020 12:46:17 +0000 (UTC) (envelope-from weh@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aXbvAfJUMzaxVcb72Qkeoc49M6u5+d9TC5ygs6rrjANFqtrU+PodKNQRzGS809jD+wo5wuZp/fWR8Dnd8DG6GBjrtcSPBEltNU72LduMZ1/ZN/A9YN7+zZD2/1eQMBE614BGeCzhAUcEt6mdlJzbvzU4Qf+fx2BUHZf/gcGohdOmWLnSoYJ9XMPrlXirkP4+LqgD3rinwv2Iv/1MYzP+LZ2Jrioejg5pZ42bAsQYD1YhoMDnQEa1NK8yiz9IspsSNzxO2AZxA8HFnwe+Lm1haGsrzRQsHeeF1iWvH5bBMWitOM1zkkLTkLMiE/Ukz14J9fBJ+edHRqYMpTPxnqfNJA== 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=6/PyYVTqzsiyV/KSamf320od4zeY1mNZMg+Xt9uP0T0=; b=CLUNWTSrWR7O7jxRbftbbx3/aldHaguOLTGKTtjr0ZE4/tU5MQeKnCh/cAJ+cYUFBekMwplvwIzuokF1EknSzPaLJCxcwdw+gh0y+IuBXp8XjlFAVuSgsbsLD16OSJ/2VfmV4VYIU8VOQGDwhjkoQdra4FqIEJqUEkKnFVvNbE4JZn25MElPdI27C9TlByE0L+q13DPm9i2viWh8nfLpOA/zgC/73JjUZibjV73a2qXuWh2CTXlgoCbgRUgXMPVAgbltjjWD1mS2/5LeyqPCcwEAklUr5K+g6h0Ux22HQZtKTMJQUvWP5FHG4OT0m1J1FZeSMIk4IRjIobnOTi6eWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none Received: from SG2P153MB0380.APCP153.PROD.OUTLOOK.COM (2603:1096:0:6::11) by SG2P153MB0256.APCP153.PROD.OUTLOOK.COM (2603:1096:4:ae::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.3; Fri, 17 Apr 2020 12:46:13 +0000 Received: from SG2P153MB0380.APCP153.PROD.OUTLOOK.COM ([fe80::eda7:3391:42a2:2315]) by SG2P153MB0380.APCP153.PROD.OUTLOOK.COM ([fe80::eda7:3391:42a2:2315%9]) with mapi id 15.20.2937.007; Fri, 17 Apr 2020 12:46:13 +0000 From: Wei Hu To: "freebsd-net@freebsd.org" Subject: HyperV socket review and AF_HYPERV socket number Thread-Topic: HyperV socket review and AF_HYPERV socket number Thread-Index: AdYUtiwGw1SM3b0oQoO6Wlz0kWp97A== Date: Fri, 17 Apr 2020 12:46:12 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=weh@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-04-17T12:46:11.0383175Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=b068a739-7d5a-415d-a3a3-67cf1a002f7a; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic x-originating-ip: [180.157.10.88] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6538a6c2-9e89-44df-fed9-08d7e2cd4fbd x-ms-traffictypediagnostic: SG2P153MB0256: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0376ECF4DD x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SG2P153MB0380.APCP153.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(346002)(396003)(39860400002)(136003)(76116006)(66946007)(6916009)(66446008)(10290500003)(8676002)(52536014)(64756008)(66556008)(66476007)(8990500004)(316002)(478600001)(186003)(966005)(8936002)(82950400001)(4744005)(55016002)(5660300002)(6506007)(86362001)(71200400001)(33656002)(9686003)(26005)(7696005)(2906002)(81156014)(82960400001); DIR:OUT; SFP:1102; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PvbYDBBcncP7Kw3I1PMlxe1pSlGhnGrDjqlZx0cI2CWBK3FyJrTtsqFX/NVt+B8TEZUOqFMTyqPRl9dBNPjtWefZORu3C+9kxfZ8wJaMbJ6Lh02Is67EJ/kFTCp3pXVfqwgYe1pPoVU7+sNxseRsz77lqknFTJjKCc2oWYTsfU7qZMIIOWzTgV2SE3YDlx2vlK22CPGIyk0yR6GkREC0JnsfcLiPg3voSLqxgnkcNirC1jfzq61tzZmgzgJhgVJ/ZU0Hi7bHCSZt+7I4lKUu7PJeGLeFEtslHfL1R7pyHem552nXvvNGbneL6K6c9c6S8NvwzSb/GX2ib+sZiCW9+giChxADrRc2P2y2jdwPUuAABZcrawHxJTscqh1cz9FpCxkqoquMOI3zf8KbtPUJ1Zix9lt7s6N4tPkYAcrLlxwjm+PK+SyR77bZsvoP3r7qcFMYgrrPOCD/XdfR/DW0oI9Wb323+nEPVD8t7UENrggy374/iLjdtbouto4PAZMXVHVzqpJ1rhSgxSXuA8DLSA== x-ms-exchange-antispam-messagedata: j+5kcXpFbf9AGzf85wmM6LXQukzow14L16/H9ebcAIo3q89M/cbyZu07xaHk3SECCrPmnQIHHU33wpIY96ATnPNhhU3rYSYD5gklF7ACpGMatbXyNrVW16zLVWHYBanlxq+lXafocWFyVFBuCHgYqpxHm3AMJifeK+yR3DhVPsyQnmrQyotNhzsUBV2bD7BWV8BTgaq5lELi1+1JJ/TP6WOD4nuEA6gOcDDKO0DKBWG1SKTJTeS+zpcScUXGkhDXeqgYjpv/AOjOGAIjKAy5jS/IbOEwbyEbeBP01JpYaraCD00n4JfPHK5pFS187v27A3fEHMoRSdk+lBIin3Y4YgdrbwLKcdsiZyULjow0QvuasbWRvFskTge/szF8b2YHBPg46tRtn6ufEq5eL3xqg9Lr9pKKd24kXJ8qNVB8kgelu8MWHArJlt6ApPaZStwLVIbJhA2NOdME+nsgU/dkKxkuKXeHD/HAn1wB5OXivuC06dJleYt5y9aKqA14yBz8MMjOEgOpJuXYVWKSJxHSg7VEjS4X/+ozmL7j/Npx2IWUgEpm2cntjQ2caCCP5VbcBBBgVSKNdP37yW8rFnUp2h38MJSo1PcuFON7nNC2Uz+oyTXORZu+KfU00l8aZl/bRLyIKOH5dpcBbMATb6YYHE17EWqjmNr/lOzKkY4bl6b/LjVfFyrVtE0yvOk5BHoADhpPPE517PcWlKJJ+kVUu4oBx24mo1YeQdRlohXuaUWfeBN2PO7cjB4bzvhGEaKbXe3Ru/1BBXQP7NzfFeSJ6VRvxtxhFDHrN3HyNNU3q7Q= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6538a6c2-9e89-44df-fed9-08d7e2cd4fbd X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 12:46:12.5330 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YefVspp+kHjEwUqFfL5mltlmDOS1WvhNI8SEDygJyScGrUgOLj9JGKZT+NlmyygZx/3lkxUcobhnu68gGGcu3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2P153MB0256 X-Rspamd-Queue-Id: 493bSB0v00z3MBY X-Spamd-Bar: ---------- X-Spamd-Result: default: False [-10.46 / 15.00]; IP_SCORE(-1.46)[ipnet: 2a01:111:f000::/36(-4.10), asn: 8075(-3.17), country: US(-0.05)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[microsoft.com:s=selector2]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[microsoft.com.dwl.dnswl.org : 127.0.9.2]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[microsoft.com:+]; DMARC_POLICY_ALLOW(-0.50)[microsoft.com,reject]; TO_DN_EQ_ADDR_ALL(0.00)[]; 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)[i=1]; WHITELIST_SPF_DKIM(-3.00)[microsoft.com:d:+,microsoft.com:s:+] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2020 12:46:19 -0000 Hello, I'd like to invite you to review the FreeBSD implementation of HyperV socke= t support. The review is at https://reviews.freebsd.org/D24061. In particular, I'd like to ask if it is ok to choose socket number 43 for A= F_HYPERV type. There are such comments in sys/socket.h: /* * When allocating a new AF_ constant, please only allocate * even numbered constants for FreeBSD until 134 as odd numbered AF_ * constants 39-133 are now reserved for vendors. */ I am not sure if Microsoft is qualified as vendor or not. Socket number 43 = is a good number for this type since it is the same as Linux.=20 Please send your comments directly to me as I am not a subscriber of this a= lias. Thanks, Wei From owner-freebsd-net@freebsd.org Sat Apr 18 01:57:45 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 01EC82B3BEE for ; Sat, 18 Apr 2020 01:57:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 493x1N6GZ7z4BNl for ; Sat, 18 Apr 2020 01:57:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D72102B3BED; Sat, 18 Apr 2020 01:57:44 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D6E692B3BEC for ; Sat, 18 Apr 2020 01:57: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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 493x1N4kdjz4BNk for ; Sat, 18 Apr 2020 01:57: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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9DA93473C for ; Sat, 18 Apr 2020 01:57:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 03I1vijd058512 for ; Sat, 18 Apr 2020 01:57:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03I1vitU058510 for net@FreeBSD.org; Sat, 18 Apr 2020 01:57:44 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 245712] iflib: ift_mtx_name is too small Date: Sat, 18 Apr 2020 01:57:44 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? X-Bugzilla-Changed-Fields: flagtypes.name assigned_to bug_status cc keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2020 01:57:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245712 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable12? Assignee|bugs@FreeBSD.org |net@FreeBSD.org Status|New |Open CC| |net@FreeBSD.org Keywords| |needs-patch, needs-qa --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=