From owner-freebsd-net@freebsd.org Sun Feb 21 10:27:22 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F03AB552824 for ; Sun, 21 Feb 2021 10:27:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dk1hp6Jj3z4Vbh for ; Sun, 21 Feb 2021 10:27:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D892F5524F1; Sun, 21 Feb 2021 10:27:22 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D85B55524F0 for ; Sun, 21 Feb 2021 10:27:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dk1hp5lKBz4VYH for ; Sun, 21 Feb 2021 10:27:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B857A10F82 for ; Sun, 21 Feb 2021 10:27:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11LARMIa093950 for ; Sun, 21 Feb 2021 10:27:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11LARMk6093949 for net@FreeBSD.org; Sun, 21 Feb 2021 10:27:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253469] realtek-re-kmod MC filter problem Date: Sun, 21 Feb 2021 10:27:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 10:27:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253469 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #17 from Konstantin Belousov --- Try this. The patch should be applied on top of all patches in the realtek driver port. It might be easier to apply it by hands diff --git a/if_re.c b/if_re.c index 47466f9..d8f0176 100644 --- a/if_re.c +++ b/if_re.c @@ -8663,7 +8663,7 @@ struct re_softc *sc; /* now program new ones */ #if OS_VER >=3D VERSION(13,0) - if_foreach_llmaddr(ifp, re_hash_maddr, hashes); + mcnt =3D if_foreach_llmaddr(ifp, re_hash_maddr, hashes); #else #if OS_VER >=3D VERSION(12,0) if_maddr_rlock(ifp); --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 21 18:03:11 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD25055D21F for ; Sun, 21 Feb 2021 18:03:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DkCpl4HZzz3DbM for ; Sun, 21 Feb 2021 18:03:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9336B55D2A3; Sun, 21 Feb 2021 18:03:11 +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 92EFC55CD70 for ; Sun, 21 Feb 2021 18:03:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkCpl3hl3z3Ddj for ; Sun, 21 Feb 2021 18:03:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7228E16AFE for ; Sun, 21 Feb 2021 18:03:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11LI3Bn2027381 for ; Sun, 21 Feb 2021 18:03:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11LI3Bd2027380 for net@FreeBSD.org; Sun, 21 Feb 2021 18:03:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253587] iflib (?): reproducible mbuf-related crashes Date: Sun, 21 Feb 2021 18:03:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: spambox@haruhiism.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 18:03:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253587 Kamigishi Rei changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|netisr: possible |iflib (?): reproducible |concurrency issues with |mbuf-related crashes |net.isr.maxthreads > 1 | --- Comment #4 from Kamigishi Rei --- Update: this happens with maxthreads=3D1 as well. Does not happen inside a = VM. With an INVARIANTS kernel I can reproduce this reliably by initiating a zfs send over SSH through this host acting as a router. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 21 18:06:27 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E073755D39D for ; Sun, 21 Feb 2021 18:06:27 +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 4DkCtW5qntz3Dg3 for ; Sun, 21 Feb 2021 18:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C81AB55D39C; Sun, 21 Feb 2021 18:06:27 +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 C7E2B55D274 for ; Sun, 21 Feb 2021 18:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkCtW5D0gz3Djr for ; Sun, 21 Feb 2021 18:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A65DA16B6A for ; Sun, 21 Feb 2021 18:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11LI6RIW028075 for ; Sun, 21 Feb 2021 18:06:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11LI6Rmg028073 for net@FreeBSD.org; Sun, 21 Feb 2021 18:06:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253587] iflib (?): reproducible mbuf-related crashes Date: Sun, 21 Feb 2021 18:06:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: spambox@haruhiism.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 18:06:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253587 --- Comment #5 from Kamigishi Rei --- Update: this happens with maxthreads=3D1 as well. Does not happen inside a = VM. With an INVARIANTS kernel I can reproduce this reliably by initiating a zfs send over SSH through this host acting as a router (4 crashes out of 4 send attempts). Out of these 4 crashes, three were the same KASSERT: panic: Assertion m->m_nextpkt =3D=3D NULL failed at /usr/src/sys/net/iflib.= c:3638 cpuid =3D 2 time =3D 1613930234 KDB: stack backtrace: #0 0xffffffff807fcfe5 at kdb_backtrace+0x65 #1 0xffffffff807b2cd1 at vpanic+0x181 #2 0xffffffff807b2aa3 at panic+0x43 #3 0xffffffff808ec3a1 at iflib_completed_tx_reclaim+0x2d1 #4 0xffffffff808eb780 at iflib_txq_drain+0x60 #5 0xffffffff808f2dfe at drain_ring_lockless+0x9e #6 0xffffffff808f2b93 at ifmp_ring_enqueue+0x313 #7 0xffffffff808f1520 at iflib_if_transmit+0xa0 #8 0xffffffff808d0418 at bridge_enqueue+0xc8 #9 0xffffffff808d26c4 at bridge_output+0x134 #10 0xffffffff808d73af at ether_output+0x63f #11 0xffffffff8097480b at ip6_forward+0x95b #12 0xffffffff80976084 at ip6_input+0xf04 #13 0xffffffff808f4491 at netisr_dispatch_src+0xb1 #14 0xffffffff808d76be at ether_demux+0x17e #15 0xffffffff808d8d4c at ether_nh_input+0x40c #16 0xffffffff808f4491 at netisr_dispatch_src+0xb1 #17 0xffffffff808d7bb1 at ether_input+0xa1 Uptime: 1m36s Dumping 402 out of 4051 MB:..4%..12%..24%..32%..44%..52%..64%..72%..84%..92% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) bt #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown= .c:399 #2 0xffffffff807b28fb in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:486 #3 0xffffffff807b2d40 in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:919 #4 0xffffffff807b2aa3 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:843 #5 0xffffffff808ec3a1 in iflib_tx_desc_free (txq=3D, n=3D) at /usr/src/sys/net/iflib.c:3638 #6 iflib_completed_tx_reclaim (txq=3D, txq@entry=3D0xfffffe0063088000, thresh=3D) at /usr/src/sys/net/iflib.c:3680 #7 0xffffffff808eb780 in iflib_txq_drain (r=3D0xfffffe0063094000, r@entry= =3D, cidx=3D718, cidx@entry=3D, pidx=3D719, pidx@entry=3D) at /usr/src/sys/net/iflib.c:3744 #8 0xffffffff808f2dfe in drain_ring_lockless (r=3D, os=3D..= ., prev=3D0, budget=3D) at /usr/src/sys/net/mp_ring.c:187 #9 0xffffffff808f2b93 in ifmp_ring_enqueue (r=3D0xfffffe0063094000, items=3D, items@entry=3D0xfffffe0007f924e8, n=3D, n@entry=3D1, budget=3D, budget@entry=3D32, abdicate=3D, abdicate@entry=3D0) at /usr/src/sys/net/mp_ring.c:470 #10 0xffffffff808f1520 in iflib_if_transmit (ifp=3D, m=3D0xfffff80015f48000) at /usr/src/sys/net/iflib.c:4135 #11 0xffffffff808d0418 in bridge_enqueue (sc=3Dsc@entry=3D0xfffff80015aa0c0= 0, dst_ifp=3Ddst_ifp@entry=3D0xfffff80002647800, m=3D, m@entry=3D0xfffff80015f48000) at /usr/src/sys/net/if_bridge.c:1983 #12 0xffffffff808d26c4 in bridge_output (ifp=3D, ifp@entry= =3D, m=3D0xfffff80015f48000, m@entry= =3D, sa=3D, sa@entry=3D, rt=3D, rt@entry=3D) at /usr/src/sys/net/if_bridge.c:2145 #13 0xffffffff808d73af in ether_output (ifp=3D0xfffff80002647800, m=3D, dst=3D0xfffffe0007f92670, ro=3D) at /usr/src/sys/net/if_ethersubr.c:414 #14 0xffffffff8097480b in ip6_forward (m=3D, srcrt=3Dsrcrt@ent= ry=3D0) at /usr/src/sys/netinet6/ip6_forward.c:387 #15 0xffffffff80976084 in ip6_input (m=3D, m@entry=3D) at /usr/src/sys/netinet6/ip6_input.c:896 #16 0xffffffff808f4491 in netisr_dispatch_src (proto=3D6, source=3Dsource@e= ntry=3D0, m=3D0xfffff80023e49900) at /usr/src/sys/net/netisr.c:1143 #17 0xffffffff808f47df in netisr_dispatch (proto=3D, m=3D) at /usr/src/sys/net/netisr.c:1234 #18 0xffffffff808d76be in ether_demux (ifp=3Difp@entry=3D0xfffff800026cb800, m=3D) at /usr/src/sys/net/if_ethersubr.c:923 #19 0xffffffff808d8d4c in ether_input_internal (ifp=3D0xfffff800026cb800, m=3D) at /usr/src/sys/net/if_ethersubr.c:709 #20 ether_nh_input (m=3D, m@entry=3D) at /usr/src/sys/net/if_ethersubr.c:739 #21 0xffffffff808f4491 in netisr_dispatch_src (proto=3Dproto@entry=3D5, source=3Dsource@entry=3D0, m=3Dm@entry=3D0xfffff80023e49900) at /usr/src/sys/net/netisr.c:1143 #22 0xffffffff808f47df in netisr_dispatch (proto=3D, proto@ent= ry=3D5, m=3D, m@entry=3D0xfffff80023e49900) at /usr/src/sys/net/netisr= .c:1234 #23 0xffffffff808d7bb1 in ether_input (ifp=3D0xfffff800026cb800, m=3D0xfffff80023e49900) at /usr/src/sys/net/if_ethersubr.c:830 #24 0xffffffff808f0556 in iflib_rxeof (rxq=3D, rxq@entry=3D0xfffff800026cb000, budget=3D) at /usr/src/sys/net/iflib.c:3008 #25 0xffffffff808ea0ca in _task_fn_rx (context=3D0xfffff800026cb000) at /usr/src/sys/net/iflib.c:3951 #26 0xffffffff807fb977 in gtaskqueue_run_locked (queue=3Dqueue@entry=3D0xfffff80002423300) at /usr/src/sys/kern/subr_gtaskqueue.c:371 #27 0xffffffff807fb774 in gtaskqueue_thread_loop (arg=3Darg@entry=3D0xfffffe0008d54038) at /usr/src/sys/kern/subr_gtaskqueue= .c:547 #28 0xffffffff8076efb0 in fork_exit (callout=3D0xffffffff807fb6e0 , arg=3D0xfffffe0008d54038, frame=3D0xfffffe0007f92= c00) at /usr/src/sys/kern/kern_fork.c:1069 #29 4th crash: panic: m_dup: no mbuf packet header! cpuid =3D 1 time =3D 1613919472 KDB: stack backtrace: #0 0xffffffff807fcfe5 at kdb_backtrace+0x65 #1 0xffffffff807b2cd1 at vpanic+0x181 #2 0xffffffff807b2aa3 at panic+0x43 #3 0xffffffff80842981 at m_dup+0x351 #4 0xffffffff808ec610 at iflib_encap+0x210 #5 0xffffffff808ebb39 at iflib_txq_drain+0x419 #6 0xffffffff808f2dfe at drain_ring_lockless+0x9e #7 0xffffffff808f2b93 at ifmp_ring_enqueue+0x313 #8 0xffffffff808f1520 at iflib_if_transmit+0xa0 #9 0xffffffff808d0418 at bridge_enqueue+0xc8 #10 0xffffffff808d26c4 at bridge_output+0x134 #11 0xffffffff808d73af at ether_output+0x63f #12 0xffffffff8097480b at ip6_forward+0x95b #13 0xffffffff80976084 at ip6_input+0xf04 #14 0xffffffff808f4491 at netisr_dispatch_src+0xb1 #15 0xffffffff808d76be at ether_demux+0x17e #16 0xffffffff808d8d4c at ether_nh_input+0x40c #17 0xffffffff808f4491 at netisr_dispatch_src+0xb1 Uptime: 3m59s Dumping 409 out of 4051 MB:..4%..12%..24%..32%..43%..51%..63%..71%..83%..94% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) bt #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown= .c:399 #2 0xffffffff807b28fb in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:486 #3 0xffffffff807b2d40 in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:919 #4 0xffffffff807b2aa3 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:843 #5 0xffffffff80842981 in m_dup (m=3D, how=3D1) at /usr/src/sys/kern/uipc_mbuf.c:733 #6 0xffffffff808ec610 in iflib_parse_header (txq=3D0xfffffe006302ea40, pi=3D0xfffffe0007f47338, mp=3D0xfffffe006304f7f8) at /usr/src/sys/net/iflib= .c:3138 #7 iflib_encap (txq=3Dtxq@entry=3D0xfffffe006302ea40, m_headp=3Dm_headp@entry=3D0xfffffe006304f7f8) at /usr/src/sys/net/iflib.c:3= 464 #8 0xffffffff808ebb39 in iflib_txq_drain (r=3D, r@entry=3D<= error reading variable: value is not available>, cidx=3D, cidx@entry=3D, pidx=3D0, pidx@entry=3D) at /usr/src/sys/net/iflib.c:3801 #9 0xffffffff808f2dfe in drain_ring_lockless (r=3D, os=3D..= ., prev=3D0, budget=3D) at /usr/src/sys/net/mp_ring.c:187 #10 0xffffffff808f2b93 in ifmp_ring_enqueue (r=3D0xfffffe006304c000, items=3D, items@entry=3D0xfffffe0007f474e8, n=3D, n@entry=3D1, budget=3D, budget@entry=3D32, abdicate=3D, abdicate@entry=3D0) at /usr/src/sys/net/mp_ring.c:470 #11 0xffffffff808f1520 in iflib_if_transmit (ifp=3D, m=3D0xfffff800586f9000) at /usr/src/sys/net/iflib.c:4135 #12 0xffffffff808d0418 in bridge_enqueue (sc=3Dsc@entry=3D0xfffff80016b54c0= 0, dst_ifp=3Ddst_ifp@entry=3D0xfffff80002456800, m=3D, m@entry=3D0xfffff800586f9000) at /usr/src/sys/net/if_bridge.c:1983 #13 0xffffffff808d26c4 in bridge_output (ifp=3D, ifp@entry= =3D, m=3D0xfffff800586f9000, m@entry= =3D, sa=3D, sa@entry=3D, rt=3D, rt@entry=3D) at /usr/src/sys/net/if_bridge.c:2145 #14 0xffffffff808d73af in ether_output (ifp=3D0xfffff80002456800, m=3D, dst=3D0xfffffe0007f47670, ro=3D) at /usr/src/sys/net/if_ethersubr.c:414 #15 0xffffffff8097480b in ip6_forward (m=3D, srcrt=3Dsrcrt@ent= ry=3D0) at /usr/src/sys/netinet6/ip6_forward.c:387 #16 0xffffffff80976084 in ip6_input (m=3D, m@entry=3D) at /usr/src/sys/netinet6/ip6_input.c:896 #17 0xffffffff808f4491 in netisr_dispatch_src (proto=3D6, source=3Dsource@e= ntry=3D0, m=3D0xfffff80016ed7600) at /usr/src/sys/net/netisr.c:1143 #18 0xffffffff808f47df in netisr_dispatch (proto=3D, m=3D) at /usr/src/sys/net/netisr.c:1234 #19 0xffffffff808d76be in ether_demux (ifp=3Difp@entry=3D0xfffff80002480800, m=3D) at /usr/src/sys/net/if_ethersubr.c:923 #20 0xffffffff808d8d4c in ether_input_internal (ifp=3D0xfffff80002480800, m=3D) at /usr/src/sys/net/if_ethersubr.c:709 #21 ether_nh_input (m=3D, m@entry=3D) at /usr/src/sys/net/if_ethersubr.c:739 #22 0xffffffff808f4491 in netisr_dispatch_src (proto=3Dproto@entry=3D5, source=3Dsource@entry=3D0, m=3Dm@entry=3D0xfffff80016ed7600) at /usr/src/sys/net/netisr.c:1143 #23 0xffffffff808f47df in netisr_dispatch (proto=3D, proto@ent= ry=3D5, m=3D, m@entry=3D0xfffff80016ed7600) at /usr/src/sys/net/netisr= .c:1234 #24 0xffffffff808d7bb1 in ether_input (ifp=3D0xfffff80002480800, m=3D0xfffff80016ed7600) at /usr/src/sys/net/if_ethersubr.c:830 #25 0xffffffff808f0556 in iflib_rxeof (rxq=3D, rxq@entry=3D0xfffff80002480300, budget=3D) at /usr/src/sys/net/iflib.c:3008 #26 0xffffffff808ea0ca in _task_fn_rx (context=3D0xfffff80002480300) at /usr/src/sys/net/iflib.c:3951 #27 0xffffffff807fb977 in gtaskqueue_run_locked (queue=3Dqueue@entry=3D0xfffff80002422500) at /usr/src/sys/kern/subr_gtaskqueue.c:371 #28 0xffffffff807fb774 in gtaskqueue_thread_loop (arg=3Darg@entry=3D0xfffffe0008d54020) at /usr/src/sys/kern/subr_gtaskqueue= .c:547 #29 0xffffffff8076efb0 in fork_exit (callout=3D0xffffffff807fb6e0 , arg=3D0xfffffe0008d54020, frame=3D0xfffffe0007f47= c00) at /usr/src/sys/kern/kern_fork.c:1069 #30 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 21 18:10:35 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5938D55D5C8 for ; Sun, 21 Feb 2021 18:10:35 +0000 (UTC) (envelope-from kp@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 4DkCzH22xxz3F0v for ; Sun, 21 Feb 2021 18:10:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4626655D69F; Sun, 21 Feb 2021 18:10:35 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 45F0C55D4C1 for ; Sun, 21 Feb 2021 18:10:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkCzH1cXFz3Drd; Sun, 21 Feb 2021 18:10:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 103ADAA9D; Sun, 21 Feb 2021 18:10:35 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 9811D8A27; Sun, 21 Feb 2021 19:10:33 +0100 (CET) From: "Kristof Provost" To: "Doug Hardie" Cc: "net@freebsd.org" Subject: Re: IPv6 Fragmentation Date: Sun, 21 Feb 2021 19:10:32 +0100 X-Mailer: MailMate (1.13.2r5673) Message-ID: In-Reply-To: <5F0CE151-3B44-4692-AE82-F292B99BAC29@sermon-archive.info> References: <472A2B49-9BEC-4335-B6FB-AC4DAA0F0310@lurchi.franken.de> <5F0CE151-3B44-4692-AE82-F292B99BAC29@sermon-archive.info> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 18:10:35 -0000 On 21 Feb 2021, at 0:02, Doug Hardie wrote: >> On 20 February 2021, at 04:13, Kristof Provost >> wrote: >> >> If you don’t have scrub fragment reassemble set then you have to >> include something like pass log inet6 proto ipv6-frag all to pass >> fragmented packets (assuming you block by default). >> >> You really, really want scrub fragment reassemble because otherwise >> your firewall can be trivially bypassed, but you need one of the two >> for fragmented packets to work. >> > > I went with reassembly as it was easy to configure. However, is there > some place where the trivial bypassing is addressed in detail? I > would like to understand that. > Essentially this: https://en.wikipedia.org/wiki/IP_fragmentation_attack#Fragmentation_for_evasion The attacker breaks up the packet into fragments so that the real upper layer header (e.g. TCP) is not in the first packet. All the firewall sees is a fragmentation header and a few random bytes. Not enough to, for example, get the port number. So the firewall allows it through (‘pass log inet6 proto ipv6-frag’), and your policy to deny traffic to port 22 has not been applied. Best regards, Kristof From owner-freebsd-net@freebsd.org Sun Feb 21 19:46:54 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1557855F8DE for ; Sun, 21 Feb 2021 19:46:54 +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 4DkG6P71jlz3Kxj for ; Sun, 21 Feb 2021 19:46:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F105555FC12; Sun, 21 Feb 2021 19:46:53 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0CEB55FB1C for ; Sun, 21 Feb 2021 19:46:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkG6P6RjGz3Kb0 for ; Sun, 21 Feb 2021 19:46:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD94018885 for ; Sun, 21 Feb 2021 19:46:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11LJkrma083517 for ; Sun, 21 Feb 2021 19:46:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11LJkrWb083516 for net@FreeBSD.org; Sun, 21 Feb 2021 19:46:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253587] iflib (?): reproducible mbuf-related crashes Date: Sun, 21 Feb 2021 19:46:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: spambox@haruhiism.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 19:46:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253587 --- Comment #6 from Kamigishi Rei --- With pf and ipfw inactive and without a bridge present (pf and if_bridge are compiled into the kernel), IPv6 traffic from outside via igb0 to a LAN host= via igb1: Unread portion of the kernel message buffer: panic: Assertion m->m_nextpkt =3D=3D NULL failed at /usr/src/sys/net/iflib.= c:4089 cpuid =3D 3 time =3D 1613936205 KDB: stack backtrace: #0 0xffffffff807fcfe5 at kdb_backtrace+0x65 #1 0xffffffff807b2cd1 at vpanic+0x181 #2 0xffffffff807b2aa3 at panic+0x43 #3 0xffffffff808f15db at iflib_if_transmit+0x15b #4 0xffffffff808d751b at ether_output_frame+0xab #5 0xffffffff808d7421 at ether_output+0x6b1 #6 0xffffffff80984025 at nd6_flush_holdchain+0x35 #7 0xffffffff80987950 at nd6_na_input+0x5a0 #8 0xffffffff8095cc0e at icmp6_input+0xb3e #9 0xffffffff80976009 at ip6_input+0xe89 #10 0xffffffff808f4491 at netisr_dispatch_src+0xb1 #11 0xffffffff808d76be at ether_demux+0x17e #12 0xffffffff808d8d4c at ether_nh_input+0x40c #13 0xffffffff808f4491 at netisr_dispatch_src+0xb1 #14 0xffffffff808d7bb1 at ether_input+0xa1 #15 0xffffffff808f0556 at iflib_rxeof+0xe06 #16 0xffffffff808ea0ca at _task_fn_rx+0x7a #17 0xffffffff807fb977 at gtaskqueue_run_locked+0xa7 Uptime: 1m8s Dumping 357 out of 4051 MB:..5%..14%..23%..32%..41%..54%..63%..72%..81%..95% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) bt #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown= .c:399 #2 0xffffffff807b28fb in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:486 #3 0xffffffff807b2d40 in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:919 #4 0xffffffff807b2aa3 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:843 #5 0xffffffff808f15db in iflib_if_transmit (ifp=3D0xfffff800026ac800, m=3D0xfffff800237adc00) at /usr/src/sys/net/iflib.c:4089 #6 0xffffffff808d751b in ether_output_frame (ifp=3Difp@entry=3D0xfffff8000= 26ac800, m=3D) at /usr/src/sys/net/if_ethersubr.c:511 #7 0xffffffff808d7421 in ether_output (ifp=3D, m=3D, dst=3D0xfffffe0007f8d408, ro=3D) at /usr/src/sys/net/if_ethersubr.c:438 #8 0xffffffff80984025 in nd6_flush_holdchain (ifp=3Difp@entry=3D0xfffff800026ac800, chain=3D, dst=3Ddst@entry=3D0xfffffe0007f8d408) at /usr/src/sys/netinet6/nd6.c:2463 #9 0xffffffff80987950 in nd6_na_input (m=3Dm@entry=3D0xfffff800232ee800, off=3D, off@entry=3D40, icmp6len=3D, icmp6len= @entry=3D32) at /usr/src/sys/netinet6/nd6_nbr.c:909 #10 0xffffffff8095cc0e in icmp6_input (mp=3D0xfffffe0007f8d778, mp@entry=3D= , offp=3D0xfffffe0007f8d770, offp@entry=3D, proto=3D, proto@entry=3D) at /usr/src/sys/netinet6/icmp6.c:817 #11 0xffffffff80976009 in ip6_input (m=3D0xfffff800232ee800, m@entry=3D) at /usr/src/sys/netinet6/ip6_input.c:930 #12 0xffffffff808f4491 in netisr_dispatch_src (proto=3D6, source=3Dsource@e= ntry=3D0, m=3D0xfffff800232ee800) at /usr/src/sys/net/netisr.c:1143 #13 0xffffffff808f47df in netisr_dispatch (proto=3D, m=3D) at /usr/src/sys/net/netisr.c:1234 #14 0xffffffff808d76be in ether_demux (ifp=3Difp@entry=3D0xfffff800026ac800, m=3D) at /usr/src/sys/net/if_ethersubr.c:923 #15 0xffffffff808d8d4c in ether_input_internal (ifp=3D0xfffff800026ac800, m=3D) at /usr/src/sys/net/if_ethersubr.c:709 #16 ether_nh_input (m=3D, m@entry=3D) at /usr/src/sys/net/if_ethersubr.c:739 #17 0xffffffff808f4491 in netisr_dispatch_src (proto=3Dproto@entry=3D5, source=3Dsource@entry=3D0, m=3Dm@entry=3D0xfffff800232ee800) at /usr/src/sys/net/netisr.c:1143 #18 0xffffffff808f47df in netisr_dispatch (proto=3D, proto@ent= ry=3D5, m=3D, m@entry=3D0xfffff800232ee800) at /usr/src/sys/net/netisr= .c:1234 #19 0xffffffff808d7bb1 in ether_input (ifp=3D0xfffff800026ac800, m=3D0xfffff800232ee800) at /usr/src/sys/net/if_ethersubr.c:830 #20 0xffffffff808f0556 in iflib_rxeof (rxq=3D, rxq@entry=3D0xfffff800026ac300, budget=3D) at /usr/src/sys/net/iflib.c:3008 #21 0xffffffff808ea0ca in _task_fn_rx (context=3D0xfffff800026ac300) at /usr/src/sys/net/iflib.c:3951 #22 0xffffffff807fb977 in gtaskqueue_run_locked (queue=3Dqueue@entry=3D0xfffff80002423100) at /usr/src/sys/kern/subr_gtaskqueue.c:371 #23 0xffffffff807fb774 in gtaskqueue_thread_loop (arg=3Darg@entry=3D0xfffffe0008d54050) at /usr/src/sys/kern/subr_gtaskqueue= .c:547 #24 0xffffffff8076efb0 in fork_exit (callout=3D0xffffffff807fb6e0 , arg=3D0xfffffe0008d54050, frame=3D0xfffffe0007f8d= c00) at /usr/src/sys/kern/kern_fork.c:1069 #25 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 21 20:29:06 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D2D10538DA7 for ; Sun, 21 Feb 2021 20:29:06 +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 4DkH365RNGz3NBD for ; Sun, 21 Feb 2021 20:29:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BAA4F5388FA; Sun, 21 Feb 2021 20:29:06 +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 BA6FA538B57 for ; Sun, 21 Feb 2021 20:29:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkH364sbVz3N3X for ; Sun, 21 Feb 2021 20:29:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9638619097 for ; Sun, 21 Feb 2021 20:29:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11LKT6he008068 for ; Sun, 21 Feb 2021 20:29:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11LKT62m008067 for net@FreeBSD.org; Sun, 21 Feb 2021 20:29:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253587] iflib (?): reproducible mbuf-related crashes Date: Sun, 21 Feb 2021 20:29:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 20:29:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253587 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melifaro@FreeBSD.org --- Comment #7 from Alexander V. Chernikov --- (In reply to Kamigishi Rei from comment #6) the last one may actually have a different cause: https://github.com/freebsd/freebsd-src/commit/b3cfe07d74a9ee4b726e2333ff327= d154181572d was committed slightly after -BETA2. Would it be possible if you could try updating to BETA3 and see if it becom= es better? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 21 21:00:03 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F1C6853A57C for ; Sun, 21 Feb 2021 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DkHkq6PNmz3QPf for ; Sun, 21 Feb 2021 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id DB9F553A579; Sun, 21 Feb 2021 21:00:03 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DB64F53A4EB for ; Sun, 21 Feb 2021 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkHkq5v1Zz3QZD for ; Sun, 21 Feb 2021 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD55E194BF for ; Sun, 21 Feb 2021 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11LL03Ng023812 for ; Sun, 21 Feb 2021 21:00:03 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11LL03ep023811 for net@FreeBSD.org; Sun, 21 Feb 2021 21:00:03 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202102212100.11LL03ep023811@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, 21 Feb 2021 21:00:03 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 21:00:04 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport In Progress | 235700 | oce(4) driver causes fatal trap 12 on boot with e New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 213410 | [carp] service netif restart causes hang only whe Open | 7556 | ppp: sl_compress_init() will fail if called anyth Open | 166724 | if_re(4): watchdog timeout Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194453 | dummynet(4): pipe config bw parameter limited to Open | 200319 | Bridge+CARP crashes/freezes Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 207261 | netmap: Doesn't do TX sync with kqueue Open | 217978 | dhclient: Support supersede statement for option Open | 220468 | libfetch: Does not handle 407 (proxy auth) when c Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race Open | 225792 | ECMP is broken since tryforward() Open | 227720 | Kernel panic in ppp server Open | 230807 | if_alc(4): Driver not working for Killer Networki Open | 236888 | ppp daemon: Allow MTU to be overridden for PPPoE Open | 236983 | bnxt(4) VLAN not operational unless explicit "ifc Open | 237072 | netgraph(4): performance issue [on HardenedBSD]? Open | 237840 | Removed dummynet dependency on ipfw Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile Open | 240969 | netinet6: Neighbour reachability detection broken Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 241162 | Panic in closefp() triggered by nginx (uwsgi with Open | 243463 | ix0: Watchdog timeout Open | 244066 | divert: Add sysctls for divert socket send and re Open | 118111 | rc: network.subr Add MAC address based interface 30 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun Feb 21 22:06:43 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D154B53DA2E for ; Sun, 21 Feb 2021 22:06:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DkKCl5Mb2z3lvf for ; Sun, 21 Feb 2021 22:06:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B62B353D5B8; Sun, 21 Feb 2021 22:06:43 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B5E3F53DB7E for ; Sun, 21 Feb 2021 22:06:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkKCl4fqFz3lqF for ; Sun, 21 Feb 2021 22:06:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8F2301A0E1 for ; Sun, 21 Feb 2021 22:06:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11LM6h6p060627 for ; Sun, 21 Feb 2021 22:06:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11LM6hG6060626 for net@FreeBSD.org; Sun, 21 Feb 2021 22:06:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253587] iflib (?): reproducible mbuf-related crashes Date: Sun, 21 Feb 2021 22:06:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: spambox@haruhiism.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 22:06:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253587 --- Comment #8 from Kamigishi Rei --- (In reply to Alexander V. Chernikov from comment #7) Thank you for the suggestion; it does not seem to crash on my test any more. Will see how it goes for a week and close this if everything stays fine. Al= most all of the crashes I witnessed were due to mbufs. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 21 22:29:05 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F8EA53E1CD for ; Sun, 21 Feb 2021 22:29:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DkKjY3T8zz3my4 for ; Sun, 21 Feb 2021 22:29:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7576A53E3AE; Sun, 21 Feb 2021 22:29:05 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 753C253E1CC for ; Sun, 21 Feb 2021 22:29:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkKjY2mk3z3n8f for ; Sun, 21 Feb 2021 22:29:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5294B1AA12 for ; Sun, 21 Feb 2021 22:29:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11LMT5kr072928 for ; Sun, 21 Feb 2021 22:29:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11LMT5ST072927 for net@FreeBSD.org; Sun, 21 Feb 2021 22:29:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 250363] [tcp] data in syn_ack should be ignored Date: Sun, 21 Feb 2021 22:29:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 22:29:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250363 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|New |Closed --- Comment #5 from Michael Tuexen --- I think we will keep this behaviour. Hopefully, RFC 793bis will make it explicit, that it is allowed. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 22 08:53:19 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 39E7454DBFB for ; Mon, 22 Feb 2021 08:53:19 +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 4DkbYq0zphz4qPp for ; Mon, 22 Feb 2021 08:53:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1FE6154DBFA; Mon, 22 Feb 2021 08:53:19 +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 1FAF154DBF8 for ; Mon, 22 Feb 2021 08:53:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DkbYq0LBXz4qPn for ; Mon, 22 Feb 2021 08:53:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F2ED222E04 for ; Mon, 22 Feb 2021 08:53:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11M8rIdF006284 for ; Mon, 22 Feb 2021 08:53:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11M8rIjN006283 for net@FreeBSD.org; Mon, 22 Feb 2021 08:53:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253487] if_wg module multiple ipv4 in allowed-ips will cause all IPs' subnet mask become the same. Date: Mon, 22 Feb 2021 08:53:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lwhsu@FreeBSD.org 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.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2021 08:53:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253487 Li-Wen Hsu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED --- Comment #6 from Li-Wen Hsu --- Merged in https://cgit.freebsd.org/src/commit/?id=3D0646b83f0779260256e03a11c7bc2e6bc= fefa694 https://cgit.freebsd.org/src/commit/?id=3Df28545524cb197a5df9ebd8d2019f2008= 01d538a --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 22 20:03:38 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B02F54C9C9 for ; Mon, 22 Feb 2021 20:03:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DktRF6X6Gz4g30 for ; Mon, 22 Feb 2021 20:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E00ED54CA3C; Mon, 22 Feb 2021 20:03:37 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DFDC154CC12 for ; Mon, 22 Feb 2021 20:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DktRF5y18z4g2y for ; Mon, 22 Feb 2021 20:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BDF7439E5 for ; Mon, 22 Feb 2021 20:03:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11MK3btA054490 for ; Mon, 22 Feb 2021 20:03:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11MK3bbj054489 for net@FreeBSD.org; Mon, 22 Feb 2021 20:03:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253469] realtek-re-kmod MC filter problem Date: Mon, 22 Feb 2021 20:03:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jmg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2021 20:03:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253469 --- Comment #18 from John-Mark Gurney --- Looks like it was bge. It may also affect ure as well, but the testing tha= t I was doing for the thread was bge: https://docs.freebsd.org/cgi/mid.cgi?20210112213707.GP31099@funkthat.com and later I was able to reproduce w/ epair as well: https://docs.freebsd.org/cgi/mid.cgi?20210114193429.GT31099@funkthat.com --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 23 14:16:08 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D890F5451EB for ; Tue, 23 Feb 2021 14:16:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DlLgr3GRGz3KL9 for ; Tue, 23 Feb 2021 14:16:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6EF745455AE; Tue, 23 Feb 2021 14:16:08 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6C27554541B for ; Tue, 23 Feb 2021 14:16:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlLgr178Yz3Kfd for ; Tue, 23 Feb 2021 14:16:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1898B1AD07 for ; Tue, 23 Feb 2021 14:16:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11NEG8Wl035565 for ; Tue, 23 Feb 2021 14:16:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11NEG8Bg035564 for net@FreeBSD.org; Tue, 23 Feb 2021 14:16:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230465] ixl: not working in netmap mode Date: Tue, 23 Feb 2021 14:16:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: halfling@halfling.com.br X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 14:16:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230465 Charles Goncalves changed: What |Removed |Added ---------------------------------------------------------------------------- Version|11.2-STABLE |12.1-STABLE --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 23 14:27:41 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 54D315457FB for ; Tue, 23 Feb 2021 14:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DlLx91mVrz3LDY for ; Tue, 23 Feb 2021 14:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3CB0C545671; Tue, 23 Feb 2021 14:27:41 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C7BF5459C9 for ; Tue, 23 Feb 2021 14:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlLx913Phz3LGH for ; Tue, 23 Feb 2021 14:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 173071AEB6 for ; Tue, 23 Feb 2021 14:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11NERfE8040065 for ; Tue, 23 Feb 2021 14:27:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11NERf9N040064 for net@FreeBSD.org; Tue, 23 Feb 2021 14:27:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230465] ixl: not working in netmap mode Date: Tue, 23 Feb 2021 14:27:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: halfling@halfling.com.br X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 14:27:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230465 --- Comment #41 from Charles Goncalves --- (In reply to Vincenzo Maffione from comment #40) Hello Vincenzo! This issue is present on FreeBSD 12.2 or 13.0? I don't have a test environm= ent right now, but I will upgrade a production router from 12.1 to 12.2 and to = 13.0 in the following months then I can test it. This router has a ixl NIC (chip=3D0x15838086 Ethernet Controller XL710 for = 40GbE QSFP+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 23 19:18:56 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E2EB954EFB5 for ; Tue, 23 Feb 2021 19:18:56 +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 4DlTPD5vXLz4TjC for ; Tue, 23 Feb 2021 19:18:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CA90454EFB4; Tue, 23 Feb 2021 19:18: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 CA5B454EF48 for ; Tue, 23 Feb 2021 19:18:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlTPD5K4jz4TmC for ; Tue, 23 Feb 2021 19:18: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A622E1F003 for ; Tue, 23 Feb 2021 19:18: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 11NJIu24092198 for ; Tue, 23 Feb 2021 19:18:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11NJIun3092197 for net@FreeBSD.org; Tue, 23 Feb 2021 19:18: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 253790] if_wg(4) lacks persistent keepalive Date: Tue, 23 Feb 2021 19:18:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 19:18:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253790 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 23 19:19:37 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA86B54F1F8 for ; Tue, 23 Feb 2021 19:19:37 +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 4DlTQ159Mjz4Th5 for ; Tue, 23 Feb 2021 19:19:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AFA1954EE29; Tue, 23 Feb 2021 19:19:37 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AF67954EF6B for ; Tue, 23 Feb 2021 19:19:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlTQ14TkYz4Txh for ; Tue, 23 Feb 2021 19:19:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8CFFE1EE8B for ; Tue, 23 Feb 2021 19:19:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11NJJbNE092350 for ; Tue, 23 Feb 2021 19:19:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11NJJbKW092349 for net@FreeBSD.org; Tue, 23 Feb 2021 19:19:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253800] [panic] FreeBSD-13.0 (releng/13.0) panic upon duplicate IPv4 detection / page fault while in kernel mode (in function rtsock_routemsg_info) Date: Tue, 23 Feb 2021 19:19:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 19:19:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253800 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |panic Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 23 21:02:27 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B5A1552A15 for ; Tue, 23 Feb 2021 21:02:27 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DlWhg2f8lz4cj6 for ; Tue, 23 Feb 2021 21:02:27 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5AB77552942; Tue, 23 Feb 2021 21:02:27 +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 5A6B55528C3; Tue, 23 Feb 2021 21:02:27 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) (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 4DlWhf5bTPz4cTP; Tue, 23 Feb 2021 21:02:23 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from [192.168.0.88] (unknown [195.64.148.76]) (Authenticated sender: andriy.gapon@uabsd.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 48224200006; Tue, 23 Feb 2021 21:02:21 +0000 (UTC) To: FreeBSD Current , net@FreeBSD.org From: Andriy Gapon Subject: panic: sackhint bytes rtx >= 0 Message-ID: <960081ac-2839-a226-3142-5a4666eb54ad@FreeBSD.org> Date: Tue, 23 Feb 2021 23:02:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DlWhf5bTPz4cTP X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; local_wl_from(0.00)[FreeBSD.org] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 21:02:27 -0000 Got this panic on 13.0-STABLE 4b2a20dfde9c using a custom kernel with INVARIANTS enabled. Below is some information from the crash dump. If anyone has any clues, suggestions, etc, please help. I will try to help you to help me the best I can. #0 doadump (textdump=textdump@entry=1) at /usr/devel/git/trant/sys/kern/kern_shutdown.c:399 #1 0xffffffff808396b2 in kern_reboot (howto=260) at /usr/devel/git/trant/sys/kern/kern_shutdown.c:486 #2 0xffffffff80839d07 in vpanic ( fmt=0xffffffff80cbd551 "sackhint bytes rtx >= 0", ap=0xfffffe0120b9e6d0) at /usr/devel/git/trant/sys/kern/kern_shutdown.c:919 #3 0xffffffff808398b3 in panic (fmt=) at /usr/devel/git/trant/sys/kern/kern_shutdown.c:843 #4 0xffffffff8098a82c in tcp_sack_doack (tp=, tp@entry=0xfffff807548187f0, to=, to@entry=0xfffffe0120b9e780, th_ack=) at /usr/devel/git/trant/sys/netinet/tcp_sack.c:691 #5 0xffffffff80983699 in tcp_do_segment (m=0xfffff8029868ca00, m@entry=, th=, th@entry=, so=0xfffff804e7359b10, so@entry=, tp=0xfffff807548187f0, tp@entry=, drop_hdrlen=60, drop_hdrlen@entry=, tlen=, tlen@entry=, iptos=72 'H', iptos@entry=) at /usr/devel/git/trant/sys/netinet/tcp_input.c:2497 #6 0xffffffff80980d97 in tcp_input (mp=, mp@entry=, offp=, offp@entry=, proto=) at /usr/devel/git/trant/sys/netinet/tcp_input.c:1381 #7 0xffffffff80976eb7 in ip_input (m=0x0) at /usr/devel/git/trant/sys/netinet/ip_input.c:833 #8 0xffffffff8094c78f in netisr_dispatch_src (proto=1, source=source@entry=0, m=0xfffff8029868ca00) at /usr/devel/git/trant/sys/net/netisr.c:1143 #9 0xffffffff8094cb0e in netisr_dispatch (proto=, m=) at /usr/devel/git/trant/sys/net/netisr.c:1234 #10 0xffffffff80943345 in ether_demux (ifp=ifp@entry=0xfffff80008c75000, m=) at /usr/devel/git/trant/sys/net/if_ethersubr.c:923 #11 0xffffffff809446c1 in ether_input_internal (ifp=0xfffff80008c75000, m=) at /usr/devel/git/trant/sys/net/if_ethersubr.c:709 #12 0xffffffff809443d0 in ether_nh_input (m=) at /usr/devel/git/trant/sys/net/if_ethersubr.c:739 #13 0xffffffff8094c78f in netisr_dispatch_src (proto=proto@entry=5, source=source@entry=0, m=m@entry=0xfffff8029868ca00) at /usr/devel/git/trant/sys/net/netisr.c:1143 #14 0xffffffff8094cb0e in netisr_dispatch (proto=, proto@entry=5, m=, m@entry=0xfffff8029868ca00) at /usr/devel/git/trant/sys/net/netisr.c:1234 #15 0xffffffff8094383d in ether_input (ifp=0xfffff80008c75000, ifp@entry=, m=0xfffff8029868ca00, m@entry=) at /usr/devel/git/trant/sys/net/if_ethersubr.c:830 #16 0xffffffff8066da13 in re_rxeof (sc=sc@entry=0xfffffe00391a5000, rx_npktsp=0x0) at /usr/devel/git/trant/sys/dev/re/if_re.c:2388 #17 0xffffffff8066b3ab in re_intr_msi (xsc=0xfffffe00391a5000) at /usr/devel/git/trant/sys/dev/re/if_re.c:2684 #18 0xffffffff80801bcf in intr_event_execute_handlers ( p=p@entry=0xfffff80006a94a50, ie=ie@entry=0xfffff80008c57800) at /usr/devel/git/trant/sys/kern/kern_intr.c:1168 #19 0xffffffff80801942 in ithread_execute_handlers ( p=p@entry=0xfffff80006a94a50, ie=ie@entry=0xfffff80008c57800) at /usr/devel/git/trant/sys/kern/kern_intr.c:1181 #20 0xffffffff80801758 in ithread_loop (arg=arg@entry=0xfffff80008c20c40) at /usr/devel/git/trant/sys/kern/kern_intr.c:1269 #21 0xffffffff807fe0a9 in fork_exit ( callout=0xffffffff808016c0 , arg=0xfffff80008c20c40, frame=0xfffffe0120b9ed40) at /usr/devel/git/trant/sys/kern/kern_fork.c:1069 (kgdb) fr 4 #4 0xffffffff8098a82c in tcp_sack_doack (tp=, tp@entry=0xfffff807548187f0, to=, to@entry=0xfffffe0120b9e780, th_ack=) at /usr/devel/git/trant/sys/netinet/tcp_sack.c:691 691 KASSERT(tp->sackhint.sack_bytes_rexmit >= 0, (kgdb) i loc sack_blocks = {{start = 3846350860, end = 3846396940}, {start = 3846398380, end = 3846415660}, {start = 0, end = 0}, {start = 1417775088, end = 4294965255}, {start = 549054304, end = 4294966785}} left_edge_delta = delivered_data = 0 sack_changed = num_sack_blks = i = j = sack = {start = , end = } sblkp = 0xfffffe0120b9e700 temp = cur = 0xfffff8013da5a320 (kgdb) p *cur $1 = {start = 3846347980, end = 3846352300, rxmit = 3846352300, scblink = {tqe_next = 0xfffff8013da5a220, tqe_prev = 0xfffff80754818930}} (kgdb) p 3846352300 - 3846347980 $2 = 4320 (kgdb) p tp->sackhint.sack_bytes_rexmit value has been optimized out (kgdb) p tp@entry->sackhint.sack_bytes_rexmit $3 = -1440 (kgdb) p 4320 - 1440 $4 = 2880 (kgdb) p *sblkp $5 = {start = 3846350860, end = 3846396940} (kgdb) p *tp@entry $7 = {t_inpcb = 0xfffff80640ca65b8, t_fb = 0xffffffff80ef4700 , t_fb_ptr = 0x0, t_maxseg = 1440, t_logstate = 0, t_port = 0, t_state = 4, t_idle_reduce = 0, t_delayed_ack = 0, t_fin_is_rst = 0, t_log_state_set = 0, bits_spare = 0, t_flags = 1613759072, snd_una = 3846347980, snd_max = 3846417100, snd_nxt = 3846417100, snd_up = 3846347980, snd_wnd = 237568, snd_cwnd = 4320, t_peakrate_thr = 0, ts_offset = 71449215, rfbuf_ts = 162235772, rcv_numsacks = 0, t_tsomax = 0, t_tsomaxsegcount = 0, t_tsomaxsegsize = 0, rcv_nxt = 2281639092, rcv_adv = 2281705332, rcv_wnd = 66240, t_flags2 = 1030, t_srtt = 876, t_rttvar = 33, ts_recent = 0, snd_scale = 8 '\b', rcv_scale = 6 '\006', snd_limited = 2 '\002', request_r_scale = 6 '\006', last_ack_sent = 2281639092, t_rcvtime = 2309118641, rcv_up = 2281639092, t_segqlen = 0, t_segqmbuflen = 0, t_segq = { tqh_first = 0x0, tqh_last = 0xfffff80754818880}, t_in_pkt = 0x0, t_tail_pkt = 0x0, t_timers = 0xfffff80754818a78, t_vnet = 0x0, snd_ssthresh = 31680, snd_wl1 = 2281639092, snd_wl2 = 3846347980, irs = 2281631223, iss = 3840447913, t_acktime = 0, t_sndtime = 2309118613, ts_recent_age = 0, snd_recover = 3846415660, cl4_spare = 0, t_oobflags = 0 '\000', t_iobc = 0 '\000', t_rxtcur = 270, t_rxtshift = 1, t_rtttime = 2309118613, t_rtseq = 3846415660, t_starttime = 2309086941, t_fbyte_in = 2309087188, t_fbyte_out = 2309087159, t_pmtud_saved_maxseg = 0, t_blackhole_enter = 0, t_blackhole_exit = 0, t_rttmin = 30, t_rttbest = 845, t_softerror = 0, max_sndwnd = 237568, snd_cwnd_prev = 64800, snd_ssthresh_prev = 8640, snd_recover_prev = 3846347980, t_sndzerowin = 0, t_rttupdated = 368, snd_numholes = 2, t_badrxtwin = 0, snd_holes = {tqh_first = 0xfffff8013da5a320, tqh_last = 0xfffff8013da5a230}, snd_fack = 3846415660, sackblks = {{start = 2281632180, end = 2281632690}, {start = 0, end = 0}, {start = 0, end = 0}, {start = 0, end = 0}, {start = 0, end = 0}, {start = 0, end = 0}}, sackhint = {nexthole = 0xfffff8013da5a220, sack_bytes_rexmit = -1440, last_sack_ack = 3846415660, delivered_data = 1440, sacked_bytes = 61920, recover_fs = 67680, prr_delivered = 1440, _pad = {0}}, t_rttlow = 25, rfbuf_cnt = 0, tod = 0x0, t_sndrexmitpack = 520, t_rcvoopack = 0, t_toe = 0x0, cc_algo = 0xffffffff80ef2530 , ccv = 0xfffff80754818bc0, osd = 0x0, t_bytes_acked = 11520, t_maxunacktime = 0, t_keepinit = 0, t_keepidle = 0, t_keepintvl = 0, t_keepcnt = 0, t_dupacks = 4, t_lognum = 0, t_loglimit = 0, t_pacing_rate = -1, t_logs = {stqh_first = 0x0, stqh_last = 0x0}, t_lin = 0x0, t_lib = 0x0, t_output_caller = 0x0, t_stats = 0x0, t_logsn = 0, gput_ts = 0, gput_seq = 0, gput_ack = 0, t_stats_gput_prev = 0, t_tfo_client_cookie_len = 0 '\000', t_end_info_status = 0, t_tfo_pending = 0x0, t_tfo_cookie = {client = '\000' , server = 0}, { t_end_info_bytes = "\000\000\000\000\000\000\000", t_end_info = 0}} (kgdb) p *tp@entry->sackhint.nexthole $8 = {start = 3846396940, end = 3846398380, rxmit = 3846398380, scblink = {tqe_next = 0x0, tqe_prev = 0xfffff8013da5a330}} -- Andriy Gapon From owner-freebsd-net@freebsd.org Tue Feb 23 21:49:33 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A92B5545F0 for ; Tue, 23 Feb 2021 21:49:33 +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 4DlXl13npLz4hKH for ; Tue, 23 Feb 2021 21:49:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8225955456A; Tue, 23 Feb 2021 21:49:33 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81ECD5545EF for ; Tue, 23 Feb 2021 21:49:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlXl13BLFz4hTF for ; Tue, 23 Feb 2021 21:49:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 60AA720E37 for ; Tue, 23 Feb 2021 21:49:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11NLnXiM074129 for ; Tue, 23 Feb 2021 21:49:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11NLnXrJ074128 for net@FreeBSD.org; Tue, 23 Feb 2021 21:49:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253800] [panic] FreeBSD-13.0 (releng/13.0) panic upon duplicate IPv4 detection / page fault while in kernel mode (in function rtsock_routemsg_info) Date: Tue, 23 Feb 2021 21:49:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 21:49:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253800 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 the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 23 22:40:24 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C3D045559E0 for ; Tue, 23 Feb 2021 22:40:24 +0000 (UTC) (envelope-from Richard.Scheffenegger@netapp.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DlYsh3Spgz4lkt for ; Tue, 23 Feb 2021 22:40:24 +0000 (UTC) (envelope-from Richard.Scheffenegger@netapp.com) Received: by mailman.nyi.freebsd.org (Postfix) id 76E1E555C10; Tue, 23 Feb 2021 22:40: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 7696B5559DF for ; Tue, 23 Feb 2021 22:40:24 +0000 (UTC) (envelope-from Richard.Scheffenegger@netapp.com) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on20622.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5b::622]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlYsg0C1tz4lYx; Tue, 23 Feb 2021 22:40:22 +0000 (UTC) (envelope-from Richard.Scheffenegger@netapp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RdK9c92GAVxQIb+xd4RsZEGofI89yN5eXA+0RnapBgth+emJ3CgMI8a/DwVYX3S6TL2bvD76ap5g9oJ4lWVwqxgOcvXOhe8G652PBM7jmXNbciyfzPpIcm5oAcethzVw0ZBPuBdFSnS8ADHYBw33pDFCpd9JBYSADSJIO9ZhKCypEyglXGWOOTICl0YXY8oaQEkJbVG8DQ/h+qqva0MHRmCV3fLTcLn7aMoM4ayayHUzIPy3+GPEG7EwpVTJPo9FgR3MVW3qeqKmW29bS7jdUmKc/MM1PF6i3LcwpNKPIxJNHWvXtohWerNp2tXxaDbFnbQ5BkyWfBzADmCIphojww== 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=jfUODNgje3r/ZUi9j36bRqS9nbIVs/MmNQNVLTLUO6w=; b=hrGNNcpYxPqWlLvlyKLmCawimuSbK0w8lHpBxolvoj2OdoY+z2yMvzz9uBmoulP/oIIsNSppQVAvGqaRB6Amr4rSpEsqGHBQa7jQo6wKwTUd9ZG8ROs4srV9ZMuNdwl8LcjRKGnVTW1N3AJMFzBsi/ALNk1A/lEwpYaRwfU/pccRS+KHFp2V3u+0r4rpaRx7mg8Bo1PaYCUoavcSDTiiQZ4K7FU+/xFYAlM1D7Mzg6aFMBWFHUq24mVqpHJR2ztcDonH0Q7Sq2PVbp7WTBcppqbIQRfoZo/a/MCG3skrU84TCGwyo9tTV5dyQGIduyziZT1aTEghyFClUQdjFF/ysg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=netapp.com; dmarc=pass action=none header.from=netapp.com; dkim=pass header.d=netapp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jfUODNgje3r/ZUi9j36bRqS9nbIVs/MmNQNVLTLUO6w=; b=gdSb/9p8mtjAYEUjc7Wl/t3nI5qyCXYBF76qBxJFA83vMzxvLfZ7EWUWmkg7iJeBtmqhVp0pIvhZZ1/WG24ITtdIej6eED9xp3XDG+ySq2bumrE6xvq7i+HHv5a3jViR+TqocjR8z95sKndriiebOhnI6a+/OrRxiQnIuVC0RDu2WSpyHTDLIacara5sOrCr1j0UNVp7x2/K2j5NTMEjO9HWp/nTOTP/kf8zc9IpqcpBr3DYeo5yTusWUDLYOtE90d6zPym/dcBL2txo1j1Y6CephLQ3pNJlXOxbnf+viTkCZi1IWKlm6W7SMk5txE9nriRoEAQ1joUAKPLDiIrmXg== Received: from SN4PR0601MB3728.namprd06.prod.outlook.com (2603:10b6:803:51::24) by SA0PR06MB6796.namprd06.prod.outlook.com (2603:10b6:806:b7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27; Tue, 23 Feb 2021 22:40:20 +0000 Received: from SN4PR0601MB3728.namprd06.prod.outlook.com ([fe80::b5a7:3530:77c6:2e3e]) by SN4PR0601MB3728.namprd06.prod.outlook.com ([fe80::b5a7:3530:77c6:2e3e%6]) with mapi id 15.20.3868.033; Tue, 23 Feb 2021 22:40:20 +0000 From: "Scheffenegger, Richard" To: "avg@FreeBSD.org" CC: "tuexen@freebsd.org" , "net@FreeBSD.org" Subject: AW: panic: sackhint bytes rtx >= 0 Thread-Topic: panic: sackhint bytes rtx >= 0 Thread-Index: AQHXCidGCValvkSUv0u8YX/4AZIj26pmP0UCgAAMm6A= Date: Tue, 23 Feb 2021 22:40:20 +0000 Message-ID: References: <960081ac-2839-a226-3142-5a4666eb54ad@FreeBSD.org> <8BB910F9-B828-49A2-8941-4F6C6419D8EA@freebsd.org> In-Reply-To: <8BB910F9-B828-49A2-8941-4F6C6419D8EA@freebsd.org> Accept-Language: de-AT, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [77.119.129.103] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d756f598-8e8e-4901-af7f-08d8d84c0022 x-ms-traffictypediagnostic: SA0PR06MB6796: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jDBbkyMRB9bimxdNObIDO44rMkFwJGuRTl9lWg75wqoLyjvkPHKxcpMdrq0XtHZbuP4tom/amQ1gTpXpjwm3yRLhLm6PZ60CIUVk7tsUrFl3bfyMEObtGhfblUvI0dOZwrd6BTQSSEaUo7wj85+i6CDWGuPbW7rDr52SnpVwU/OXr88A1neC2OhZJzhzuSAdVOFWed4VVCWmR4Rv7I23Ep3Dk6/eQ+50N80GiW3i1BuW0Q5ClSW1zS6oz1qWkvke9H1F/IO6QMJJhFx2AuggKEmRYbZyMjhrHmK9pogSyH0kQm/5YqrkSfI0E5MmC8imRqqRX3GFxazjd2Lwe6Xt39c+oQSHFw+pJUrRF9suzcvac4TqWJKvb/XlZXcKDRfb5ewmtZ6GQvwgI/nhGh/aRBbs5bD+tAamHvsDvH5pKTPjv9N58FH5pap8EQuRWwPzGBkr0BX5b/hMsoyIdb1y27SLNON8Z7mRZZoiM/bfTrwyBp505wIbZ93kwuuKb3JLTJPB83ZXO/DzUTm2dBPxHJY+AqsNVQevauokjSOHhsJF1qHhhpwCizADgXAxzydICgmwtTIVbZFYX3xF5DSFu//cOC8Ali7gcH+FVButOcg= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN4PR0601MB3728.namprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(366004)(396003)(39860400002)(136003)(6506007)(6916009)(76116006)(52536014)(66556008)(9686003)(30864003)(55016002)(71200400001)(2906002)(33656002)(966005)(8936002)(7696005)(166002)(186003)(5660300002)(4326008)(26005)(64756008)(83380400001)(54906003)(66946007)(478600001)(316002)(8676002)(66446008)(86362001)(450100002)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?7EAU20U30CBLM7K3fLl8hppXiyeC+gaKBdPxZ6GhFzN+bjZmXxX2Z6apTuvB?= =?us-ascii?Q?SMRaKUw2KSNzAQsInipla14Why1wd0BlYHjFnqRitwv2kXbO1/FXnyJcozfv?= =?us-ascii?Q?Mvdt8WA6CuQYVXm5Y5w3/1fnFI0hnxpeV3CgfTHwXQBTHf0gWk9D8Poi8gtY?= =?us-ascii?Q?2qEFifSi8hqvWsQnyNHsbKNczeMIWJYNq1ELkYtymZWKRHz3vOPvLefHoYP2?= =?us-ascii?Q?iX/bv6xmqA6SlD4W1uVoz/fRgo8rkeUvux564EGlVGHJk/l4BxPkuYJBDr9+?= =?us-ascii?Q?7fpordEc02KXYZt6tI7GOQonevv2VzB3RVfMNf08lBnxuRe1mQVhWHFqK29E?= =?us-ascii?Q?po2pfOJt8dzwMCg7obJaj8Aodw1FqkyVNc6JJPAht25SFlP3Nsk7mr7JQyLD?= =?us-ascii?Q?r/rd53L5MF+hFyN0xc7KL1RZaxRxxUrgwbM+Nuy+RFzr8CX3GPfY7+xuBnre?= =?us-ascii?Q?Ke6Uxv0EvHge3F6gcEDpQ5WbJ/8iU29gZc/WhSyzHnJ4Eh46XuYmpGuXMzNW?= =?us-ascii?Q?ca4YyqoUkb3ikjJWlcAlBDSu3kj0kFVunHMwz+ydevITbkDs8wrgsdqpuaOK?= =?us-ascii?Q?iaL/Da8B4S/po5ukeVe5QaBDTAJ3bS/A1LQrD918sedamNpfOZBSUzixsvar?= =?us-ascii?Q?1n7M/7F5SIKhOURTWM7qnAUhzr2IGDClbQa6magIiXB27dUzUWLwn2iIsCeZ?= =?us-ascii?Q?HfQ20MgeKSuSKy4GehhDk+Eo844rZXBxPwVs/fg3f5MskWUF549R1B+yjBdr?= =?us-ascii?Q?psr2NyfA7vrdGp0Sc206fMqP1uB+Bm6f8Mzvg9sTMaMqmPFaXmXEfT3Ik50/?= =?us-ascii?Q?Btb8KMlGXndGQkZj3t3hNc77H7pCbnJl/A3TfUpIepB1JfL6IDEcBeXromfP?= =?us-ascii?Q?1GcdETvXuD2wusNnx6aChi9429WFfZ1NkznuxIgUhbosDvxBHvweH7Uf1MOC?= =?us-ascii?Q?+erOjH4NpIU+/r4LUgUimz/+rNGuDU3Bote2faVynyxdGF0VzjaOef+tU9JL?= =?us-ascii?Q?egmF79Pj0lEKmBn+eomI7mQ0pYPyupYcX2YW5PBICpVO0WN4iHlHZlyj1YZ3?= =?us-ascii?Q?9ERhNCJmBkupLWXU0pSr7MWv87pdLhjNsd9FpuUaS5jZEXy0kcdrQEGX4y72?= =?us-ascii?Q?aqfUM6Wq1aWmnBFdd5QChURMUR65uHjZQjDa/5W1ofKsPTC0oSm4HozDwqHc?= =?us-ascii?Q?XPfixYGaSv5clgrfGS68rV/CwmBMK9O4p2BPKh5r8UdNR5zMEX2vQzBzJ0uw?= =?us-ascii?Q?Df5jAoM46O2ALLIvXXN2nsXk4N8O7M7Sq5GGg9rLFmfETdgbxhKlofFEZku3?= =?us-ascii?Q?lnT7M5OoHhT/p8cnD7RJRv71?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: netapp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN4PR0601MB3728.namprd06.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d756f598-8e8e-4901-af7f-08d8d84c0022 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2021 22:40:20.3782 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BTE9U1YZktBwbLVvwQrer2VdIaF3LFRaA/lriwTxkXgkX7D5RmMFt10u58R08mKxNkhGp1LXvlIh6j7E+H0r/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR06MB6796 X-Rspamd-Queue-Id: 4DlYsg0C1tz4lYx X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netapp.com header.s=selector1 header.b=gdSb/9p8; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=netapp.com; spf=pass (mx1.freebsd.org: domain of Richard.Scheffenegger@netapp.com designates 2a01:111:f400:fe5b::622 as permitted sender) smtp.mailfrom=Richard.Scheffenegger@netapp.com X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:111:f400:fe5b::622:from]; R_DKIM_ALLOW(-0.20)[netapp.com:s=selector1]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2a01:111:f400:fe5b::622:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DWL_DNSWL_LOW(-1.00)[netapp.com:dkim]; DKIM_TRACE(0.00)[netapp.com:+]; DMARC_POLICY_ALLOW(-0.50)[netapp.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MAILMAN_DEST(0.00)[net] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 22:40:24 -0000 Hi Andriy, I guess I am currently the person who has the most recent knowledge about t= hat part of the base stack... Do you happen to have more (preceding) information about this, or a way to = reproduce this? Are you running any special stack (RACK, BBR) which may have switched back = to the base stack in the middle of a loss recovery (I suspected at one poin= t that this may cause issues, potentially)? Or was something done with the ipfw that may have temporarily impacted a tc= p session? The accounting with sack_bytes_rexmit is rather old, and not touched recent= ly (but the sackhint struct was changed recently, and other/additional scor= eboard accounting was added). (kgdb) p *cur $1 =3D {start =3D 3846347980, end =3D 3846352300, rxmit =3D 3846352300, scb= link =3D {tqe_next =3D 0xfffff8013da5a220, tqe_prev =3D 0xfffff80754818930}} This indicates, that the current hole in the SACK scoreboard (3 segments of= size 1440 bytes) were retransmitted (rxmit =3D=3D end), before the curren= t acknowledgement came back. Thus the expectation is, that sackhint.sack_bytes_rexmit also has a value o= f at least that number of bytes (4320). It is increased in tcp_output() for= each packet leaving while performing a retransmission. But this is the peculiar part: (kgdb) p tp@entry->sackhint.sack_bytes_rexmit $3 =3D -1440 Indicating negative one packet had been retransmitted before (thus subtract= ing the hole, which was previously retransmitted violates the invariant). A= nd the only piece of code decrementing it appears to be in tcp_output() dur= ing non-permanent error handling... All updates to sackhint should be protected by the INPLOCK, so even if the = rx and tx paths are running on different core, the sack_bytes_rexmit should= never become negative. The sack blocks returned indicate that (with snd.una as zero baseline, in s= egments) the client knows about segments 2..34 and 35..47. The first hole has shrunk from the right (unusual; possible when two retran= smissions were lost again, or the 3 segment originally sent, delayed by ~50= segments (unlikely). Sorry to not being able to spot something obvious right away... Richard Scheffenegger Consulting Solution Architect NAS & Networking NetApp +43 1 3676 811 3157 Direct Phone +43 664 8866 1857 Mobile Phone Richard.Scheffenegger@netapp.com https://ts.la/richard49892 Von: tuexen@freebsd.org Gesendet: Dienstag, 23. Februar 2021 22:21 An: Richard Scheffenegger Betreff: Fwd: panic: sackhint bytes rtx >=3D 0 NetApp Security WARNING: This is an external email. Do not click links or o= pen attachments unless you recognize the sender and know the content is saf= e. FYI Begin forwarded message: From: Andriy Gapon > Subject: panic: sackhint bytes rtx >=3D 0 Date: 23. February 2021 at 22:02:20 CET To: FreeBSD Current >, net@= FreeBSD.org Got this panic on 13.0-STABLE 4b2a20dfde9c using a custom kernel with INVAR= IANTS enabled. Below is some information from the crash dump. If anyone has any clues, suggestions, etc, please help. I will try to help you to help me the best I can. #0 doadump (textdump=3Dtextdump@entry=3D1) at /usr/devel/git/trant/sys/kern/kern_shutdown.c:399 #1 0xffffffff808396b2 in kern_reboot (howto=3D260) at /usr/devel/git/trant/sys/kern/kern_shutdown.c:486 #2 0xffffffff80839d07 in vpanic ( fmt=3D0xffffffff80cbd551 "sackhint bytes rtx >=3D 0", ap=3D0xfffffe0120b= 9e6d0) at /usr/devel/git/trant/sys/kern/kern_shutdown.c:919 #3 0xffffffff808398b3 in panic (fmt=3D) at /usr/devel/git/trant/sys/kern/kern_shutdown.c:843 #4 0xffffffff8098a82c in tcp_sack_doack (tp=3D, tp@entry=3D0xfffff807548187f0, to=3D, to@entry=3D0xfffffe0120b9e780, th_ack=3D) at /usr/devel/git/trant/sys/netinet/tcp_sack.c:691 #5 0xffffffff80983699 in tcp_do_segment (m=3D0xfffff8029868ca00, m@entry=3D, th=3D, th@entry=3D, so=3D0xfffff804e7359b10, so@entry=3D, tp=3D0xfffff807548187f0, tp@entry=3D, drop_hdrlen=3D60, drop_hdrlen@entry=3D, tlen=3D, tlen@entry=3D, iptos=3D72 'H', iptos@entry=3D) at /usr/devel/git/trant/sys/netinet/tcp_input.c:2497 #6 0xffffffff80980d97 in tcp_input (mp=3D, mp@entry=3D, offp=3D, offp@entry=3D, proto=3D) at /usr/devel/git/trant/sys/netinet/tcp_input.c:1381 #7 0xffffffff80976eb7 in ip_input (m=3D0x0) at /usr/devel/git/trant/sys/netinet/ip_input.c:833 #8 0xffffffff8094c78f in netisr_dispatch_src (proto=3D1, source=3Dsource@entry=3D0, m=3D0xfffff8029868ca00) at /usr/devel/git/trant/sys/net/netisr.c:1143 #9 0xffffffff8094cb0e in netisr_dispatch (proto=3D, m=3D) at /usr/devel/git/trant/sys/net/netisr.c:1234 #10 0xffffffff80943345 in ether_demux (ifp=3Difp@entry=3D0xfffff80008c75000= , m=3D) at /usr/devel/git/trant/sys/net/if_ethersubr.c:923 #11 0xffffffff809446c1 in ether_input_internal (ifp=3D0xfffff80008c75000, m=3D) at /usr/devel/git/trant/sys/net/if_ethersubr.c:709 #12 0xffffffff809443d0 in ether_nh_input (m=3D) at /usr/devel/git/trant/sys/net/if_ethersubr.c:739 #13 0xffffffff8094c78f in netisr_dispatch_src (proto=3Dproto@entry=3D5, source=3Dsource@entry=3D0, m=3Dm@entry=3D0xfffff8029868ca00) at /usr/devel/git/trant/sys/net/netisr.c:1143 #14 0xffffffff8094cb0e in netisr_dispatch (proto=3D, proto@entry=3D5, m=3D, m@entry=3D0xfffff8029868ca00) at /usr/devel/git/trant/sys/net/netisr.c:1234 #15 0xffffffff8094383d in ether_input (ifp=3D0xfffff80008c75000, ifp@entry=3D, m=3D0xfffff8029868ca00, m@entry=3D) at /usr/devel/git/trant/sys/net/if_ethersubr.c:830 #16 0xffffffff8066da13 in re_rxeof (sc=3Dsc@entry=3D0xfffffe00391a5000, rx_npktsp=3D0x0) at /usr/devel/git/trant/sys/dev/re/if_re.c:2388 #17 0xffffffff8066b3ab in re_intr_msi (xsc=3D0xfffffe00391a5000) at /usr/devel/git/trant/sys/dev/re/if_re.c:2684 #18 0xffffffff80801bcf in intr_event_execute_handlers ( p=3Dp@entry=3D0xfffff80006a94a50, ie=3Die@entry=3D0xfffff80008c57800) at /usr/devel/git/trant/sys/kern/kern_intr.c:1168 #19 0xffffffff80801942 in ithread_execute_handlers ( p=3Dp@entry=3D0xfffff80006a94a50, ie=3Die@entry=3D0xfffff80008c57800) at /usr/devel/git/trant/sys/kern/kern_intr.c:1181 #20 0xffffffff80801758 in ithread_loop (arg=3Darg@entry=3D0xfffff80008c20c4= 0) at /usr/devel/git/trant/sys/kern/kern_intr.c:1269 #21 0xffffffff807fe0a9 in fork_exit ( callout=3D0xffffffff808016c0 , arg=3D0xfffff80008c20c40, frame=3D0xfffffe0120b9ed40) at /usr/devel/git/trant/sys/kern/kern_fork.c:1069 (kgdb) fr 4 #4 0xffffffff8098a82c in tcp_sack_doack (tp=3D, tp@entry=3D0xfffff807548187f0, to=3D, to@entry=3D0xfffffe012= 0b9e780, th_ack=3D) at /usr/devel/git/trant/sys/netinet/tcp_sack.c:69= 1 691 KASSERT(tp->sackhint.sack_bytes_rexmit >=3D 0, (kgdb) i loc sack_blocks =3D {{start =3D 3846350860, end =3D 3846396940}, {start =3D 384= 6398380, end =3D 3846415660}, {start =3D 0, end =3D 0}, {start =3D 1417775088, end =3D 4= 294965255}, {start =3D 549054304, end =3D 4294966785}} left_edge_delta =3D delivered_data =3D 0 sack_changed =3D num_sack_blks =3D i =3D j =3D sack =3D {start =3D , end =3D } sblkp =3D 0xfffffe0120b9e700 temp =3D cur =3D 0xfffff8013da5a320 (kgdb) p *cur $1 =3D {start =3D 3846347980, end =3D 3846352300, rxmit =3D 3846352300, scb= link =3D {tqe_next =3D 0xfffff8013da5a220, tqe_prev =3D 0xfffff80754818930}} (kgdb) p 3846352300 - 3846347980 $2 =3D 4320 (kgdb) p tp->sackhint.sack_bytes_rexmit value has been optimized out (kgdb) p tp@entry->sackhint.sack_bytes_rexmit $3 =3D -1440 (kgdb) p 4320 - 1440 $4 =3D 2880 (kgdb) p *sblkp $5 =3D {start =3D 3846350860, end =3D 3846396940} (kgdb) p *tp@entry $7 =3D {t_inpcb =3D 0xfffff80640ca65b8, t_fb =3D 0xffffffff80ef4700 , t_fb_ptr =3D 0x0, t_maxseg =3D 1440, t_logstate =3D 0, t_port =3D 0, t_stat= e =3D 4, t_idle_reduce =3D 0, t_delayed_ack =3D 0, t_fin_is_rst =3D 0, t_log_state_set =3D 0, bits_spare =3D 0, t_flags =3D 1613759072, snd_una = =3D 3846347980, snd_max =3D 3846417100, snd_nxt =3D 3846417100, snd_up =3D 3846= 347980, snd_wnd =3D 237568, snd_cwnd =3D 4320, t_peakrate_thr =3D 0, ts_offset =3D = 71449215, rfbuf_ts =3D 162235772, rcv_numsacks =3D 0, t_tsomax =3D 0, t_tsomaxsegcou= nt =3D 0, t_tsomaxsegsize =3D 0, rcv_nxt =3D 2281639092, rcv_adv =3D 2281705332, rcv_= wnd =3D 66240, t_flags2 =3D 1030, t_srtt =3D 876, t_rttvar =3D 33, ts_recent =3D 0, snd_scale =3D 8 '\b', rcv_scale =3D 6 '\006', snd_limited =3D 2 '\002', request_r_scale =3D 6 '\006', last_ack_sent =3D 2281639092, t_rcvtime =3D 2= 309118641, rcv_up =3D 2281639092, t_segqlen =3D 0, t_segqmbuflen =3D 0, t_segq =3D { tqh_first =3D 0x0, tqh_last =3D 0xfffff80754818880}, t_in_pkt =3D 0x0, t= _tail_pkt =3D 0x0, t_timers =3D 0xfffff80754818a78, t_vnet =3D 0x0, snd_ssthresh =3D = 31680, snd_wl1 =3D 2281639092, snd_wl2 =3D 3846347980, irs =3D 2281631223, iss =3D 3840447913, t_acktime =3D 0, t_sndtime =3D 2309118613, ts_recent_a= ge =3D 0, snd_recover =3D 3846415660, cl4_spare =3D 0, t_oobflags =3D 0 '\000', t_iob= c =3D 0 '\000', t_rxtcur =3D 270, t_rxtshift =3D 1, t_rtttime =3D 2309118613, t_rtseq =3D 3846415660, t_starttime =3D 2309086941, t_fbyte_in =3D 2309087= 188, t_fbyte_out =3D 2309087159, t_pmtud_saved_maxseg =3D 0, t_blackhole_enter = =3D 0, t_blackhole_exit =3D 0, t_rttmin =3D 30, t_rttbest =3D 845, t_softerror =3D= 0, max_sndwnd =3D 237568, snd_cwnd_prev =3D 64800, snd_ssthresh_prev =3D 8640= , snd_recover_prev =3D 3846347980, t_sndzerowin =3D 0, t_rttupdated =3D 368, snd_numholes =3D 2, t_badrxtwin =3D 0, snd_holes =3D {tqh_first =3D 0xfffff= 8013da5a320, tqh_last =3D 0xfffff8013da5a230}, snd_fack =3D 3846415660, sackblks =3D = {{start =3D 2281632180, end =3D 2281632690}, {start =3D 0, end =3D 0}, {start =3D 0, en= d =3D 0}, {start =3D 0, end =3D 0}, {start =3D 0, end =3D 0}, {start =3D 0, end =3D 0= }}, sackhint =3D {nexthole =3D 0xfffff8013da5a220, sack_bytes_rexmit =3D -1440= , last_sack_ack =3D 3846415660, delivered_data =3D 1440, sacked_bytes =3D 619= 20, recover_fs =3D 67680, prr_delivered =3D 1440, _pad =3D {0}}, t_rttlow =3D 2= 5, rfbuf_cnt =3D 0, tod =3D 0x0, t_sndrexmitpack =3D 520, t_rcvoopack =3D 0, = t_toe =3D 0x0, cc_algo =3D 0xffffffff80ef2530 , ccv =3D 0xfffff80754818bc= 0, osd =3D 0x0, t_bytes_acked =3D 11520, t_maxunacktime =3D 0, t_keepinit =3D 0, t_keepidle =3D 0, t_keepintvl =3D 0, t_keepcnt =3D 0, t_dupacks =3D 4, t_l= ognum =3D 0, t_loglimit =3D 0, t_pacing_rate =3D -1, t_logs =3D {stqh_first =3D 0x0, stq= h_last =3D 0x0}, t_lin =3D 0x0, t_lib =3D 0x0, t_output_caller =3D 0x0, t_stats =3D 0x= 0, t_logsn =3D 0, gput_ts =3D 0, gput_seq =3D 0, gput_ack =3D 0, t_stats_gput= _prev =3D 0, t_tfo_client_cookie_len =3D 0 '\000', t_end_info_status =3D 0, t_tfo_pendin= g =3D 0x0, t_tfo_cookie =3D {client =3D '\000' , server =3D 0}, { t_end_info_bytes =3D "\000\000\000\000\000\000\000", t_end_info =3D 0}} (kgdb) p *tp@entry->sackhint.nexthole $8 =3D {start =3D 3846396940, end =3D 3846398380, rxmit =3D 3846398380, scb= link =3D {tqe_next =3D 0x0, tqe_prev =3D 0xfffff8013da5a330}} -- Andriy Gapon _______________________________________________ freebsd-current@freebsd.org mailing lis= t https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Wed Feb 24 00:22:37 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 05DF355995C for ; Wed, 24 Feb 2021 00:22:37 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plan-b.pwste.edu.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dlc7b6rH7z4vB8 for ; Wed, 24 Feb 2021 00:22:35 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from fomalhaut.potoki.eu ([IPv6:2001:470:71:d47:8564:4c1f:4f3a:2bc4]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.16.1/8.16.1) with ESMTPSA id 11O0MPP3057662 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 24 Feb 2021 01:22:25 +0100 (CET) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1614126146; bh=MSRuW9IfvZ/vbFGaOTas5KnPShRwLG2Zagg1WSquKec=; h=From:To:References:Subject:Date:In-Reply-To; b=Spx4xRdAyEP1htVMkcKKx8XM7wQyJ9nB2cNzc4Mw/VcMJuHknO7AvCiHMPIwr0gwE 86ZNv9yJOH4afRu7KyjiVoh7J/x+XgJkoTMVEb2wTN1ijTj19Y3+xg+PIwYd7osBxa qMjxJdMqD9fXvMBeMp7wwclLLL5nfdtHz5Yruhi0OYZ5yAhK6Ujs1MuJ0rRCr0xEj1 NOs7Hern03gPigNIRJdRenquqMviGKrLzrjrlN4Y7Sj+twhKhzyhN1vDijXEKj7yBs +RP7NnjyEvNp2Ehq1cZkJnr/zbsbukFj8knRm0BUbIPIyKx36bw0aUTA+aAwHIzZAT W2LoZNyGk+73A== X-Authentication-Warning: plan-b.pwste.edu.pl: Host [IPv6:2001:470:71:d47:8564:4c1f:4f3a:2bc4] claimed to be fomalhaut.potoki.eu From: Marek Zarychta To: "Alexander V. Chernikov" , freebsd-net@freebsd.org References: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net> <8696072a-dc25-8eff-04fa-4d1db13bf5cc@plan-b.pwste.edu.pl> <3588111612809020@mail.yandex.ru> <53ef5715-42ce-aad0-9a8b-11d91a9891e3@plan-b.pwste.edu.pl> <301391612827263@mail.yandex.ru> <2642181612914660@mail.yandex.ru> <2951613086198@mail.yandex.ru> <7121614026888@mail.yandex.ru> Subject: Re: option FIB_ALGO and dpdk_lpm4 Message-ID: <7056db64-2e7f-6ad8-54a3-59ff406061cf@plan-b.pwste.edu.pl> Date: Wed, 24 Feb 2021 01:22:24 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <7121614026888@mail.yandex.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Rspamd-Queue-Id: 4Dlc7b6rH7z4vB8 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=Spx4xRdA; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl X-Spamd-Result: default: False [-5.55 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_MED(-2.00)[pwste.edu.pl:dkim]; SPAMHAUS_ZRD(0.00)[2001:678:618::40:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; NEURAL_HAM_SHORT(-0.75)[-0.755]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:678:618::40:from]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 00:22:37 -0000 > =C2=A0 > Btw, have you seen any notable dataplane/control plane performance > difference w/ FIB_ALGO ? Dear Alexander, valued subscribers, at last, I have upgraded our BGP router running two instances of net/bird (IP and IPv6) from 11.4-STABLE=C2=A0 to 13.0-STABLE just on time= to catch the "Fix nd6 rib_action() handling". The performance boost is really impressive, but probably not only FIB_ALGO is responsible for it since there were also improvements in PF, lagg(4), aggregated=C2=A0 NICs utilize now iflib and so on. Getting to the point: now when the links are saturated with normal traffic the load on this 8 core ATOM dropped from ~3.5 to ~0.9. The pmc(3) has changed a bit over time and now with PMC: [cpu_clk_unhalted.ref] I get max 1.5% for=C2=A0 rn_match function, b= ut the caller is always pfr_match_addr, so it comes likely from PF. In 11.4=C2=A0 rn_match was peaking up to=C2=A0 9% with links saturated with = normal traffic but there were more callers: fib6_lookup_nh_basic:4.2 pfr_match_addr:1.4 fib4_lookup_nh_basic:1.4. Now only occasionally I observe function=C2=A0 rn_walktree peaking up to ~20% called by rib_walk = what probably comes from net/bird adding/removing routes. At this stage (updating routes) on 11.x-STABLE bird seemed to block/stale the ability to interact with the system for a fraction of second. Now all updates go smooth. So congrats, an excellent job was done, thank you very much for this effort and time spent on making this all happen. Please let me ask only one final question. Does adding: net.route.algo.inet.algo=3Ddpdk_lpm4 net.route.algo.inet6.algo=3Ddpdk_lpm6 to /etc/sysctl.conf make any sense?=C2=A0 I see that right FIB_ALGO is automatically picked up when the module is available. After first reboot into 13-STABLE: Feb 23 22:42:10 rtr kernel: [fib_algo] fib_module_register: attaching radix6_lockless to inet6 Feb 23 22:42:10 rtr kernel: [fib_algo] fib_module_register: attaching radix6 to inet6 Feb 23 22:42:10 rtr kernel: [fib_algo] fib_module_register: attaching bsearch4 to inet Feb 23 22:42:10 rtr kernel: [fib_algo] fib_module_register: attaching radix4_lockless to inet Feb 23 22:42:10 rtr kernel: [fib_algo] fib_module_register: attaching radix4 to inet Feb 23 22:42:10 rtr kernel: [33] [fib_algo] fib_module_register: attaching dpdk_lpm6 to inet6 Feb 23 22:42:10 rtr kernel: [33] [fib_algo] fib_module_register: attaching dpdk_lpm4 to inet Feb 23 22:42:10 rtr kernel: [43] [fib_algo] inet.0 (bsearch4#66) rebuild_fd: switching algo to radix4_lockless Feb 23 22:42:10 rtr kernel: [49] [fib_algo] inet.1 (bsearch4#67) rebuild_fd: switching algo to radix4_lockless Feb 23 22:42:39 rtr kernel: [80] [fib_algo] inet.0 (radix4_lockless#650) rebuild_fd: switching algo to dpdk_lpm4 Feb 23 22:42:42 rtr kernel: [83] [fib_algo] inet6.0 (radix6_lockless#705) rebuild_fd: switching algo to dpdk_lpm6 Though after second reboot with "Fix nd6 rib_action() handling" applied there is no "switching algo to dpdk_lpm6": Feb 23 23:55:24 rtr kernel: [fib_algo] fib_module_register: attaching radix6_lockless to inet6 Feb 23 23:55:24 rtr kernel: [fib_algo] fib_module_register: attaching radix6 to inet6 Feb 23 23:55:24 rtr kernel: [fib_algo] fib_module_register: attaching bsearch4 to inet Feb 23 23:55:24 rtr kernel: [fib_algo] fib_module_register: attaching radix4_lockless to inet Feb 23 23:55:24 rtr kernel: [fib_algo] fib_module_register: attaching radix4 to inet Feb 23 23:55:24 rtr kernel: [10] [fib_algo] fib_module_register: attaching dpdk_lpm6 to inet6 Feb 23 23:55:24 rtr kernel: [10] [fib_algo] fib_module_register: attaching dpdk_lpm4 to inet Feb 23 23:55:24 rtr kernel: [20] [fib_algo] inet.0 (bsearch4#66) rebuild_fd: switching algo to radix4_lockless Feb 23 23:55:24 rtr kernel: [26] [fib_algo] inet.1 (bsearch4#67) rebuild_fd: switching algo to radix4_lockless Feb 23 23:55:57 rtr kernel: [61] [fib_algo] inet.0 (radix4_lockless#571) rebuild_fd: switching algo to dpdk_lpm4 Should I be bothered about it? With kind regards, --=20 Marek Zarychta From owner-freebsd-net@freebsd.org Wed Feb 24 01:55:30 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0C9055C9D6 for ; Wed, 24 Feb 2021 01:55:30 +0000 (UTC) (envelope-from ingo.flaschberger@gmail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlfBn69BHz3Kbb for ; Wed, 24 Feb 2021 01:55:29 +0000 (UTC) (envelope-from ingo.flaschberger@gmail.com) Received: by mail-wm1-x32d.google.com with SMTP id j187so454200wmj.1 for ; Tue, 23 Feb 2021 17:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=plKWXPbdpgH5AyiqcbFLmN5f56Ni3sV1qFxj80q2Ji8=; b=k2etwGrTJaq6jKoqjw9H4KtMQo398Q+meEZ81AL1UbPBNSETiQl+VJqTJFEpelqbjo NzlPAolhjTJg4V1ftxQbp7oJHvkzXOLIVWp++tajjggXv9L2JGaSwsvQZMFBBu0BP9YJ OTqQ4khdg0Ljo0OpsZ9mTLAktyGSPg6s1LMK/ODhj3FcoppAPM6nDBODaJSJYjQ230E6 psDTsPNK/Ju6eRiPCI7nNwnnRIqVwT2SmlPowHl13Db1i30ldzA5AquzfR5S6Di+9Cnk 1awZtiWmcDXovDu1ZNJrwecB7FcAjD+PIr2oLNgrWo5gxD8Ivtyuq51svxjMojpZsJvN XMdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=plKWXPbdpgH5AyiqcbFLmN5f56Ni3sV1qFxj80q2Ji8=; b=NL3XmfGtRnMDxIU7HWIvrwg+YHmqWr0kFWW+4OyZJqW2DGstiZoo+2E7597olt861W 0tu+pGD8iF6SRkoRFeZ26q5OU8dfe+MHwWr/r7FuY3DHeWu5rErsBT+H7V5GZrOrPCYN mKjsXFwpJ1u74nKfjL5afIHab9udYeCPlh6ab+GuX+8+5vYQO69aSAw8PerlL0ZJjnW6 L1tJ8m/j4uWKhOHp8t3ia1GHXWGGV9iGf6BmOigwNKVpq67zSl59LjO0U7bmxJT7VXEI 8FW67GzvaYfT1+1sZM3HwRvUNYp5ChM+LbFnXuTHvttTA9x+vx/RgMUhnITNIlHUO4nK x2sg== X-Gm-Message-State: AOAM533FxMvB0wOoUbHHnqkasqM8iZ/dDeu7SUh9rYchIaxg6GObSJqO Pgv67uwV+1jjSuRfBn8rc64f1/CaVCI= X-Google-Smtp-Source: ABdhPJzcy7spZ1tRE37Upt6uGZeacUBH49yZOira9JgNUzVWTIwtrRpDvvt5T3Qt19QRnT40QujJAA== X-Received: by 2002:a1c:9d52:: with SMTP id g79mr1379248wme.144.1614131728313; Tue, 23 Feb 2021 17:55:28 -0800 (PST) Received: from [192.168.10.248] (178-191-161-183.adsl.highway.telekom.at. [178.191.161.183]) by smtp.gmail.com with ESMTPSA id c2sm679122wrx.70.2021.02.23.17.55.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Feb 2021 17:55:28 -0800 (PST) To: freebsd-net@freebsd.org From: Ingo Flaschberger Subject: will M_PROMISC packets from ethernet be forwarded? Message-ID: Date: Wed, 24 Feb 2021 02:55:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: de-AT X-Rspamd-Queue-Id: 4DlfBn69BHz3Kbb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=k2etwGrT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ingoflaschberger@gmail.com designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=ingoflaschberger@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::32d:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::32d:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[178.191.161.183:received]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32d:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 01:55:30 -0000 On a opnsense fw with promiscuous interfaces (because of carp) I see that packets received with not own mac as dst are accepted and forwarded. Checked a little the opnsense & freebsd src code - still got no idea if vanilla freebsd would (not) forward a "M_PROMISC" tagged packet? From owner-freebsd-net@freebsd.org Wed Feb 24 10:50:36 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8BF9F5585BF for ; Wed, 24 Feb 2021 10:50:36 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dlt4D3Smxz4pFl for ; Wed, 24 Feb 2021 10:50:36 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: olivier/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 62C0C8E9B for ; Wed, 24 Feb 2021 10:50:36 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: by mail-lj1-f178.google.com with SMTP id r23so1881408ljh.1 for ; Wed, 24 Feb 2021 02:50:36 -0800 (PST) X-Gm-Message-State: AOAM531m0r0HovwgLkUHODIFNYyi+DXKzfPmhfBwaID9e3IXj3GTvI+5 f3uz301Oh1GmJs1rqOQHSoUxly6jeNNriAjNKMs= X-Google-Smtp-Source: ABdhPJxEISUMZ8ExCEg15go7t0sM2GioHsNtyfBdupmMyo5ixUB52mWtrSbCR36BHrSjsKu91mv8rLrbD+4r2ocTpkA= X-Received: by 2002:a2e:3014:: with SMTP id w20mr20261444ljw.64.1614163834961; Wed, 24 Feb 2021 02:50:34 -0800 (PST) MIME-Version: 1.0 References: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net> <8696072a-dc25-8eff-04fa-4d1db13bf5cc@plan-b.pwste.edu.pl> <3588111612809020@mail.yandex.ru> <53ef5715-42ce-aad0-9a8b-11d91a9891e3@plan-b.pwste.edu.pl> <301391612827263@mail.yandex.ru> <2642181612914660@mail.yandex.ru> <2951613086198@mail.yandex.ru> <7121614026888@mail.yandex.ru> <7056db64-2e7f-6ad8-54a3-59ff406061cf@plan-b.pwste.edu.pl> In-Reply-To: <7056db64-2e7f-6ad8-54a3-59ff406061cf@plan-b.pwste.edu.pl> From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Wed, 24 Feb 2021 11:50:24 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: option FIB_ALGO and dpdk_lpm4 To: Marek Zarychta Cc: "Alexander V. Chernikov" , freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 10:50:36 -0000 On Wed, Feb 24, 2021 at 1:22 AM Marek Zarychta < zarychtam@plan-b.pwste.edu.pl> wrote: > > > > > Please let me ask only one final question. Does adding: > > net.route.algo.inet.algo=dpdk_lpm4 > net.route.algo.inet6.algo=dpdk_lpm6 > > to /etc/sysctl.conf make any sense? I see that right FIB_ALGO is > automatically picked up when the module is available. > > > My understanding is the network stack will switch to the optimum algorithm regarding the number of routes installed. cf "Automatic algorithm selection" chapter here: https://reviews.freebsd.org/D27401 So you don't need to set this sysctl. Regards, Olivier From owner-freebsd-net@freebsd.org Wed Feb 24 15:13:46 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 41E0D55FD2D for ; Wed, 24 Feb 2021 15:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dlzvt1DCcz3Phb for ; Wed, 24 Feb 2021 15:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2810E55FD2C; Wed, 24 Feb 2021 15:13:46 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 27DEA55FB59 for ; Wed, 24 Feb 2021 15:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dlzvt0b5Gz3PVy for ; Wed, 24 Feb 2021 15:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 079EB2E4CA for ; Wed, 24 Feb 2021 15:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11OFDjE2053364 for ; Wed, 24 Feb 2021 15:13:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11OFDjsV053363 for net@FreeBSD.org; Wed, 24 Feb 2021 15:13:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253583] igb(4) double counting ingress traffic Date: Wed, 24 Feb 2021 15:13:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 15:13:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253583 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db6999635b195e8c0dd5c08ac9ff268c92= 107cc66 commit b6999635b195e8c0dd5c08ac9ff268c92107cc66 Author: Mark Johnston AuthorDate: 2021-02-24 15:08:53 +0000 Commit: Mark Johnston CommitDate: 2021-02-24 15:08:53 +0000 iflib: Avoid double counting in rxeof iflib_rxeof() was counting everything twice. This was introduced when pfil hooks were added to the iflib receive path. We want to count rx packets/bytes before the pfil hooks are executed, so remove the counter adjustments that are executed after. PR: 253583 Reviewed by: gallatin, erj MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D28900 sys/net/iflib.c | 2 -- 1 file changed, 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 24 15:14:30 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B921455FF3A for ; Wed, 24 Feb 2021 15:14:30 +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 4Dlzwk4h4bz3PTc for ; Wed, 24 Feb 2021 15:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A0A7555FC52; Wed, 24 Feb 2021 15:14:30 +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 A06EC55FBF8 for ; Wed, 24 Feb 2021 15:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dlzwk31x2z3PYl for ; Wed, 24 Feb 2021 15:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B6292E6D0 for ; Wed, 24 Feb 2021 15:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11OFEU3m053512 for ; Wed, 24 Feb 2021 15:14:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11OFEUj0053511 for net@FreeBSD.org; Wed, 24 Feb 2021 15:14:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253583] igb(4) double counting ingress traffic Date: Wed, 24 Feb 2021 15:14:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 15:14:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253583 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org Assignee|net@FreeBSD.org |markj@FreeBSD.org Status|New |In Progress --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 24 15:52:16 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE839560DF2 for ; Wed, 24 Feb 2021 15:52:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dm0mJ3RBvz3jJb for ; Wed, 24 Feb 2021 15:52:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0B039560E50; Wed, 24 Feb 2021 15:52:16 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 08BB6561182 for ; Wed, 24 Feb 2021 15:52:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dm0mH3F4dz3hyr for ; Wed, 24 Feb 2021 15:52:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C4C3E2EF5F for ; Wed, 24 Feb 2021 15:52:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11OFqEXO073612 for ; Wed, 24 Feb 2021 15:52:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11OFqE0U073611 for net@FreeBSD.org; Wed, 24 Feb 2021 15:52:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253587] iflib (?): reproducible mbuf-related crashes Date: Wed, 24 Feb 2021 15:52:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 15:52:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253587 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org Status|New |In Progress --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 24 20:29:17 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 221ED548A6A for ; Wed, 24 Feb 2021 20:29:17 +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 4Dm6vx0HS8z4bjj for ; Wed, 24 Feb 2021 20:29:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 09C18548A68; Wed, 24 Feb 2021 20:29:17 +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 09903548A67 for ; Wed, 24 Feb 2021 20:29:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dm6vw6pfLz4bVY for ; Wed, 24 Feb 2021 20:29:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DCF6C25D7 for ; Wed, 24 Feb 2021 20:29:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11OKTGnj032126 for ; Wed, 24 Feb 2021 20:29:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11OKTGQD032125 for net@FreeBSD.org; Wed, 24 Feb 2021 20:29:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230465] ixl: not working in netmap mode Date: Wed, 24 Feb 2021 20:29:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vmaffione@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 20:29:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230465 --- Comment #42 from Vincenzo Maffione --- (In reply to Charles Goncalves from comment #41) I don't have a test environment either. But since ixl uses iflib on 12.x and 13.x, I expected this issue has gone a= way. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 24 21:15:02 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5CDDB5494EE for ; Wed, 24 Feb 2021 21:15:02 +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 4Dm7wk21gcz4dll for ; Wed, 24 Feb 2021 21:15:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 43570549816; Wed, 24 Feb 2021 21:15:02 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 41D9A549451 for ; Wed, 24 Feb 2021 21:15:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dm7wk1FStz4dpR for ; Wed, 24 Feb 2021 21:15:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1AC5C37A6 for ; Wed, 24 Feb 2021 21:15:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11OLF2lC056872 for ; Wed, 24 Feb 2021 21:15:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11OLF21F056871 for net@FreeBSD.org; Wed, 24 Feb 2021 21:15:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 220198] igb stats double counting in 12-CURRENT Date: Wed, 24 Feb 2021 21:15:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: amigan@gmail.com 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 21:15:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220198 Daniel Ponte changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amigan@gmail.com --- Comment #4 from Daniel Ponte --- I have cherry-picked this into my local stable/13 and can also confirm that this fixes the issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 24 21:25:03 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C70C549845 for ; Wed, 24 Feb 2021 21:25:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dm88H07ddz4fVM for ; Wed, 24 Feb 2021 21:25:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 02ED45497DE; Wed, 24 Feb 2021 21:25:03 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 02BA7549D10 for ; Wed, 24 Feb 2021 21:25:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dm88G6Z1Wz4fFj for ; Wed, 24 Feb 2021 21:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D47533936 for ; Wed, 24 Feb 2021 21:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11OLP2xF063534 for ; Wed, 24 Feb 2021 21:25:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11OLP2Ue063533 for net@FreeBSD.org; Wed, 24 Feb 2021 21:25:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 220198] igb stats double counting in 12-CURRENT Date: Wed, 24 Feb 2021 21:25:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: amigan@gmail.com 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 21:25:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220198 --- Comment #5 from Daniel Ponte --- Oops, disregard. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 24 21:40:36 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 89225549A72 for ; Wed, 24 Feb 2021 21:40:36 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward501o.mail.yandex.net (forward501o.mail.yandex.net [37.140.190.203]) (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 4Dm8VD2WKhz4fq4; Wed, 24 Feb 2021 21:40:35 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from iva5-76c5c16f2a53.qloud-c.yandex.net (iva5-76c5c16f2a53.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:7bae:0:640:76c5:c16f]) by forward501o.mail.yandex.net (Yandex) with ESMTP id 3E8291E80146; Thu, 25 Feb 2021 00:40:32 +0300 (MSK) Received: from mail.yandex.ru (mail.yandex.ru [2a02:8084:d6bb:4a80:ed5b:b8e4:6a08:fd88]) by iva5-76c5c16f2a53.qloud-c.yandex.net (mxback/Yandex) with HTTP id Serur70IoqM1-eVIGDBPA; Thu, 25 Feb 2021 00:40:31 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1614202831; bh=fhcWfF7AB3aOPgDx394pCtmESxT2o9l9sZK7Lif5WIc=; h=Message-Id:Cc:Subject:In-Reply-To:Date:References:To:From; b=wViQzEdUlvTPuP4Nc0xRGKFunmAvuCM5BPlihHjOsK7dcHW8R7T9QOXkG2+x1CIcz 1yUBgEdy4yx5UcKAs2m9YnYkaJPiVioa0PfDsll+6bGC0fm0HQlGfM1aPX6PptAD/p JXb81XK8ZNfK+zSnoz3AvVrQqMY6uPoQzliJCRU0= Received: by iva3-44129a12660c.qloud-c.yandex.net with HTTP; Thu, 25 Feb 2021 00:40:31 +0300 From: Alexander V. Chernikov To: =?utf-8?B?T2xpdmllciBDb2NoYXJkLUxhYmLDqQ==?= , Marek Zarychta Cc: "freebsd-net@freebsd.org" In-Reply-To: References: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net> <8696072a-dc25-8eff-04fa-4d1db13bf5cc@plan-b.pwste.edu.pl> <3588111612809020@mail.yandex.ru> <53ef5715-42ce-aad0-9a8b-11d91a9891e3@plan-b.pwste.edu.pl> <301391612827263@mail.yandex.ru> <2642181612914660@mail.yandex.ru> <2951613086198@mail.yandex.ru> <7121614026888@mail.yandex.ru> <7056db64-2e7f-6ad8-54a3-59ff406061cf@plan-b.pwste.edu.pl> Subject: Re: option FIB_ALGO and dpdk_lpm4 MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 24 Feb 2021 21:40:31 +0000 Message-Id: <2892341614202492@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 X-Rspamd-Queue-Id: 4Dm8VD2WKhz4fq4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 21:40:36 -0000 24.02.2021, 10:50, "Olivier Cochard-Labbé" : > On Wed, Feb 24, 2021 at 1:22 AM Marek Zarychta < > zarychtam@plan-b.pwste.edu.pl> wrote: > >>  > >> >>  Please let me ask only one final question. Does adding: >> >>  net.route.algo.inet.algo=dpdk_lpm4 >>  net.route.algo.inet6.algo=dpdk_lpm6 >> >>  to /etc/sysctl.conf make any sense? I see that right FIB_ALGO is >>  automatically picked up when the module is available. > > My understanding is the network stack will switch to the optimum algorithm > regarding the number of routes installed. > cf "Automatic algorithm selection" chapter here: > https://reviews.freebsd.org/D27401 > > So you don't need to set this sysctl. To add some points to Olivier's explanation: indeed, algorithm selection SHOULD happen automatically. Some things to keep in mind: when the BGP sessions flaps kernel routes may go from the full-view to near-zero and vice versa. In that case, automatic selection will switch to lockless_radix for the range between 10..1000 routes (or similar). Lockless radix schedules rebuild for every change, so the speed of deleting/adding first 1k routes may be slower than expected. > > Regards, > > Olivier > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Thu Feb 25 08:54:20 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D2E2355B669 for ; Thu, 25 Feb 2021 08:54:20 +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 4DmRRc5Hkxz3tjL for ; Thu, 25 Feb 2021 08:54:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B357B55B9FD; Thu, 25 Feb 2021 08:54:20 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B1EFD55B8B5 for ; Thu, 25 Feb 2021 08:54:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmRRc4PPMz3tqR for ; Thu, 25 Feb 2021 08:54:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8A20D14A56 for ; Thu, 25 Feb 2021 08:54:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11P8sK6e036346 for ; Thu, 25 Feb 2021 08:54:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11P8sKn0036345 for net@FreeBSD.org; Thu, 25 Feb 2021 08:54:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253836] ifconfig reports 2x actual received bytes with em / igb Date: Thu, 25 Feb 2021 08:54:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 08:54:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253836 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |IntelNetworking --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 25 10:27:55 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65CAE55E0AF for ; Thu, 25 Feb 2021 10:27: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 4DmTWb0Rwvz4VT4 for ; Thu, 25 Feb 2021 10:27:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0D9F655E292; Thu, 25 Feb 2021 10:27: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 0D67D55E291 for ; Thu, 25 Feb 2021 10:27:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmTWZ6vgyz4VT3 for ; Thu, 25 Feb 2021 10:27:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DFFD015B6B for ; Thu, 25 Feb 2021 10:27:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11PARslU086068 for ; Thu, 25 Feb 2021 10:27:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11PARsAX086067 for net@FreeBSD.org; Thu, 25 Feb 2021 10:27:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 233072] ipfw table 1 create type number: Table creation failed: Operation not supported Date: Thu, 25 Feb 2021 10:27:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ipfw@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 10:27:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233072 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #3 from Andrey V. Elsukov --- Created attachment 222815 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222815&action= =3Dedit proposed patch Can you test this patch? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 25 12:17:58 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D5522561480 for ; Thu, 25 Feb 2021 12:17:58 +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 4DmWyZ4VrGz4cCv for ; Thu, 25 Feb 2021 12:17:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9A9D156107F; Thu, 25 Feb 2021 12:17: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 9A67956107E for ; Thu, 25 Feb 2021 12:17: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmWyZ3vrlz4c9K for ; Thu, 25 Feb 2021 12:17: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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 797B5172CB for ; Thu, 25 Feb 2021 12:17: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 11PCHwcW045826 for ; Thu, 25 Feb 2021 12:17:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11PCHwHa045825 for net@FreeBSD.org; Thu, 25 Feb 2021 12:17: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 253836] ifconfig reports 2x actual received bytes with em / igb Date: Thu, 25 Feb 2021 12:17: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: 13.0-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc 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.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 12:17:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253836 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE CC| |ae@FreeBSD.org Status|New |Closed --- Comment #1 from Andrey V. Elsukov --- *** This bug has been marked as a duplicate of bug 253583 *** --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 25 13:40:47 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5536556373D for ; Thu, 25 Feb 2021 13:40:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DmYp71jvHz4kFS for ; Thu, 25 Feb 2021 13:40:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3AE71563838; Thu, 25 Feb 2021 13:40: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 3AB27563837 for ; Thu, 25 Feb 2021 13:40:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmYp716qcz4kN7 for ; Thu, 25 Feb 2021 13:40:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 198F1185CC for ; Thu, 25 Feb 2021 13:40: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 11PDelAt089344 for ; Thu, 25 Feb 2021 13:40:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11PDeluN089343 for net@FreeBSD.org; Thu, 25 Feb 2021 13:40: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 233072] ipfw table 1 create type number: Table creation failed: Operation not supported Date: Thu, 25 Feb 2021 13:40:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ipfw@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 13:40:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233072 --- Comment #4 from Eugene Grosbein --- (In reply to Andrey V. Elsukov from comment #3) I've just tested it with my 11.4-STABLE/amd64 workstation. The patch works = just fine, please commit. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 25 14:06:48 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8CC555643F7 for ; Thu, 25 Feb 2021 14:06:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DmZN72r23z4mHy for ; Thu, 25 Feb 2021 14:06:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D62AC5642A4; Thu, 25 Feb 2021 14:06:46 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BDAE0564419 for ; Thu, 25 Feb 2021 14:06:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmZN55p12z4m20 for ; Thu, 25 Feb 2021 14:06:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7460A18D11 for ; Thu, 25 Feb 2021 14:06:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11PE6jrU001573 for ; Thu, 25 Feb 2021 14:06:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11PE6jgT001572 for net@FreeBSD.org; Thu, 25 Feb 2021 14:06:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 233072] ipfw table 1 create type number: Table creation failed: Operation not supported Date: Thu, 25 Feb 2021 14:06:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ipfw@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 14:06:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233072 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D13ad237a19b7368124483d9d1dc3258c2= 7880fef commit 13ad237a19b7368124483d9d1dc3258c27880fef Author: Andrey V. Elsukov AuthorDate: 2021-02-25 13:57:47 +0000 Commit: Andrey V. Elsukov CommitDate: 2021-02-25 13:57:47 +0000 ipfw: make algo name argument optional for some table types Most of table types currently supported by ipfw have only one algorithm implementation. When user creates such tables, allow to omit algo name in arguments. E.g. now it is possible: ipfw table T1 create type number ipfw table T2 create type iface ipfw table T3 create type flow PR: 233072 MFC after: 1 week Sponsored by: Yandex LLC sbin/ipfw/tables.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 25 14:08:00 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 55ABC5642DA for ; Thu, 25 Feb 2021 14:08:00 +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 4DmZPX1dxKz4mZW for ; Thu, 25 Feb 2021 14:08:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 381C15644D1; Thu, 25 Feb 2021 14:08:00 +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 37DFF564594 for ; Thu, 25 Feb 2021 14:08:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmZPX0wHDz4mZV for ; Thu, 25 Feb 2021 14:08:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 12B8618AD8 for ; Thu, 25 Feb 2021 14:08:00 +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 11PE80Yn001870 for ; Thu, 25 Feb 2021 14:08:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11PE80k1001860 for net@FreeBSD.org; Thu, 25 Feb 2021 14:08:00 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 233072] ipfw table 1 create type number: Table creation failed: Operation not supported Date: Thu, 25 Feb 2021 14:08:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ae@FreeBSD.org X-Bugzilla-Flags: 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.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 14:08:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233072 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ipfw@FreeBSD.org |ae@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 25 14:19:36 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 67A36564C70 for ; Thu, 25 Feb 2021 14:19:36 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plan-b.pwste.edu.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmZfw1GDnz4nhr; Thu, 25 Feb 2021 14:19:35 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from fomalhaut.potoki.eu ([IPv6:2001:470:71:d47:b8a9:64d5:f95b:191d]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.16.1/8.16.1) with ESMTPSA id 11PEJPVI011803 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 25 Feb 2021 15:19:26 +0100 (CET) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1614262766; bh=aU4RbBY+fqqBqBV+k2+DIKyTZRyxWXwQV/f5omWhF3I=; h=To:Cc:References:From:Subject:Date:In-Reply-To; b=tkZ02GnkFtWcsGWOjlOsaBiutiXpysuXnUOLy3VysHyPnxaRqqwC5BM/H/ic3MtyV 0vEMJnUQ9JK64Vh7LpkjRRbSzBpmRvbrty2SfD8l9DBMUw1NzCuD812Kmf7pnwvoWb dgjiPiTsaz5OpPnmw94BEuZ5tNOF4LhaKLalVSPgZCWC4XRRaYJ9ELyR39wJnolJUl uMJrxDgVvRK54UIo7t0N30sfJOZqr0NynIq+Oqr7/a4CSLTBQO2Z9WOW/xK/zMw48E ShgEoiUmbqXV0vh5deA3d75zxh7004jV5F5EOstMxFxIbw3PjDvGT1ACCI2lBky0Jj hlonYfCH/6eyQ== X-Authentication-Warning: plan-b.pwste.edu.pl: Host [IPv6:2001:470:71:d47:b8a9:64d5:f95b:191d] claimed to be fomalhaut.potoki.eu To: "Alexander V. Chernikov" , =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= Cc: "freebsd-net@freebsd.org" References: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net> <8696072a-dc25-8eff-04fa-4d1db13bf5cc@plan-b.pwste.edu.pl> <3588111612809020@mail.yandex.ru> <53ef5715-42ce-aad0-9a8b-11d91a9891e3@plan-b.pwste.edu.pl> <301391612827263@mail.yandex.ru> <2642181612914660@mail.yandex.ru> <2951613086198@mail.yandex.ru> <7121614026888@mail.yandex.ru> <7056db64-2e7f-6ad8-54a3-59ff406061cf@plan-b.pwste.edu.pl> <2892341614202492@mail.yandex.ru> From: Marek Zarychta Subject: Re: option FIB_ALGO and dpdk_lpm4 Message-ID: Date: Thu, 25 Feb 2021 15:19:25 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <2892341614202492@mail.yandex.ru> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="beuqgqRGvSuEE2EsikduAmrEVwPyuMFJb" X-Rspamd-Queue-Id: 4DmZfw1GDnz4nhr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 14:19:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --beuqgqRGvSuEE2EsikduAmrEVwPyuMFJb Content-Type: multipart/mixed; boundary="wjnz7aDMutqNcT4VtydCvwW26jRjkv5s9"; protected-headers="v1" From: Marek Zarychta To: "Alexander V. Chernikov" , =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= Cc: "freebsd-net@freebsd.org" Message-ID: Subject: Re: option FIB_ALGO and dpdk_lpm4 References: <5670cd9a-cd10-2b89-1347-97a6c817c50f@sentex.net> <8696072a-dc25-8eff-04fa-4d1db13bf5cc@plan-b.pwste.edu.pl> <3588111612809020@mail.yandex.ru> <53ef5715-42ce-aad0-9a8b-11d91a9891e3@plan-b.pwste.edu.pl> <301391612827263@mail.yandex.ru> <2642181612914660@mail.yandex.ru> <2951613086198@mail.yandex.ru> <7121614026888@mail.yandex.ru> <7056db64-2e7f-6ad8-54a3-59ff406061cf@plan-b.pwste.edu.pl> <2892341614202492@mail.yandex.ru> In-Reply-To: <2892341614202492@mail.yandex.ru> --wjnz7aDMutqNcT4VtydCvwW26jRjkv5s9 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable W dniu 24.02.2021 o=C2=A022:40, Alexander V. Chernikov pisze: > 24.02.2021, 10:50, "Olivier Cochard-Labb=C3=A9" : >> On Wed, Feb 24, 2021 at 1:22 AM Marek Zarychta < >> zarychtam@plan-b.pwste.edu.pl> wrote: >> >>> =C2=A0> >>> >>> =C2=A0Please let me ask only one final question. Does adding: >>> >>> =C2=A0net.route.algo.inet.algo=3Ddpdk_lpm4 >>> =C2=A0net.route.algo.inet6.algo=3Ddpdk_lpm6 >>> >>> =C2=A0to /etc/sysctl.conf make any sense? I see that right FIB_ALGO i= s >>> =C2=A0automatically picked up when the module is available. >> >> My understanding is the network stack will switch to the optimum algor= ithm >> regarding the number of routes installed. >> cf "Automatic algorithm selection" chapter here: >> https://reviews.freebsd.org/D27401 >> >> So you don't need to set this sysctl. > To add some points to Olivier's explanation: > indeed, algorithm selection SHOULD happen automatically. > Some things to keep in mind: when the BGP sessions flaps kernel routes = may go from the full-view to near-zero and vice versa. > In that case, automatic selection will switch to lockless_radix for the= range between 10..1000 routes (or similar). Lockless radix schedules reb= uild for every change, so the speed of deleting/adding first 1k routes ma= y be slower than expected. Hello Olivier and Alexander, thank you for explaining this. As far as I have tested setting this from sysctl.conf works for current fib. So to avoid early switching of route algorithms and speed up initial filling of route tables with 850k+ ip routes and 100k+ ip6 routes I'll keep both those setting in /etc/sysctl.conf. --=20 Marek Zarychta --wjnz7aDMutqNcT4VtydCvwW26jRjkv5s9-- --beuqgqRGvSuEE2EsikduAmrEVwPyuMFJb Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAmA3se0FAwAAAAAACgkQdZ/s//1SjSyV Ugf/RR4hRg5o3K+yCqr9nXBkfYJL7FqRtUOr51pJbW6GPEsNb9Vml7TIpBrOw03F6WoayHXuV+D1 DVaagW9U6NHuhJUa3vj0dJrbBy/wbkW/toawgsXwVEubbiRiBmJJZSNkfZnnmnLPUZdRYzzAOJRe yScdv6EkPpTm6WzCbiHl4BFIoZk9IelwqNZOd8htprIjDkGDqUPCOa8DliOEecvEhiabveiJdLRz vdsw3WltRnkcm8KrWPYI8gq+Z81W/r9o1yyrT3/MRqzUSM9rN8XFgKThx+g0OgPPVVRWEoQtLMNF otel0E3LKZgkyB0rtvB7Rs1k+Ec6Dk3erWpwJA9nYw== =5222 -----END PGP SIGNATURE----- --beuqgqRGvSuEE2EsikduAmrEVwPyuMFJb-- From owner-freebsd-net@freebsd.org Thu Feb 25 15:39:43 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E45F566E3A for ; Thu, 25 Feb 2021 15:39:43 +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 4DmcRM3vrxz4tSr for ; Thu, 25 Feb 2021 15:39:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8614F566E39; Thu, 25 Feb 2021 15:39:43 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 84515567021 for ; Thu, 25 Feb 2021 15:39:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmcRM3HDxz4tmC for ; Thu, 25 Feb 2021 15:39:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6326919EAE for ; Thu, 25 Feb 2021 15:39:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11PFdhdh052062 for ; Thu, 25 Feb 2021 15:39:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11PFdhiE052061 for net@FreeBSD.org; Thu, 25 Feb 2021 15:39:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 218508] Tunneling and aliases using the tun device, reusing a destination address works with IPv4, but not IPv6 Date: Thu, 25 Feb 2021 15:39:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: denny@geekhold.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 15:39:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218508 Denton Gentry changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |denny@geekhold.com --- Comment #2 from Denton Gentry --- We've been encountering this in https://github.com/tailscale/tailscale/issues/1307 The problem occurs because rtrequest1_fib returns EEXIST. root@freebsd12:~ # dtrace -n 'fbt:::return /(int)arg1 =3D=3D EEXIST / { sta= ck(); }' -c "ifconfig tun0 inet6 fd7a:115c:a1e0:ab12:4843:cd96:625c:1f1b fd7a:115c:a1e0:ab12:4843:cd96:625c:1f1b prefixlen 128" dtrace: description 'fbt:::return ' matched 29364 probes ifconfig: ioctl (SIOCAIFADDR): File exists dtrace: pid 1175 exited with status 1 CPU ID FUNCTION:NAME 1 52657 rtrequest1_fib:return kernel`rtinit+0x421 kernel`in6_update_ifa+0xc6b kernel`in6_control+0x96f kernel`ifioctl+0x47f kernel`kern_ioctl+0x2b7 kernel`sys_ioctl+0xfa kernel`amd64_syscall+0x387 kernel`0xffffffff8106785e That happens because rn_addroute returns NULL: rn_addroute(void *v_arg, void *n_arg, struct radix_head *head, struct radix_node treenodes[2]) ... /* * Deal with duplicated keys: attach node to previous instance */ saved_tt =3D tt =3D rn_insert(v, head, &keyduplicated, treenodes); if (keyduplicated) { for (t =3D tt; tt; t =3D tt, tt =3D tt->rn_dupedkey) { #ifdef RADIX_MPATH /* permit multipath, if enabled for the family */ ... #endif if (tt->rn_mask =3D=3D netmask) return (0); There is a bunch of code within the #ifdef RADIX_MPATH block above. Enabling RADIX_MPATH in the kernel config does allow the tun0 address assignment to succeed, though I haven't fully tested if it works as expected. It looks like this behavior was understood, in a comment in sys/netinet6/in6.c:in6_notify_ifa from 2004: /* * If a new destination address is specified for a point-to-point * interface, install a route to the destination as an interface * direct route. * XXX: the logic below rejects assigning multiple addresses on a p= 2p. * interface that share the same destination. */ plen =3D in6_mask2len(&ia->ia_prefixmask.sin6_addr, NULL); /* XXX */ if (!(ia->ia_flags & IFA_ROUTE) && plen =3D=3D 128 && ia->ia_dstaddr.sin6_family =3D=3D AF_INET6) { --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 25 18:08:28 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DDB4956B172 for ; Thu, 25 Feb 2021 18:08:28 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dmgl05Hmbz56pk for ; Thu, 25 Feb 2021 18:08:28 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id B202F56B171; Thu, 25 Feb 2021 18:08:28 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0F4A56B2D5 for ; Thu, 25 Feb 2021 18:08:28 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 4Dmgl00jwlz56pd; Thu, 25 Feb 2021 18:08:27 +0000 (UTC) (envelope-from avg@FreeBSD.org) X-Originating-IP: 195.64.148.76 Received: from [192.168.0.88] (unknown [195.64.148.76]) (Authenticated sender: andriy.gapon@uabsd.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 2B1F1FF809; Thu, 25 Feb 2021 18:08:24 +0000 (UTC) Subject: Re: AW: panic: sackhint bytes rtx >= 0 To: "Scheffenegger, Richard" Cc: "tuexen@freebsd.org" , "net@FreeBSD.org" References: <960081ac-2839-a226-3142-5a4666eb54ad@FreeBSD.org> <8BB910F9-B828-49A2-8941-4F6C6419D8EA@freebsd.org> From: Andriy Gapon Message-ID: Date: Thu, 25 Feb 2021 20:08:24 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Dmgl00jwlz56pd X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; local_wl_from(0.00)[FreeBSD.org] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 18:08:29 -0000 On 24/02/2021 00:40, Scheffenegger, Richard wrote: > Hi Andriy, > > I guess I am currently the person who has the most recent knowledge about that > part of the base stack > > Do you happen to have more (preceding) information about this, or a way to > reproduce this? Unfortunately, no. It "just happened". There was no unusual activity at the time of the crash. At least, from a user / administrator perspective. > Are you running any special stack (RACK, BBR) which may have switched back to > the base stack in the middle of a loss recovery (I suspected at one point that > this may cause issues, potentially)? I do not have any customizations to the network stack, everything at defaults. > Or was something done with the ipfw that may have temporarily impacted a tcp > session? I use pf as a firewall. I did not touch it at the time of the crash. > The accounting with sack_bytes_rexmit is rather old, and not touched recently > (but the sackhint struct was changed recently, and other/additional scoreboard > accounting was added). > > (kgdb) p *cur > $1 = {start = 3846347980, end = 3846352300, rxmit = 3846352300, scblink = > {tqe_next = 0xfffff8013da5a220, tqe_prev = 0xfffff80754818930}} > > This indicates, that the current hole in the SACK scoreboard (3 segments of size > 1440 bytes) were retransmitted (rxmit == end), before the current > acknowledgement came back. > > Thus the expectation is, that sackhint.sack_bytes_rexmit also has a value of at > least that number of bytes (4320). It is increased in tcp_output() for each > packet leaving while performing a retransmission. > > But this is the peculiar part: > > (kgdb) p tp@entry->sackhint.sack_bytes_rexmit > $3 = -1440 > > Indicating negative one packet had been retransmitted before (thus subtracting > the hole, which was previously retransmitted violates the invariant). And the > only piece of code decrementing it appears to be in tcp_output() during > non-permanent error handling > > All updates to sackhint should be protected by the INPLOCK, so even if the rx > and tx paths are running on different core, the sack_bytes_rexmit should never > become negative. > > The sack blocks returned indicate that (with snd.una as zero baseline, in > segments) the client knows about segments 2..34 and 35..47. > > The first hole has shrunk from the right (unusual; possible when two > retransmissions were lost again, or the 3 segment originally sent, delayed by > ~50 segments (unlikely). > > Sorry to not being able to spot something obvious right away Thank you very much for the response. Unfortunately, I cannot help much in terms of re-creating the issue as for me it really "just happened" without me touching anything. There were just some HTTP(S) and SSH sessions, the usual stuff. If you need anything else from the crash dump, please let me know. > *Von:*tuexen@freebsd.org > *Gesendet:* Dienstag, 23. Februar 2021 22:21 > *An:* Richard Scheffenegger > *Betreff:* Fwd: panic: sackhint bytes rtx >= 0 > > > > *NetApp Security WARNING*: This is an external email. Do not click links or open > attachments unless you recognize the sender and know the content is safe. > > > > FYI > > > > Begin forwarded message: > > > > *From: *Andriy Gapon > > > *Subject: panic: sackhint bytes rtx >= 0* > > *Date: *23. February 2021 at 22:02:20 CET > > *To: *FreeBSD Current >, > net@FreeBSD.org > > > > > Got this panic on 13.0-STABLE 4b2a20dfde9c using a custom kernel with INVARIANTS > enabled. > Below is some information from the crash dump. > If anyone has any clues, suggestions, etc, please help. > I will try to help you to help me the best I can. > > #0 doadump (textdump=textdump@entry=1) > at /usr/devel/git/trant/sys/kern/kern_shutdown.c:399 > #1 0xffffffff808396b2 in kern_reboot (howto=260) > at /usr/devel/git/trant/sys/kern/kern_shutdown.c:486 > #2 0xffffffff80839d07 in vpanic ( > fmt=0xffffffff80cbd551 "sackhint bytes rtx >= 0", ap=0xfffffe0120b9e6d0) > at /usr/devel/git/trant/sys/kern/kern_shutdown.c:919 > #3 0xffffffff808398b3 in panic (fmt=) > at /usr/devel/git/trant/sys/kern/kern_shutdown.c:843 > #4 0xffffffff8098a82c in tcp_sack_doack (tp=, > tp@entry=0xfffff807548187f0, to=, > to@entry=0xfffffe0120b9e780, th_ack=) > at /usr/devel/git/trant/sys/netinet/tcp_sack.c:691 > #5 0xffffffff80983699 in tcp_do_segment (m=0xfffff8029868ca00, > m@entry=, > th=, > th@entry=, > so=0xfffff804e7359b10, > so@entry=, > tp=0xfffff807548187f0, > tp@entry=, > drop_hdrlen=60, > drop_hdrlen@entry=, > tlen=, > tlen@entry=, > iptos=72 'H', > iptos@entry=) > at /usr/devel/git/trant/sys/netinet/tcp_input.c:2497 > #6 0xffffffff80980d97 in tcp_input (mp=, > mp@entry=, > offp=, > offp@entry=, > proto=) > at /usr/devel/git/trant/sys/netinet/tcp_input.c:1381 > #7 0xffffffff80976eb7 in ip_input (m=0x0) > at /usr/devel/git/trant/sys/netinet/ip_input.c:833 > #8 0xffffffff8094c78f in netisr_dispatch_src (proto=1, > source=source@entry=0, m=0xfffff8029868ca00) > at /usr/devel/git/trant/sys/net/netisr.c:1143 > #9 0xffffffff8094cb0e in netisr_dispatch (proto=, > m=) at /usr/devel/git/trant/sys/net/netisr.c:1234 > #10 0xffffffff80943345 in ether_demux (ifp=ifp@entry=0xfffff80008c75000, > m=) at /usr/devel/git/trant/sys/net/if_ethersubr.c:923 > #11 0xffffffff809446c1 in ether_input_internal (ifp=0xfffff80008c75000, > m=) at /usr/devel/git/trant/sys/net/if_ethersubr.c:709 > #12 0xffffffff809443d0 in ether_nh_input (m=) > at /usr/devel/git/trant/sys/net/if_ethersubr.c:739 > #13 0xffffffff8094c78f in netisr_dispatch_src (proto=proto@entry=5, > source=source@entry=0, m=m@entry=0xfffff8029868ca00) > at /usr/devel/git/trant/sys/net/netisr.c:1143 > #14 0xffffffff8094cb0e in netisr_dispatch (proto=, > proto@entry=5, m=, m@entry=0xfffff8029868ca00) > at /usr/devel/git/trant/sys/net/netisr.c:1234 > #15 0xffffffff8094383d in ether_input (ifp=0xfffff80008c75000, > ifp@entry=, > m=0xfffff8029868ca00, > m@entry=) > at /usr/devel/git/trant/sys/net/if_ethersubr.c:830 > #16 0xffffffff8066da13 in re_rxeof (sc=sc@entry=0xfffffe00391a5000, > rx_npktsp=0x0) at /usr/devel/git/trant/sys/dev/re/if_re.c:2388 > #17 0xffffffff8066b3ab in re_intr_msi (xsc=0xfffffe00391a5000) > at /usr/devel/git/trant/sys/dev/re/if_re.c:2684 > #18 0xffffffff80801bcf in intr_event_execute_handlers ( > p=p@entry=0xfffff80006a94a50, ie=ie@entry=0xfffff80008c57800) > at /usr/devel/git/trant/sys/kern/kern_intr.c:1168 > #19 0xffffffff80801942 in ithread_execute_handlers ( > p=p@entry=0xfffff80006a94a50, ie=ie@entry=0xfffff80008c57800) > at /usr/devel/git/trant/sys/kern/kern_intr.c:1181 > #20 0xffffffff80801758 in ithread_loop (arg=arg@entry=0xfffff80008c20c40) > at /usr/devel/git/trant/sys/kern/kern_intr.c:1269 > #21 0xffffffff807fe0a9 in fork_exit ( > callout=0xffffffff808016c0 , arg=0xfffff80008c20c40, > frame=0xfffffe0120b9ed40) > at /usr/devel/git/trant/sys/kern/kern_fork.c:1069 > > > (kgdb) fr 4 > #4 0xffffffff8098a82c in tcp_sack_doack (tp=, > tp@entry=0xfffff807548187f0, to=, to@entry=0xfffffe0120b9e780, > th_ack=) at /usr/devel/git/trant/sys/netinet/tcp_sack.c:691 > 691 KASSERT(tp->sackhint.sack_bytes_rexmit >= 0, > (kgdb) i loc > sack_blocks = {{start = 3846350860, end = 3846396940}, {start = 3846398380, end > = 3846415660}, {start = 0, end = 0}, {start = 1417775088, end = 4294965255}, > {start = 549054304, end = 4294966785}} > left_edge_delta = > delivered_data = 0 > sack_changed = > num_sack_blks = > i = > j = > sack = {start = , end = } > sblkp = 0xfffffe0120b9e700 > temp = > cur = 0xfffff8013da5a320 > (kgdb) p *cur > $1 = {start = 3846347980, end = 3846352300, rxmit = 3846352300, scblink = > {tqe_next = 0xfffff8013da5a220, tqe_prev = 0xfffff80754818930}} > (kgdb) p 3846352300 - 3846347980 > $2 = 4320 > (kgdb) p tp->sackhint.sack_bytes_rexmit > value has been optimized out > (kgdb) p tp@entry->sackhint.sack_bytes_rexmit > > $3 = -1440 > (kgdb) p 4320 - 1440 > $4 = 2880 > (kgdb) p *sblkp > $5 = {start = 3846350860, end = 3846396940} > > (kgdb) p *tp@entry > $7 = {t_inpcb = 0xfffff80640ca65b8, t_fb = 0xffffffff80ef4700 , > t_fb_ptr = 0x0, t_maxseg = 1440, t_logstate = 0, t_port = 0, t_state = 4, > t_idle_reduce = 0, t_delayed_ack = 0, t_fin_is_rst = 0, > t_log_state_set = 0, bits_spare = 0, t_flags = 1613759072, snd_una = > 3846347980, snd_max = 3846417100, snd_nxt = 3846417100, snd_up = 3846347980, > snd_wnd = 237568, snd_cwnd = 4320, t_peakrate_thr = 0, ts_offset = 71449215, > rfbuf_ts = 162235772, rcv_numsacks = 0, t_tsomax = 0, t_tsomaxsegcount = 0, > t_tsomaxsegsize = 0, rcv_nxt = 2281639092, rcv_adv = 2281705332, rcv_wnd = > 66240, t_flags2 = 1030, t_srtt = 876, t_rttvar = 33, ts_recent = 0, > snd_scale = 8 '\b', rcv_scale = 6 '\006', snd_limited = 2 '\002', > request_r_scale = 6 '\006', last_ack_sent = 2281639092, t_rcvtime = 2309118641, > rcv_up = 2281639092, t_segqlen = 0, t_segqmbuflen = 0, t_segq = { > tqh_first = 0x0, tqh_last = 0xfffff80754818880}, t_in_pkt = 0x0, t_tail_pkt > = 0x0, t_timers = 0xfffff80754818a78, t_vnet = 0x0, snd_ssthresh = 31680, > snd_wl1 = 2281639092, snd_wl2 = 3846347980, irs = 2281631223, > iss = 3840447913, t_acktime = 0, t_sndtime = 2309118613, ts_recent_age = 0, > snd_recover = 3846415660, cl4_spare = 0, t_oobflags = 0 '\000', t_iobc = 0 > '\000', t_rxtcur = 270, t_rxtshift = 1, t_rtttime = 2309118613, > t_rtseq = 3846415660, t_starttime = 2309086941, t_fbyte_in = 2309087188, > t_fbyte_out = 2309087159, t_pmtud_saved_maxseg = 0, t_blackhole_enter = 0, > t_blackhole_exit = 0, t_rttmin = 30, t_rttbest = 845, t_softerror = 0, > max_sndwnd = 237568, snd_cwnd_prev = 64800, snd_ssthresh_prev = 8640, > snd_recover_prev = 3846347980, t_sndzerowin = 0, t_rttupdated = 368, > snd_numholes = 2, t_badrxtwin = 0, snd_holes = {tqh_first = 0xfffff8013da5a320, > tqh_last = 0xfffff8013da5a230}, snd_fack = 3846415660, sackblks = {{start = > 2281632180, end = 2281632690}, {start = 0, end = 0}, {start = 0, end = 0}, > {start = 0, end = 0}, {start = 0, end = 0}, {start = 0, end = 0}}, > sackhint = {nexthole = 0xfffff8013da5a220, sack_bytes_rexmit = -1440, > last_sack_ack = 3846415660, delivered_data = 1440, sacked_bytes = 61920, > recover_fs = 67680, prr_delivered = 1440, _pad = {0}}, t_rttlow = 25, > rfbuf_cnt = 0, tod = 0x0, t_sndrexmitpack = 520, t_rcvoopack = 0, t_toe = 0x0, > cc_algo = 0xffffffff80ef2530 , ccv = 0xfffff80754818bc0, osd = > 0x0, t_bytes_acked = 11520, t_maxunacktime = 0, t_keepinit = 0, > t_keepidle = 0, t_keepintvl = 0, t_keepcnt = 0, t_dupacks = 4, t_lognum = 0, > t_loglimit = 0, t_pacing_rate = -1, t_logs = {stqh_first = 0x0, stqh_last = > 0x0}, t_lin = 0x0, t_lib = 0x0, t_output_caller = 0x0, t_stats = 0x0, > t_logsn = 0, gput_ts = 0, gput_seq = 0, gput_ack = 0, t_stats_gput_prev = 0, > t_tfo_client_cookie_len = 0 '\000', t_end_info_status = 0, t_tfo_pending = 0x0, > t_tfo_cookie = {client = '\000' , server = 0}, { > t_end_info_bytes = "\000\000\000\000\000\000\000", t_end_info = 0}} > > (kgdb) p *tp@entry->sackhint.nexthole > $8 = {start = 3846396940, end = 3846398380, rxmit = 3846398380, scblink = > {tqe_next = 0x0, tqe_prev = 0xfffff8013da5a330}} > > -- > Andriy Gapon > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org > " > > > -- Andriy Gapon From owner-freebsd-net@freebsd.org Thu Feb 25 18:21:02 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6FD4A56B5C9 for ; Thu, 25 Feb 2021 18:21:02 +0000 (UTC) (envelope-from tuexen@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 4Dmh1V2fZ8z582G for ; Thu, 25 Feb 2021 18:21:02 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5928356B6BE; Thu, 25 Feb 2021 18:21:02 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 58DCF56B990 for ; Thu, 25 Feb 2021 18:21:02 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dmh1V167vz57lH; Thu, 25 Feb 2021 18:21:01 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:501:db77:ef42:1a77] (unknown [IPv6:2a02:8109:1140:c3d:501:db77:ef42:1a77]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id D11DC7220B81C; Thu, 25 Feb 2021 19:20:56 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: panic: sackhint bytes rtx >= 0 From: Michael Tuexen In-Reply-To: Date: Thu, 25 Feb 2021 19:20:55 +0100 Cc: "Scheffenegger, Richard" , "net@FreeBSD.org" Content-Transfer-Encoding: quoted-printable Message-Id: <58AED4F6-FBA4-46D5-98D4-DD31BD9A946B@freebsd.org> References: <960081ac-2839-a226-3142-5a4666eb54ad@FreeBSD.org> <8BB910F9-B828-49A2-8941-4F6C6419D8EA@freebsd.org> To: Andriy Gapon X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4Dmh1V167vz57lH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 18:21:02 -0000 > On 25. Feb 2021, at 19:08, Andriy Gapon wrote: >=20 > On 24/02/2021 00:40, Scheffenegger, Richard wrote: >> Hi Andriy, >>=20 >> I guess I am currently the person who has the most recent knowledge = about that >> part of the base stack=E2=80=A6 >>=20 >> Do you happen to have more (preceding) information about this, or a = way to >> reproduce this? >=20 > Unfortunately, no. It "just happened". > There was no unusual activity at the time of the crash. > At least, from a user / administrator perspective. So you did not use specific TCP stacks or congestion control modules? >=20 >> Are you running any special stack (RACK, BBR) which may have switched = back to >> the base stack in the middle of a loss recovery (I suspected at one = point that >> this may cause issues, potentially)? >=20 > I do not have any customizations to the network stack, everything at = defaults. >=20 >> Or was something done with the ipfw that may have temporarily = impacted a tcp >> session? >=20 > I use pf as a firewall. I did not touch it at the time of the crash. Does pf change the packets? >=20 >> The accounting with sack_bytes_rexmit is rather old, and not touched = recently >> (but the sackhint struct was changed recently, and other/additional = scoreboard >> accounting was added). >>=20 >> (kgdb) p *cur >> $1 =3D {start =3D 3846347980, end =3D 3846352300, rxmit =3D = 3846352300, scblink =3D >> {tqe_next =3D 0xfffff8013da5a220, tqe_prev =3D 0xfffff80754818930}} >>=20 >> This indicates, that the current hole in the SACK scoreboard (3 = segments of size >> 1440 bytes) were retransmitted (rxmit =3D=3D end), before the = current >> acknowledgement came back. >>=20 >> Thus the expectation is, that sackhint.sack_bytes_rexmit also has a = value of at >> least that number of bytes (4320). It is increased in tcp_output() = for each >> packet leaving while performing a retransmission. >>=20 >> But this is the peculiar part: >>=20 >> (kgdb) p tp@entry->sackhint.sack_bytes_rexmit >> $3 =3D -1440 >>=20 >> Indicating negative one packet had been retransmitted before (thus = subtracting >> the hole, which was previously retransmitted violates the invariant). = And the >> only piece of code decrementing it appears to be in tcp_output() = during >> non-permanent error handling=E2=80=A6 >>=20 >> All updates to sackhint should be protected by the INPLOCK, so even = if the rx >> and tx paths are running on different core, the sack_bytes_rexmit = should never >> become negative. >>=20 >> The sack blocks returned indicate that (with snd.una as zero = baseline, in >> segments) the client knows about segments 2..34 and 35..47. >>=20 >> The first hole has shrunk from the right (unusual; possible when two >> retransmissions were lost again, or the 3 segment originally sent, = delayed by >> ~50 segments (unlikely). >>=20 >> Sorry to not being able to spot something obvious right away=E2=80=A6 >=20 > Thank you very much for the response. > Unfortunately, I cannot help much in terms of re-creating the issue as = for me it > really "just happened" without me touching anything. There were just = some > HTTP(S) and SSH sessions, the usual stuff. >=20 > If you need anything else from the crash dump, please let me know. >=20 >> *Von:*tuexen@freebsd.org >> *Gesendet:* Dienstag, 23. Februar 2021 22:21 >> *An:* Richard Scheffenegger >> *Betreff:* Fwd: panic: sackhint bytes rtx >=3D 0 >>=20 >> =20 >>=20 >> *NetApp Security WARNING*: This is an external email. Do not click = links or open >> attachments unless you recognize the sender and know the content is = safe. >>=20 >>=20 >>=20 >> FYI >>=20 >>=20 >>=20 >> Begin forwarded message: >>=20 >> =20 >>=20 >> *From: *Andriy Gapon > >>=20 >> *Subject: panic: sackhint bytes rtx >=3D 0* >>=20 >> *Date: *23. February 2021 at 22:02:20 CET >>=20 >> *To: *FreeBSD Current >, >> net@FreeBSD.org >>=20 >> =20 >>=20 >>=20 >> Got this panic on 13.0-STABLE 4b2a20dfde9c using a custom kernel = with INVARIANTS >> enabled. >> Below is some information from the crash dump. >> If anyone has any clues, suggestions, etc, please help. >> I will try to help you to help me the best I can. >>=20 >> #0 doadump (textdump=3Dtextdump@entry=3D1) >> at /usr/devel/git/trant/sys/kern/kern_shutdown.c:399 >> #1 0xffffffff808396b2 in kern_reboot (howto=3D260) >> at /usr/devel/git/trant/sys/kern/kern_shutdown.c:486 >> #2 0xffffffff80839d07 in vpanic ( >> fmt=3D0xffffffff80cbd551 "sackhint bytes rtx >=3D 0", = ap=3D0xfffffe0120b9e6d0) >> at /usr/devel/git/trant/sys/kern/kern_shutdown.c:919 >> #3 0xffffffff808398b3 in panic (fmt=3D) >> at /usr/devel/git/trant/sys/kern/kern_shutdown.c:843 >> #4 0xffffffff8098a82c in tcp_sack_doack (tp=3D, >> tp@entry=3D0xfffff807548187f0, to=3D, >> to@entry=3D0xfffffe0120b9e780, th_ack=3D) >> at /usr/devel/git/trant/sys/netinet/tcp_sack.c:691 >> #5 0xffffffff80983699 in tcp_do_segment (m=3D0xfffff8029868ca00, >> m@entry=3D, >> th=3D, >> th@entry=3D, >> so=3D0xfffff804e7359b10, >> so@entry=3D, >> tp=3D0xfffff807548187f0, >> tp@entry=3D, >> drop_hdrlen=3D60, >> drop_hdrlen@entry=3D, >> tlen=3D, >> tlen@entry=3D, >> iptos=3D72 'H', >> iptos@entry=3D) >> at /usr/devel/git/trant/sys/netinet/tcp_input.c:2497 >> #6 0xffffffff80980d97 in tcp_input (mp=3D, >> mp@entry=3D, >> offp=3D, >> offp@entry=3D, >> proto=3D) >> at /usr/devel/git/trant/sys/netinet/tcp_input.c:1381 >> #7 0xffffffff80976eb7 in ip_input (m=3D0x0) >> at /usr/devel/git/trant/sys/netinet/ip_input.c:833 >> #8 0xffffffff8094c78f in netisr_dispatch_src (proto=3D1, >> source=3Dsource@entry=3D0, m=3D0xfffff8029868ca00) >> at /usr/devel/git/trant/sys/net/netisr.c:1143 >> #9 0xffffffff8094cb0e in netisr_dispatch (proto=3D, >> m=3D) at = /usr/devel/git/trant/sys/net/netisr.c:1234 >> #10 0xffffffff80943345 in ether_demux = (ifp=3Difp@entry=3D0xfffff80008c75000, >> m=3D) at = /usr/devel/git/trant/sys/net/if_ethersubr.c:923 >> #11 0xffffffff809446c1 in ether_input_internal = (ifp=3D0xfffff80008c75000, >> m=3D) at = /usr/devel/git/trant/sys/net/if_ethersubr.c:709 >> #12 0xffffffff809443d0 in ether_nh_input (m=3D) >> at /usr/devel/git/trant/sys/net/if_ethersubr.c:739 >> #13 0xffffffff8094c78f in netisr_dispatch_src = (proto=3Dproto@entry=3D5, >> source=3Dsource@entry=3D0, m=3Dm@entry=3D0xfffff8029868ca00) >> at /usr/devel/git/trant/sys/net/netisr.c:1143 >> #14 0xffffffff8094cb0e in netisr_dispatch (proto=3D, >> proto@entry=3D5, m=3D, m@entry=3D0xfffff8029868ca00)= >> at /usr/devel/git/trant/sys/net/netisr.c:1234 >> #15 0xffffffff8094383d in ether_input (ifp=3D0xfffff80008c75000, >> ifp@entry=3D, >> m=3D0xfffff8029868ca00, >> m@entry=3D) >> at /usr/devel/git/trant/sys/net/if_ethersubr.c:830 >> #16 0xffffffff8066da13 in re_rxeof = (sc=3Dsc@entry=3D0xfffffe00391a5000, >> rx_npktsp=3D0x0) at = /usr/devel/git/trant/sys/dev/re/if_re.c:2388 >> #17 0xffffffff8066b3ab in re_intr_msi (xsc=3D0xfffffe00391a5000) >> at /usr/devel/git/trant/sys/dev/re/if_re.c:2684 >> #18 0xffffffff80801bcf in intr_event_execute_handlers ( >> p=3Dp@entry=3D0xfffff80006a94a50, = ie=3Die@entry=3D0xfffff80008c57800) >> at /usr/devel/git/trant/sys/kern/kern_intr.c:1168 >> #19 0xffffffff80801942 in ithread_execute_handlers ( >> p=3Dp@entry=3D0xfffff80006a94a50, = ie=3Die@entry=3D0xfffff80008c57800) >> at /usr/devel/git/trant/sys/kern/kern_intr.c:1181 >> #20 0xffffffff80801758 in ithread_loop = (arg=3Darg@entry=3D0xfffff80008c20c40) >> at /usr/devel/git/trant/sys/kern/kern_intr.c:1269 >> #21 0xffffffff807fe0a9 in fork_exit ( >> callout=3D0xffffffff808016c0 , = arg=3D0xfffff80008c20c40, >> frame=3D0xfffffe0120b9ed40) >> at /usr/devel/git/trant/sys/kern/kern_fork.c:1069 >>=20 >>=20 >> (kgdb) fr 4 >> #4 0xffffffff8098a82c in tcp_sack_doack (tp=3D, >> tp@entry=3D0xfffff807548187f0, to=3D, = to@entry=3D0xfffffe0120b9e780, >> th_ack=3D) at = /usr/devel/git/trant/sys/netinet/tcp_sack.c:691 >> 691 KASSERT(tp->sackhint.sack_bytes_rexmit >=3D = 0, >> (kgdb) i loc >> sack_blocks =3D {{start =3D 3846350860, end =3D 3846396940}, = {start =3D 3846398380, end >> =3D 3846415660}, {start =3D 0, end =3D 0}, {start =3D 1417775088, = end =3D 4294965255}, >> {start =3D 549054304, end =3D 4294966785}} >> left_edge_delta =3D >> delivered_data =3D 0 >> sack_changed =3D >> num_sack_blks =3D >> i =3D >> j =3D >> sack =3D {start =3D , end =3D } >> sblkp =3D 0xfffffe0120b9e700 >> temp =3D >> cur =3D 0xfffff8013da5a320 >> (kgdb) p *cur >> $1 =3D {start =3D 3846347980, end =3D 3846352300, rxmit =3D = 3846352300, scblink =3D >> {tqe_next =3D 0xfffff8013da5a220, tqe_prev =3D = 0xfffff80754818930}} >> (kgdb) p 3846352300 - 3846347980 >> $2 =3D 4320 >> (kgdb) p tp->sackhint.sack_bytes_rexmit >> value has been optimized out >> (kgdb) p tp@entry->sackhint.sack_bytes_rexmit >> >> $3 =3D -1440 >> (kgdb) p 4320 - 1440 >> $4 =3D 2880 >> (kgdb) p *sblkp >> $5 =3D {start =3D 3846350860, end =3D 3846396940} >>=20 >> (kgdb) p *tp@entry >> $7 =3D {t_inpcb =3D 0xfffff80640ca65b8, t_fb =3D = 0xffffffff80ef4700 , >> t_fb_ptr =3D 0x0, t_maxseg =3D 1440, t_logstate =3D 0, t_port =3D = 0, t_state =3D 4, >> t_idle_reduce =3D 0, t_delayed_ack =3D 0, t_fin_is_rst =3D 0, >> t_log_state_set =3D 0, bits_spare =3D 0, t_flags =3D 1613759072, = snd_una =3D >> 3846347980, snd_max =3D 3846417100, snd_nxt =3D 3846417100, snd_up = =3D 3846347980, >> snd_wnd =3D 237568, snd_cwnd =3D 4320, t_peakrate_thr =3D 0, = ts_offset =3D 71449215, >> rfbuf_ts =3D 162235772, rcv_numsacks =3D 0, t_tsomax =3D 0, = t_tsomaxsegcount =3D 0, >> t_tsomaxsegsize =3D 0, rcv_nxt =3D 2281639092, rcv_adv =3D = 2281705332, rcv_wnd =3D >> 66240, t_flags2 =3D 1030, t_srtt =3D 876, t_rttvar =3D 33, = ts_recent =3D 0, >> snd_scale =3D 8 '\b', rcv_scale =3D 6 '\006', snd_limited =3D 2 = '\002', >> request_r_scale =3D 6 '\006', last_ack_sent =3D 2281639092, = t_rcvtime =3D 2309118641, >> rcv_up =3D 2281639092, t_segqlen =3D 0, t_segqmbuflen =3D 0, = t_segq =3D { >> tqh_first =3D 0x0, tqh_last =3D 0xfffff80754818880}, t_in_pkt =3D= 0x0, t_tail_pkt >> =3D 0x0, t_timers =3D 0xfffff80754818a78, t_vnet =3D 0x0, = snd_ssthresh =3D 31680, >> snd_wl1 =3D 2281639092, snd_wl2 =3D 3846347980, irs =3D = 2281631223, >> iss =3D 3840447913, t_acktime =3D 0, t_sndtime =3D 2309118613, = ts_recent_age =3D 0, >> snd_recover =3D 3846415660, cl4_spare =3D 0, t_oobflags =3D 0 = '\000', t_iobc =3D 0 >> '\000', t_rxtcur =3D 270, t_rxtshift =3D 1, t_rtttime =3D = 2309118613, >> t_rtseq =3D 3846415660, t_starttime =3D 2309086941, t_fbyte_in =3D = 2309087188, >> t_fbyte_out =3D 2309087159, t_pmtud_saved_maxseg =3D 0, = t_blackhole_enter =3D 0, >> t_blackhole_exit =3D 0, t_rttmin =3D 30, t_rttbest =3D 845, = t_softerror =3D 0, >> max_sndwnd =3D 237568, snd_cwnd_prev =3D 64800, snd_ssthresh_prev = =3D 8640, >> snd_recover_prev =3D 3846347980, t_sndzerowin =3D 0, t_rttupdated = =3D 368, >> snd_numholes =3D 2, t_badrxtwin =3D 0, snd_holes =3D {tqh_first =3D = 0xfffff8013da5a320, >> tqh_last =3D 0xfffff8013da5a230}, snd_fack =3D 3846415660, = sackblks =3D {{start =3D >> 2281632180, end =3D 2281632690}, {start =3D 0, end =3D 0}, {start = =3D 0, end =3D 0}, >> {start =3D 0, end =3D 0}, {start =3D 0, end =3D 0}, {start =3D 0, = end =3D 0}}, >> sackhint =3D {nexthole =3D 0xfffff8013da5a220, sack_bytes_rexmit = =3D -1440, >> last_sack_ack =3D 3846415660, delivered_data =3D 1440, = sacked_bytes =3D 61920, >> recover_fs =3D 67680, prr_delivered =3D 1440, _pad =3D {0}}, = t_rttlow =3D 25, >> rfbuf_cnt =3D 0, tod =3D 0x0, t_sndrexmitpack =3D 520, = t_rcvoopack =3D 0, t_toe =3D 0x0, >> cc_algo =3D 0xffffffff80ef2530 , ccv =3D = 0xfffff80754818bc0, osd =3D >> 0x0, t_bytes_acked =3D 11520, t_maxunacktime =3D 0, t_keepinit =3D = 0, >> t_keepidle =3D 0, t_keepintvl =3D 0, t_keepcnt =3D 0, t_dupacks =3D= 4, t_lognum =3D 0, >> t_loglimit =3D 0, t_pacing_rate =3D -1, t_logs =3D {stqh_first =3D = 0x0, stqh_last =3D >> 0x0}, t_lin =3D 0x0, t_lib =3D 0x0, t_output_caller =3D 0x0, = t_stats =3D 0x0, >> t_logsn =3D 0, gput_ts =3D 0, gput_seq =3D 0, gput_ack =3D 0, = t_stats_gput_prev =3D 0, >> t_tfo_client_cookie_len =3D 0 '\000', t_end_info_status =3D 0, = t_tfo_pending =3D 0x0, >> t_tfo_cookie =3D {client =3D '\000' , server =3D = 0}, { >> t_end_info_bytes =3D "\000\000\000\000\000\000\000", t_end_info = =3D 0}} >>=20 >> (kgdb) p *tp@entry->sackhint.nexthole = >> $8 =3D {start =3D 3846396940, end =3D 3846398380, rxmit =3D = 3846398380, scblink =3D >> {tqe_next =3D 0x0, tqe_prev =3D 0xfffff8013da5a330}} >>=20 >> --=20 >> Andriy Gapon >> _______________________________________________ >> freebsd-current@freebsd.org = mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> >> To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org >> " >>=20 >> =20 >>=20 >=20 >=20 > --=20 > Andriy Gapon From owner-freebsd-net@freebsd.org Thu Feb 25 19:00:27 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E67C56D278 for ; Thu, 25 Feb 2021 19:00:27 +0000 (UTC) (envelope-from avg@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 4Dmhtz19rpz3GDJ for ; Thu, 25 Feb 2021 19:00:27 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 284F156D1CF; Thu, 25 Feb 2021 19:00:27 +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 2815856D36D for ; Thu, 25 Feb 2021 19:00:27 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) (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 4Dmhty5nvNz3GHN; Thu, 25 Feb 2021 19:00:26 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from [192.168.0.88] (unknown [195.64.148.76]) (Authenticated sender: andriy.gapon@uabsd.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 77AD7200002; Thu, 25 Feb 2021 19:00:22 +0000 (UTC) Subject: Re: panic: sackhint bytes rtx >= 0 To: Michael Tuexen Cc: "Scheffenegger, Richard" , "net@FreeBSD.org" References: <960081ac-2839-a226-3142-5a4666eb54ad@FreeBSD.org> <8BB910F9-B828-49A2-8941-4F6C6419D8EA@freebsd.org> <58AED4F6-FBA4-46D5-98D4-DD31BD9A946B@freebsd.org> From: Andriy Gapon Message-ID: Date: Thu, 25 Feb 2021 21:00:21 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <58AED4F6-FBA4-46D5-98D4-DD31BD9A946B@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Dmhty5nvNz3GHN X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 19:00:27 -0000 On 25/02/2021 20:20, Michael Tuexen wrote: >> On 25. Feb 2021, at 19:08, Andriy Gapon wrote: >> >> On 24/02/2021 00:40, Scheffenegger, Richard wrote: >>> Hi Andriy, >>> >>> I guess I am currently the person who has the most recent knowledge about that >>> part of the base stack… >>> >>> Do you happen to have more (preceding) information about this, or a way to >>> reproduce this? >> Unfortunately, no. It "just happened". >> There was no unusual activity at the time of the crash. >> At least, from a user / administrator perspective. > So you did not use specific TCP stacks or congestion control modules? Correct. The default stack and congestion control (if any). >>> Are you running any special stack (RACK, BBR) which may have switched back to >>> the base stack in the middle of a loss recovery (I suspected at one point that >>> this may cause issues, potentially)? >> I do not have any customizations to the network stack, everything at defaults. >> >>> Or was something done with the ipfw that may have temporarily impacted a tcp >>> session? >> I use pf as a firewall. I did not touch it at the time of the crash. > Does pf change the packets? Not sure. If only this rule: scrub in all fragment reassemble All others are just block and pass (no NAT even). -- Andriy Gapon From owner-freebsd-net@freebsd.org Thu Feb 25 20:42:07 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6606B56F2CB for ; Thu, 25 Feb 2021 20:42:07 +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 4Dml8H2G1fz3N98 for ; Thu, 25 Feb 2021 20:42:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4BBDA56F0E5; Thu, 25 Feb 2021 20:42:07 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B88E56F51E for ; Thu, 25 Feb 2021 20:42:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dml8H1Srkz3MxL for ; Thu, 25 Feb 2021 20:42:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 257691E3A9 for ; Thu, 25 Feb 2021 20:42:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11PKg7aZ019209 for ; Thu, 25 Feb 2021 20:42:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11PKg7h0019208 for net@FreeBSD.org; Thu, 25 Feb 2021 20:42:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253473] Possible bug in iflib, observed with vmxnet3 driver on ESXI servers Date: Thu, 25 Feb 2021 20:42:07 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 20:42:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253473 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch releng/13.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D1eb60112b22ea0d61f0d1ba4ac0cca56a= 0c034c8 commit 1eb60112b22ea0d61f0d1ba4ac0cca56a0c034c8 Author: Allan Jude AuthorDate: 2021-02-14 18:39:09 +0000 Commit: Allan Jude CommitDate: 2021-02-25 20:41:10 +0000 Use iflib_if_init_locked() during media change instead of iflib_init_locked(). iflib_init_locked() assumes that iflib_stop() has been called, however, it is not called for media changes. iflib_if_init_locked() calls stop then init, so fixes the problem. PR: 253473 Sponsored by: Juniper Networks, Inc., Klara, Inc. Approved by: re (gjb) (cherry picked from commit 922cf8ac43adc9983f9a9e05cfd838306c1ef483) sys/net/iflib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Feb 26 01:20:45 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2C292550A11 for ; Fri, 26 Feb 2021 01:20:45 +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 4DmsKn0XYxz4Wqg for ; Fri, 26 Feb 2021 01:20:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 126F35509B9; Fri, 26 Feb 2021 01:20:45 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1238E5509B8 for ; Fri, 26 Feb 2021 01:20:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmsKm74jjz4Wj5 for ; Fri, 26 Feb 2021 01:20:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E59F121A5A for ; Fri, 26 Feb 2021 01:20: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 11Q1KicQ068525 for ; Fri, 26 Feb 2021 01:20:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11Q1KiiC068524 for net@FreeBSD.org; Fri, 26 Feb 2021 01:20: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 253488] wg(4) IPv6 endpoints not supported yet Date: Fri, 26 Feb 2021 01:20:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: ipv6 X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: naito.yuichiro@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2021 01:20:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253488 Yuichiro NAITO changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |naito.yuichiro@gmail.com --- Comment #1 from Yuichiro NAITO --- Hi, I wrote a patch for this problem. Please review my code. https://reviews.freebsd.org/D28933 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Feb 27 07:20:46 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BD12D55E045 for ; Sat, 27 Feb 2021 07:20:46 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DndGk4CP5z4WfB for ; Sat, 27 Feb 2021 07:20:46 +0000 (UTC) (envelope-from bc979@lafn.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8EA5F55E1C8; Sat, 27 Feb 2021 07:20:46 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8E70C55E1C7 for ; Sat, 27 Feb 2021 07:20:46 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4DndGj6D3cz4Wkc for ; Sat, 27 Feb 2021 07:20:45 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4DndGb24cDz2fjQJ for ; Fri, 26 Feb 2021 23:20:39 -0800 (PST) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: accept_rtadv Message-Id: <49F826CA-266F-4A4E-AA8D-978F6F727F8C@sermon-archive.info> Date: Fri, 26 Feb 2021 23:20:39 -0800 To: "net@freebsd.org" X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Virus-Scanned: clamav-milter 0.103.0 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DndGj6D3cz4Wkc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bc979@lafn.org designates 71.177.216.148 as permitted sender) smtp.mailfrom=bc979@lafn.org X-Spamd-Result: default: False [-2.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[71.177.216.148:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[71.177.216.148:from:127.0.2.255]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148/32]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 07:20:46 -0000 =46rom the Handbook: 32.9.2. Configuring IPv6 To configure a FreeBSD system as an IPv6 client, add these two lines to = rc.conf: ifconfig_rl0_ipv6=3D"inet6 accept_rtadv" rtsold_enable=3D"YES" This does not work. I have in rc.conf: ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" ifconfig_ue0_ipv6=3D"inet6 accept_rtadv" ifconfig_ue1_ipv6=3D"inet6 accept_rtadv" On all three interfaces, ifconfig shows: nd6 options=3D21 ACCEPT_RTADV is not listed and sure enough router advertisements are = ignored. I have to manually enter: ifconfig bge0 ipv6 accept_rtadv for each interface. Then ifconfig shows: nd6 options=3D23 and the interface now accepts router advertisements. This is a bug, but = I don't know if it's in the code or the handbook. -- Doug From owner-freebsd-net@freebsd.org Sat Feb 27 12:37:53 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 96E415659F2 for ; Sat, 27 Feb 2021 12:37:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DnmJd1w4jz4pPx for ; Sat, 27 Feb 2021 12:37:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mailman.nyi.freebsd.org (Postfix) id 41AA25659F1; Sat, 27 Feb 2021 12:37:53 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 41728565944 for ; Sat, 27 Feb 2021 12:37:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnmJc5YVKz4pB9; Sat, 27 Feb 2021 12:37:52 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 9aeddf33; Sat, 27 Feb 2021 12:37:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=PhjjnW00zw+dSh 20U/+mqCDhZnY=; b=SXgOJjjip7pAqyye/b3+pd53JeKquT20YNbWV2GMD8wwKh 4rzqiTqpSfscB7C1MmsBYoiEARekDkOg21Rdyay3t6Xe14F6FEsRJ+WjH4HxTsfX MxMPJ/7lbdztaqw1DSMzdf5LDGnGq7Is8L2xyx5AsWV1NbLXgO9N6V/Yldq4lxhN MRxD7S58o7FbQGDA29ttDH9HOm9ewRB/xbhTTokiyUd5ana2nk4KnXuMnLtsXK3U tKkSxYRm/tuh3uEv9Q+k2vl94bXgje0lIMiOZ6xNPQa2N+8nyJhvMcD/6vGVkXl5 XaSpeHnbwPLfnZ+sTKfV8sfrdJc3BcQm2i37ZmUw== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=Vz6hMv05 brFKdw2eRANnva5mUDhBr00q930B8t5dnML6/SG2v6ltNTf+bTe7JSBK0G95wZXm aDFUz1chNoSPmgiRbuWMWXjmAL687by8RcVvHhGzRuDlg887AzlhUssHCb48xMkJ x2P2wUTby+nckRCO0N6BBQsmK2LGEebiD54Qb9CpiUMuwSfNNAexT1R7sr9Swmxa Wc2z5OTYuwXsaNkEz9yaUWrKTyvJzEz/kD9+yOccMLpouwkpRdziOpAYlqWU3lA6 /gIVl8pT/kAiDIOcIebECZQgQz8czhFSYuuPeibV/IwSFMZXvsvvoGLOU9nPBN1f 5CNTxq3e/sOhcg== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 140deb8f (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sat, 27 Feb 2021 12:37:38 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: accept_rtadv From: Michael Gmelin In-Reply-To: <49F826CA-266F-4A4E-AA8D-978F6F727F8C@sermon-archive.info> Date: Sat, 27 Feb 2021 13:37:37 +0100 Cc: net@freebsd.org Message-Id: <409E9AFD-D9D5-4CA9-A923-F83F99885BDD@grem.de> References: <49F826CA-266F-4A4E-AA8D-978F6F727F8C@sermon-archive.info> To: Doug Hardie X-Mailer: iPhone Mail (18D52) X-Rspamd-Queue-Id: 4DnmJc5YVKz4pB9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 12:37:53 -0000 > On 27. Feb 2021, at 08:21, Doug Hardie wrote: >=20 > =EF=BB=BF=46rom the Handbook: >=20 > 32.9.2. Configuring IPv6 > To configure a FreeBSD system as an IPv6 client, add these two lines to rc= .conf: >=20 > ifconfig_rl0_ipv6=3D"inet6 accept_rtadv" > rtsold_enable=3D"YES" >=20 > This does not work. I have in rc.conf: >=20 > ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" > ifconfig_ue0_ipv6=3D"inet6 accept_rtadv" > ifconfig_ue1_ipv6=3D"inet6 accept_rtadv" >=20 > On all three interfaces, ifconfig shows: > nd6 options=3D21 >=20 > ACCEPT_RTADV is not listed and sure enough router advertisements are ignor= ed. I have to manually enter: > ifconfig bge0 ipv6 accept_rtadv > for each interface. Then ifconfig shows: >=20 > nd6 options=3D23 >=20 > and the interface now accepts router advertisements. This is a bug, but I= don't kn > ow if it's in the code or the handbook. >=20 I just tried here on 12.2-p4 with em0 and it worked as expected. I do have i= pv4 configured on that interface too though. Do you have anything else in your rc.conf (especially any other ifconfig lin= es)? If not, could you try adding ifconfig_bge0=3D"up" etc. Cheers, Michael > -- Doug >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Sat Feb 27 13:38:00 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EB7FF566FD2 for ; Sat, 27 Feb 2021 13:38:00 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dnnf002VVz4sLj for ; Sat, 27 Feb 2021 13:37:59 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (096-033-205-208.res.spectrum.com [96.33.205.208]) by colo1.denninger.net (Postfix) with ESMTP id 3450D211089 for ; Sat, 27 Feb 2021 08:37:28 -0500 (EST) Received: from [192.168.10.25] (D15.Denninger.Net [192.168.10.25]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 90D402CA01C for ; Sat, 27 Feb 2021 08:37:28 -0500 (EST) Subject: Re: accept_rtadv To: freebsd-net@freebsd.org References: <49F826CA-266F-4A4E-AA8D-978F6F727F8C@sermon-archive.info> From: Karl Denninger Message-ID: Date: Sat, 27 Feb 2021 08:37:27 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <49F826CA-266F-4A4E-AA8D-978F6F727F8C@sermon-archive.info> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms000004000105070809010505" X-Rspamd-Queue-Id: 4Dnnf002VVz4sLj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=denninger.net; spf=pass (mx1.freebsd.org: domain of karl@denninger.net designates 104.236.120.189 as permitted sender) smtp.mailfrom=karl@denninger.net X-Spamd-Result: default: False [-3.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_POLICY_ALLOW(-0.50)[denninger.net,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[104.236.120.189:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[karl]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[104.236.120.189:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.99)[0.989]; MAILMAN_DEST(0.00)[freebsd-net] X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 13:38:01 -0000 This is a cryptographically signed message in MIME format. --------------ms000004000105070809010505 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 2/27/2021 02:20, Doug Hardie wrote: > From the Handbook: > > 32.9.2. Configuring IPv6 > To configure a FreeBSD system as an IPv6 client, add these two lines to= rc.conf: > > ifconfig_rl0_ipv6=3D"inet6 accept_rtadv" > rtsold_enable=3D"YES" > > This does not work. I have in rc.conf: > > ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" > ifconfig_ue0_ipv6=3D"inet6 accept_rtadv" > ifconfig_ue1_ipv6=3D"inet6 accept_rtadv" > > On all three interfaces, ifconfig shows: > nd6 options=3D21 > > ACCEPT_RTADV is not listed and sure enough router advertisements are ig= nored. I have to manually enter: > ifconfig bge0 ipv6 accept_rtadv > for each interface. Then ifconfig shows: > > nd6 options=3D23 > > and the interface now accepts router advertisements. This is a bug, bu= t I don't know if it's in the code or the handbook. > > -- Doug > I'm running 12.2-STABLE and have no problem with this; snippet from=20 /etc/rc.conf: # # IPv6 on internal interface, autoconfigure # ifconfig_igb0_ipv6=3D"inet6 accept_rtadv" rtsold_enable=3D"YES" And it does. =2E.... =C2=A0 =C2=A0 =C2=A0 =C2=A0 (addresses and options) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 status: active =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 nd6 options=3D23 --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms000004000105070809010505 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC DdgwggagMIIEiKADAgECAhMA5EiKghDOXrvfxYxjITXYDdhIMA0GCSqGSIb3DQEBCwUAMIGL MQswCQYDVQQGEwJVUzEQMA4GA1UECAwHRmxvcmlkYTESMBAGA1UEBwwJTmljZXZpbGxlMRkw FwYDVQQKDBBDdWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5c3RlbXMgQ0ExITAf BgNVBAMMGEN1ZGEgU3lzdGVtcyBMTEMgMjAxNyBDQTAeFw0xNzA4MTcxNjQyMTdaFw0yNzA4 MTUxNjQyMTdaMHsxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdGbG9yaWRhMRkwFwYDVQQKDBBD dWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5c3RlbXMgQ0ExJTAjBgNVBAMMHEN1 ZGEgU3lzdGVtcyBMTEMgMjAxNyBJbnQgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK AoICAQC1aJotNUI+W4jP7xQDO8L/b4XiF4Rss9O0B+3vMH7Njk85fZ052QhZpMVlpaaO+sCI KqG3oNEbuOHzJB/NDJFnqh7ijBwhdWutdsq23Ux6TvxgakyMPpT6TRNEJzcBVQA0kpby1DVD 0EKSK/FrWWBiFmSxg7qUfmIq/mMzgE6epHktyRM3OGq3dbRdOUgfumWrqHXOrdJz06xE9NzY vc9toqZnd79FUtE/nSZVm1VS3Grq7RKV65onvX3QOW4W1ldEHwggaZxgWGNiR/D4eosAGFxn uYeWlKEC70c99Mp1giWux+7ur6hc2E+AaTGh+fGeijO5q40OGd+dNMgK8Es0nDRw81lRcl24 SWUEky9y8DArgIFlRd6d3ZYwgc1DMTWkTavx3ZpASp5TWih6yI8ACwboTvlUYeooMsPtNa9E 6UQ1nt7VEi5syjxnDltbEFoLYcXBcqhRhFETJe9CdenItAHAtOya3w5+fmC2j/xJz29og1KH YqWHlo3Kswi9G77an+zh6nWkMuHs+03DU8DaOEWzZEav3lVD4u76bKRDTbhh0bMAk4eXriGL h4MUoX3Imfcr6JoyheVrAdHDL/BixbMH1UUspeRuqQMQ5b2T6pabXP0oOB4FqldWiDgJBGRd zWLgCYG8wPGJGYgHibl5rFiI5Ix3FQncipc6SdUzOQIDAQABo4IBCjCCAQYwHQYDVR0OBBYE FF3AXsKnjdPND5+bxVECGKtc047PMIHABgNVHSMEgbgwgbWAFBu1oRhUMNEzjODolDka5k4Q EDBioYGRpIGOMIGLMQswCQYDVQQGEwJVUzEQMA4GA1UECAwHRmxvcmlkYTESMBAGA1UEBwwJ TmljZXZpbGxlMRkwFwYDVQQKDBBDdWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5 c3RlbXMgQ0ExITAfBgNVBAMMGEN1ZGEgU3lzdGVtcyBMTEMgMjAxNyBDQYIJAKxAy1WBo2kY MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4IC AQCB5686UCBVIT52jO3sz9pKuhxuC2npi8ZvoBwt/IH9piPA15/CGF1XeXUdu2qmhOjHkVLN gO7XB1G8CuluxofOIUce0aZGyB+vZ1ylHXlMeB0R82f5dz3/T7RQso55Y2Vog2Zb7PYTC5B9 oNy3ylsnNLzanYlcW3AAfzZcbxYuAdnuq0Im3EpGm8DoItUcf1pDezugKm/yKtNtY6sDyENj tExZ377cYA3IdIwqn1Mh4OAT/Rmh8au2rZAo0+bMYBy9C11Ex0hQ8zWcvPZBDn4v4RtO8g+K uQZQcJnO09LJNtw94W3d2mj4a7XrsKMnZKvm6W9BJIQ4Nmht4wXAtPQ1xA+QpxPTmsGAU0Cv HmqVC7XC3qxFhaOrD2dsvOAK6Sn3MEpH/YrfYCX7a7cz5zW3DsJQ6o3pYfnnQz+hnwLlz4MK 17NIA0WOdAF9IbtQqarf44+PEyUbKtz1r0KGeGLs+VGdd2FLA0e7yuzxJDYcaBTVwqaHhU2/ Fna/jGU7BhrKHtJbb/XlLeFJ24yvuiYKpYWQSSyZu1R/gvZjHeGb344jGBsZdCDrdxtQQcVA 6OxsMAPSUPMrlg9LWELEEYnVulQJerWxpUecGH92O06wwmPgykkz//UmmgjVSh7ErNvL0lUY UMfunYVO/O5hwhW+P4gviCXzBFeTtDZH259O7TCCBzAwggUYoAMCAQICEwCg0WvVwekjGFiO 62SckFwepz0wDQYJKoZIhvcNAQELBQAwezELMAkGA1UEBhMCVVMxEDAOBgNVBAgMB0Zsb3Jp ZGExGTAXBgNVBAoMEEN1ZGEgU3lzdGVtcyBMTEMxGDAWBgNVBAsMD0N1ZGEgU3lzdGVtcyBD QTElMCMGA1UEAwwcQ3VkYSBTeXN0ZW1zIExMQyAyMDE3IEludCBDQTAeFw0xNzA4MTcyMTIx MjBaFw0yMjA4MTYyMTIxMjBaMFcxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdGbG9yaWRhMRkw FwYDVQQKDBBDdWRhIFN5c3RlbXMgTExDMRswGQYDVQQDDBJrYXJsQGRlbm5pbmdlci5uZXQw ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC+HVSyxVtJhy3Ohs+PAGRuO//Dha9A 16l5FPATr6wude9zjX5f2lrkRyU8vhCXTZW7WbvWZKpcZ8r0dtZmiK9uF58Ec6hhvfkxJzbg 96WHBw5Fumd5ahZzuCJDtCAWW8R7/KN+zwzQf1+B3MVLmbaXAFBuKzySKhKMcHbK3/wjUYTg y+3UK6v2SBrowvkUBC+jxNg3Wy12GsTXcUS/8FYIXgVVPgfZZrbJJb5HWOQpvvhILpPCD3xs YJFNKEPltXKWHT7Qtc2HNqikgNwj8oqOb+PeZGMiWapsatKm8mxuOOGOEBhAoTVTwUHlMNTg 6QUCJtuWFCK38qOCyk9Haj+86lUU8RG6FkRXWgMbNQm1mWREQhw3axgGLSntjjnznJr5vsvX SYR6c+XKLd5KQZcS6LL8FHYNjqVKHBYM+hDnrTZMqa20JLAF1YagutDiMRURU23iWS7bA9tM cXcqkclTSDtFtxahRifXRI7Epq2GSKuEXe/1Tfb5CE8QsbCpGsfSwv2tZ/SpqVG08MdRiXxN 5tmZiQWo15IyWoeKOXl/hKxA9KPuDHngXX022b1ly+5ZOZbxBAZZMod4y4b4FiRUhRI97r9l CxsP/EPHuuTIZ82BYhrhbtab8HuRo2ofne2TfAWY2BlA7ExM8XShMd9bRPZrNTokPQPUCWCg CdIATQIDAQABo4IBzzCCAcswPAYIKwYBBQUHAQEEMDAuMCwGCCsGAQUFBzABhiBodHRwOi8v b2NzcC5jdWRhc3lzdGVtcy5uZXQ6ODg4ODAJBgNVHRMEAjAAMBEGCWCGSAGG+EIBAQQEAwIF oDAOBgNVHQ8BAf8EBAMCBeAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMEMDMGCWCG SAGG+EIBDQQmFiRPcGVuU1NMIEdlbmVyYXRlZCBDbGllbnQgQ2VydGlmaWNhdGUwHQYDVR0O BBYEFLElmNWeVgsBPe7O8NiBzjvjYnpRMIHKBgNVHSMEgcIwgb+AFF3AXsKnjdPND5+bxVEC GKtc047PoYGRpIGOMIGLMQswCQYDVQQGEwJVUzEQMA4GA1UECAwHRmxvcmlkYTESMBAGA1UE BwwJTmljZXZpbGxlMRkwFwYDVQQKDBBDdWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRh IFN5c3RlbXMgQ0ExITAfBgNVBAMMGEN1ZGEgU3lzdGVtcyBMTEMgMjAxNyBDQYITAORIioIQ zl6738WMYyE12A3YSDAdBgNVHREEFjAUgRJrYXJsQGRlbm5pbmdlci5uZXQwDQYJKoZIhvcN AQELBQADggIBAJXboPFBMLMtaiUt4KEtJCXlHO/3ZzIUIw/eobWFMdhe7M4+0u3te0sr77QR dcPKR0UeHffvpth2Mb3h28WfN0FmJmLwJk+pOx4u6uO3O0E1jNXoKh8fVcL4KU79oEQyYkbu 2HwbXBU9HbldPOOZDnPLi0whi/sbFHdyd4/w/NmnPgzAsQNZ2BYT9uBNr+jZw4SsluQzXG1X lFL/qCBoi1N2mqKPIepfGYF6drbr1RnXEJJsuD+NILLooTNf7PMgHPZ4VSWQXLNeFfygoOOK FiO0qfxPKpDMA+FHa8yNjAJZAgdJX5Mm1kbqipvb+r/H1UAmrzGMbhmf1gConsT5f8KU4n3Q IM2sOpTQe7BoVKlQM/fpQi6aBzu67M1iF1WtODpa5QUPvj1etaK+R3eYBzi4DIbCIWst8MdA 1+fEeKJFvMEZQONpkCwrJ+tJEuGQmjoQZgK1HeloepF0WDcviiho5FlgtAij+iBPtwMuuLiL shAXA5afMX1hYM4l11JXntle12EQFP1r6wOUkpOdxceCcMVDEJBBCHW2ZmdEaXgAm1VU+fnQ qS/wNw/S0X3RJT1qjr5uVlp2Y0auG/eG0jy6TT0KzTJeR9tLSDXprYkN2l/Qf7/nT6Q03qyE QnnKiBXWAZXveafyU/zYa7t3PTWFQGgWoC4w6XqgPo4KV44OMYIFBzCCBQMCAQEwgZIwezEL MAkGA1UEBhMCVVMxEDAOBgNVBAgMB0Zsb3JpZGExGTAXBgNVBAoMEEN1ZGEgU3lzdGVtcyBM TEMxGDAWBgNVBAsMD0N1ZGEgU3lzdGVtcyBDQTElMCMGA1UEAwwcQ3VkYSBTeXN0ZW1zIExM QyAyMDE3IEludCBDQQITAKDRa9XB6SMYWI7rZJyQXB6nPTANBglghkgBZQMEAgMFAKCCAkUw GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMjEwMjI3MTMzNzI4 WjBPBgkqhkiG9w0BCQQxQgRAQBfvnnrbiwAuADcDJnosCwfWD2wyEdmrOerDi9RFiU+y5hHo 0Tsdnba6/Wd4zecKl7aC4TTIHpX6y6XOYcZqxDBsBgkqhkiG9w0BCQ8xXzBdMAsGCWCGSAFl AwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3 DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGjBgkrBgEEAYI3EAQxgZUwgZIwezEL MAkGA1UEBhMCVVMxEDAOBgNVBAgMB0Zsb3JpZGExGTAXBgNVBAoMEEN1ZGEgU3lzdGVtcyBM TEMxGDAWBgNVBAsMD0N1ZGEgU3lzdGVtcyBDQTElMCMGA1UEAwwcQ3VkYSBTeXN0ZW1zIExM QyAyMDE3IEludCBDQQITAKDRa9XB6SMYWI7rZJyQXB6nPTCBpQYLKoZIhvcNAQkQAgsxgZWg gZIwezELMAkGA1UEBhMCVVMxEDAOBgNVBAgMB0Zsb3JpZGExGTAXBgNVBAoMEEN1ZGEgU3lz dGVtcyBMTEMxGDAWBgNVBAsMD0N1ZGEgU3lzdGVtcyBDQTElMCMGA1UEAwwcQ3VkYSBTeXN0 ZW1zIExMQyAyMDE3IEludCBDQQITAKDRa9XB6SMYWI7rZJyQXB6nPTANBgkqhkiG9w0BAQEF AASCAgAMqd2mt+kKsdi93sfOPIhnr16dEAhj+QtQv185RIjiaXmyIyIP1ADbIYKpqCwnMuC2 fIBe7IxgKAVKb0PNxOZzxCpzjHiJS+UKKTqXYRnbPb1h2qwcF3vaL/JFDBRJ16Uakmq3WjK+ C+g5qPe31PxkR87RHuhHynzrsgJRJLA3oM4yapE5D36DkwrX109vAqTR+DmGzygD2tPQ2kHf tTXiMtsvUHideZ7g6Mob1H4auJzqX5lViO32jdOPo98t6FM6+FQoQaLCcBanaSi2uOnBEo6w Ysl5cdFj+CasME2HwdBPfSRZ9zFqY7uk9AsIF1RT83Si0s+acVRPE2vZvQqRni6KY56Zvedt z6hac9xlM0UIKiwS67bCrNttkfLwlAwvQD8vyg4OV3xcBCiLlqVMwahkib7/EM9NQvQvrt4h eI+lzeIO6kRP9CjdQCnjWqm0DvmXK3IX0c/ISecgu8MsUsDJ8UJ/sCydoc4PFcbpj2S+iM51 gKxIzYMXCE1nuT/Z74u/qy0VcLp54NiirqTFtJ92CQIupo7DEMev8cKpqwrnZ6dNecrvE284 jHh9KlCBfsqX6EGT7eOjjOXNBkmB4HUQf5eyVh7PdirIxAsyAfud+Z8wOcv/cz7KD6r+7rfv Z4EnQosu0sH220ct9q2HTwVYan3logaJTN10x3FltgAAAAAAAA== --------------ms000004000105070809010505-- From owner-freebsd-net@freebsd.org Sat Feb 27 18:21:21 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 070FE54F76E for ; Sat, 27 Feb 2021 18:21:21 +0000 (UTC) (envelope-from bc979@lafn.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 4Dnvww61Xvz3kGJ for ; Sat, 27 Feb 2021 18:21:20 +0000 (UTC) (envelope-from bc979@lafn.org) Received: by mailman.nyi.freebsd.org (Postfix) id CE77C54F5D8; Sat, 27 Feb 2021 18:21:20 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE39E54F9A9 for ; Sat, 27 Feb 2021 18:21:20 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dnvwv5p27z3kNY for ; Sat, 27 Feb 2021 18:21:19 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4Dnvwr75nHz2fjRq for ; Sat, 27 Feb 2021 10:21:16 -0800 (PST) From: Doug Hardie Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: accept_rtadv Date: Sat, 27 Feb 2021 10:21:16 -0800 References: <49F826CA-266F-4A4E-AA8D-978F6F727F8C@sermon-archive.info> <409E9AFD-D9D5-4CA9-A923-F83F99885BDD@grem.de> To: net@freebsd.org In-Reply-To: <409E9AFD-D9D5-4CA9-A923-F83F99885BDD@grem.de> Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Virus-Scanned: clamav-milter 0.103.0 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4Dnvwv5p27z3kNY X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bc979@lafn.org designates 71.177.216.148 as permitted sender) smtp.mailfrom=bc979@lafn.org X-Spamd-Result: default: False [-1.69 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[71.177.216.148:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[71.177.216.148:from:127.0.2.255]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148/32]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.01)[0.011]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[net] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 18:21:21 -0000 > On 27 February 2021, at 04:37, Michael Gmelin wrote: >=20 >=20 >=20 >> On 27. Feb 2021, at 08:21, Doug Hardie wrote: >>=20 >> =EF=BB=BF=46rom the Handbook: >>=20 >> 32.9.2. Configuring IPv6 >> To configure a FreeBSD system as an IPv6 client, add these two lines = to rc.conf: >>=20 >> ifconfig_rl0_ipv6=3D"inet6 accept_rtadv" >> rtsold_enable=3D"YES" >>=20 >> This does not work. I have in rc.conf: >>=20 >> ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" >> ifconfig_ue0_ipv6=3D"inet6 accept_rtadv" >> ifconfig_ue1_ipv6=3D"inet6 accept_rtadv" >>=20 >> On all three interfaces, ifconfig shows: >> nd6 options=3D21 >>=20 >> ACCEPT_RTADV is not listed and sure enough router advertisements are = ignored. I have to manually enter: >> ifconfig bge0 ipv6 accept_rtadv >> for each interface. Then ifconfig shows: >>=20 >> nd6 options=3D23 >>=20 >> and the interface now accepts router advertisements. This is a bug, = but I don't kn >> ow if it's in the code or the handbook. >>=20 >=20 > I just tried here on 12.2-p4 with em0 and it worked as expected. I do = have ipv4 configured on that interface too though. >=20 > Do you have anything else in your rc.conf (especially any other = ifconfig lines)? >=20 > If not, could you try adding >=20 > ifconfig_bge0=3D"up" > etc. ### IPv6 Setup ### ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" ifconfig_bge0_ipv6=3D"inet6 fec2::210 prefixlen 64" ipv6_static_routes=3D"lan1 lan2" ipv6_route_lan1=3D"fec1:: -prefixlen 64 fec2::205" ipv6_route_lan2=3D"fec2:: -prefixlen 64 fec2::205" That is all associated with IPv6. IPv4 is configured and used. -- Doug From owner-freebsd-net@freebsd.org Sat Feb 27 18:34:46 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F3E7A5500B8 for ; Sat, 27 Feb 2021 18:34:45 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DnwDP4xW7z3lKq for ; Sat, 27 Feb 2021 18:34:45 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mailman.nyi.freebsd.org (Postfix) id A995054FFD2; Sat, 27 Feb 2021 18:34:45 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A95E5550305 for ; Sat, 27 Feb 2021 18:34:45 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnwDP20Jbz3lbR; Sat, 27 Feb 2021 18:34:44 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id f89d88e2; Sat, 27 Feb 2021 18:34:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=2PyaMnVFMb6/Zw wFBctSvIGQOaE=; b=R0LKw6VLECLes3u/zSGJFma4yXQ+K8kgp5omxIAs91qlgk RLT1iS6LVONdaJi8GEvffaWG9WNT3tIWty5sI39qBo0nKhcN8eVzVzt6WFDe2VRZ yAc5GLZJpUYSD9DBE/da9AoXcEmpRSOokuLnsHB8KsxzBTysYUV8gv+TsVZk7jDe Cy1wltzwoyqwk1bxGnY8kXcpvwBlL2jnISi7a7nEMs8be/1djUqgtrEg30H2SzGI MEhLfB8O3xsg71aV24BP+twmCCc2eGypZnVDlNiDF7Bdd5aG6toiKELU1/uVECwU ctK5r98Nr1tD40wLt++TIuyethl+3y6rktoaMjSA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=Uk+AopIx W3rVNPhEJuh/xQBUv40dvRAlan14nonCNKIgF4fBe9Aer5Z0N6Bg96iONfEtvqid 07L1nBUU6kVmGBTpf9/plDlMSZS1clf7Sx4axk1o25lgSJDcJ2ZttBEbJuUgLDha eIGCwe+cP46M673f2EuIyBG27spqWYFVCkSKzQaMtwJjyXxSFEdgINQMfOWZaxnv QYYpQ1sYnTOIJWaVfCiZNp586A7E7eK1Rpv9TGnoO2N5GPNsNtwnI3/G6sQ4mD1+ Q1pkXK63uxWMOkSIfGNwJK+F7C53RdwETzMAR8ZPm3PhULR9/YKqLhDeW7gISXwG /kKGQ8huXYXazA== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id c1c17d4b (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sat, 27 Feb 2021 18:34:32 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: accept_rtadv From: Michael Gmelin In-Reply-To: Date: Sat, 27 Feb 2021 19:34:31 +0100 Cc: net@freebsd.org Message-Id: References: To: Doug Hardie X-Mailer: iPhone Mail (18D52) X-Rspamd-Queue-Id: 4DnwDP20Jbz3lbR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 18:34:46 -0000 > On 27. Feb 2021, at 19:21, Doug Hardie wrote: >=20 > =EF=BB=BF >>> On 27 February 2021, at 04:37, Michael Gmelin wrote: >>>=20 >>>=20 >>>=20 >>>> On 27. Feb 2021, at 08:21, Doug Hardie wrote: >>>=20 >>> =EF=BB=BF=46rom the Handbook: >>>=20 >>> 32.9.2. Configuring IPv6 >>> To configure a FreeBSD system as an IPv6 client, add these two lines to r= c.conf: >>>=20 >>> ifconfig_rl0_ipv6=3D"inet6 accept_rtadv" >>> rtsold_enable=3D"YES" >>>=20 >>> This does not work. I have in rc.conf: >>>=20 >>> ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" >>> ifconfig_ue0_ipv6=3D"inet6 accept_rtadv" >>> ifconfig_ue1_ipv6=3D"inet6 accept_rtadv" >>>=20 >>> On all three interfaces, ifconfig shows: >>> nd6 options=3D21 >>>=20 >>> ACCEPT_RTADV is not listed and sure enough router advertisements are ign= ored. I have to manually enter: >>> ifconfig bge0 ipv6 accept_rtadv >>> for each interface. Then ifconfig shows: >>>=20 >>> nd6 options=3D23 >>>=20 >>> and the interface now accepts router advertisements. This is a bug, but= I don't kn >>> ow if it's in the code or the handbook. >>>=20 >>=20 >> I just tried here on 12.2-p4 with em0 and it worked as expected. I do hav= e ipv4 configured on that interface too though. >>=20 >> Do you have anything else in your rc.conf (especially any other ifconfig l= ines)? >>=20 >> If not, could you try adding >>=20 >> ifconfig_bge0=3D"up" >> etc. >=20 > ### IPv6 Setup ### Well, here you set "ifconfig_bge0_ipv6" to one value > ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" And there you overwrite it with a new value=20 > ifconfig_bge0_ipv6=3D"inet6 fec2::210 prefixlen 64" Therefore, the first line has no effect at all. You can double check this by calling sysrc ifconfig_bge0_ipv6 Setting all things in one config setting might work (haven=E2=80=99t tried i= t myself), like in ifconfig_bge0_ipv6=3D"inet6 fec2::210 prefixlen 64 accept_rtadv" -m >=20 > ipv6_static_routes=3D"lan1 lan2" > ipv6_route_lan1=3D"fec1:: -prefixlen 64 fec2::205" > ipv6_route_lan2=3D"fec2:: -prefixlen 64 fec2::205" >=20 > That is all associated with IPv6. IPv4 is configured and used. >=20 > -- Doug >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Sat Feb 27 20:41:29 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1CAB9552776 for ; Sat, 27 Feb 2021 20:41:29 +0000 (UTC) (envelope-from SRS0=l7Lr=H5=lafn.org=bc979@sermon-archive.info) 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 4Dnz2c6Y4Wz3rbF for ; Sat, 27 Feb 2021 20:41:28 +0000 (UTC) (envelope-from SRS0=l7Lr=H5=lafn.org=bc979@sermon-archive.info) Received: by mailman.nyi.freebsd.org (Postfix) id E0AE9552920; Sat, 27 Feb 2021 20:41:28 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E06AE5527A1 for ; Sat, 27 Feb 2021 20:41:28 +0000 (UTC) (envelope-from SRS0=l7Lr=H5=lafn.org=bc979@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dnz2b5ZYzz3rhh for ; Sat, 27 Feb 2021 20:41:27 +0000 (UTC) (envelope-from SRS0=l7Lr=H5=lafn.org=bc979@sermon-archive.info) Received: from [172.20.10.7] (unknown [172.58.30.131]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4DnyvC1tkTz2fjQl for ; Sat, 27 Feb 2021 12:35:03 -0800 (PST) From: Doug Hardie Mime-Version: 1.0 (1.0) Subject: Re: accept_rtadv Message-Id: Date: Sat, 27 Feb 2021 12:34:56 -0800 To: net@FreeBSD.org X-Mailer: iPad Mail (18D52) X-Virus-Scanned: clamav-milter 0.103.0 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4Dnz2b5ZYzz3rhh X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=l7Lr=H5=lafn.org=bc979@sermon-archive.info designates 71.177.216.148 as permitted sender) smtp.mailfrom=SRS0=l7Lr=H5=lafn.org=bc979@sermon-archive.info X-Spamd-Result: default: False [7.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:71.177.216.148:c]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.984]; FORGED_SENDER(0.30)[bc979@lafn.org,SRS0=l7Lr=H5=lafn.org=bc979@sermon-archive.info]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.30.131:received]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[71.177.216.148:from]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[bc979@lafn.org,SRS0=l7Lr=H5=lafn.org=bc979@sermon-archive.info]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.30.131:received]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[71.177.216.148:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[net] X-Spam: Yes Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 20:41:29 -0000 =EF=BB=BF > On Feb 27, 2021, at 11:06, Michael Gmelin wrote: > =EF=BB=BF >=20 >=20 >> On 27. Feb 2021, at 19:40, Doug Hardie wrote: >> =EF=BB=BF >>> On 27 February 2021, at 10:34, Michael Gmelin wrote: >>>=20 >>>=20 >>>=20 >>>> On 27. Feb 2021, at 19:21, Doug Hardie wrote: >>>>=20 >>>> =EF=BB=BF >>>>>> On 27 February 2021, at 04:37, Michael Gmelin wrote= : >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>> On 27. Feb 2021, at 08:21, Doug Hardie wrote: >>>>>>=20 >>>>>> =EF=BB=BF=46rom the Handbook: >>>>>>=20 >>>>>> 32.9.2. Configuring IPv6 >>>>>> To configure a FreeBSD system as an IPv6 client, add these two lines t= o rc.conf: >>>>>>=20 >>>>>> ifconfig_rl0_ipv6=3D"inet6 accept_rtadv" >>>>>> rtsold_enable=3D"YES" >>>>>>=20 >>>>>> This does not work. I have in rc.conf: >>>>>>=20 >>>>>> ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" >>>>>> ifconfig_ue0_ipv6=3D"inet6 accept_rtadv" >>>>>> ifconfig_ue1_ipv6=3D"inet6 accept_rtadv" >>>>>>=20 >>>>>> On all three interfaces, ifconfig shows: >>>>>> nd6 options=3D21 >>>>>>=20 >>>>>> ACCEPT_RTADV is not listed and sure enough router advertisements are i= gnored. I have to manually enter: >>>>>> ifconfig bge0 ipv6 accept_rtadv >>>>>> for each interface. Then ifconfig shows: >>>>>>=20 >>>>>> nd6 options=3D23 >>>>>>=20 >>>>>> and the interface now accepts router advertisements. This is a bug, b= ut I don't kn >>>>>> ow if it's in the code or the handbook. >>>>>=20 >>>>> I just tried here on 12.2-p4 with em0 and it worked as expected. I do h= ave ipv4 configured on that interface too though. >>>>>=20 >>>>> Do you have anything else in your rc.conf (especially any other ifconf= ig lines)? >>>>>=20 >>>>> If not, could you try adding >>>>>=20 >>>>> ifconfig_bge0=3D"up" >>>>> etc. >>>>=20 >>>> ### IPv6 Setup ### >>>=20 >>> Well, here you set "ifconfig_bge0_ipv6" to one value >>>=20 >>>> ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" >>>=20 >>> And there you overwrite it with a new value=20 >>>=20 >>>> ifconfig_bge0_ipv6=3D"inet6 fec2::210 prefixlen 64" >>>=20 >>> Therefore, the first line has no effect at all. >>>=20 >>> You can double check this by calling >>>=20 >>> sysrc ifconfig_bge0_ipv6 >>>=20 >>> Setting all things in one config setting might work (haven=E2=80=99t tri= ed it myself), like in >>>=20 >>> ifconfig_bge0_ipv6=3D"inet6 fec2::210 prefixlen 64 accept_rtadv" >>>=20 >>> -m >>>=20 >>>>=20 >>>> ipv6_static_routes=3D"lan1 lan2" >>>> ipv6_route_lan1=3D"fec1:: -prefixlen 64 fec2::205" >>>> ipv6_route_lan2=3D"fec2:: -prefixlen 64 fec2::205" >>>>=20 >>>> That is all associated with IPv6. IPv4 is configured and used. >>>>=20 >>>> -- Doug >>=20 >> You are supposed to be able to sent multiple IP addresses on an interface= and that generally works. =46rom the handbook, I get that the "ifconfig_rl= 0_ipv6=3D"inet6 accept_rtadv" line causes the default link-local addresses t= o be configured and should set accept_rtadv. The other lines should just ad= d additional IP addresses. Logically, adding the accept_rtadv in each seems= a bit much. Although, that is the way it worked in FreeBSD 9. That was do= cumented in the handbook at that time. Adding additional IP addresses shoul= d not clear any of the interface flags unless included in the command. >>=20 >=20 > rc.conf is key value in general, the format is >=20 > key=3Dvalue1 >=20 > If you write further done in the file >=20 > key=3Ddifferentvalue >=20 > the value of key will be "differentvalue", like the first line never exist= ed. (This is unrelated to IPv6 or router advertisements, just the basic prin= ciple of rc.conf). >=20 > One way I used to configure things like that in the past was using one ifc= onfig__ipv6 line to set flags etc and then use ifconfig__aliases to set ip addresses. >=20 > Something like >=20 > ifconfig_bge0_ipv6=3D"inet6 accept_rtadv" > ifconfig_bge0_aliases=3D"inet6 fec2::210 prefixlen 64" >=20 > (I haven=E2=80=99t tried this, as I=E2=80=99m afk and typed it on the phon= e, which is a bit of a pita, and from the top of my head,so you would have t= o try/verify yourself). >=20 > -m Ahh. The handbook is needing a note about that. There should be something s= imilar to what was done for IPv4 where it shows adding additional addresses u= sing: Ifconfig_bge0_alias0 ... Ifconfig_bge0_alias1 ... That would be very helpful. Thanks for the explinations. =E2=80=94 Doug From owner-freebsd-net@freebsd.org Sat Feb 27 21:45:30 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9F9AB554B70 for ; Sat, 27 Feb 2021 21:45:30 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) 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 4Dp0SV2t7Xz4QmR for ; Sat, 27 Feb 2021 21:45:30 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: by mailman.nyi.freebsd.org (Postfix) id 62A1E5547EA; Sat, 27 Feb 2021 21:45:30 +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 6268C554CFA for ; Sat, 27 Feb 2021 21:45:30 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dp0SV1Rqsz3wXd for ; Sat, 27 Feb 2021 21:45:29 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 82DCB8D4A314; Sat, 27 Feb 2021 21:45:20 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id CF54FE70861; Sat, 27 Feb 2021 21:45:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id DCFw6nrQ1wqT; Sat, 27 Feb 2021 21:45:17 +0000 (UTC) Received: from [127.0.0.1] (unknown [IPv6:fde9:577b:c1a9:4902:5ce3:abc3:517c:e785]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 258B8E70860; Sat, 27 Feb 2021 21:45:16 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Doug Hardie" Cc: net@FreeBSD.org Subject: Re: accept_rtadv Date: Sat, 27 Feb 2021 21:45:16 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: <5DDF778D-4F17-46E8-9B63-81FF9B362639@lists.zabbadoz.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Dp0SV1Rqsz3wXd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 21:45:30 -0000 On 27 Feb 2021, at 20:34, Doug Hardie wrote: >  >> On Feb 27, 2021, at 11:06, Michael Gmelin wrote: >>  >> >> >>> On 27. Feb 2021, at 19:40, Doug Hardie wrote: >>>  >>>> On 27 February 2021, at 10:34, Michael Gmelin >>>> wrote: >>>> >>>> >>>> >>>>> On 27. Feb 2021, at 19:21, Doug Hardie wrote: >>>>> >>>>>  >>>>>>> On 27 February 2021, at 04:37, Michael Gmelin >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>>> On 27. Feb 2021, at 08:21, Doug Hardie wrote: >>>>>>> >>>>>>> From the Handbook: >>>>>>> >>>>>>> 32.9.2. Configuring IPv6 >>>>>>> To configure a FreeBSD system as an IPv6 client, add these two >>>>>>> lines to rc.conf: >>>>>>> >>>>>>> ifconfig_rl0_ipv6="inet6 accept_rtadv" >>>>>>> rtsold_enable="YES" >>>>>>> >>>>>>> This does not work. I have in rc.conf: >>>>>>> >>>>>>> ifconfig_bge0_ipv6="inet6 accept_rtadv" >>>>>>> ifconfig_ue0_ipv6="inet6 accept_rtadv" >>>>>>> ifconfig_ue1_ipv6="inet6 accept_rtadv" >>>>>>> >>>>>>> On all three interfaces, ifconfig shows: >>>>>>> nd6 options=21 >>>>>>> >>>>>>> ACCEPT_RTADV is not listed and sure enough router advertisements >>>>>>> are ignored. I have to manually enter: >>>>>>> ifconfig bge0 ipv6 accept_rtadv >>>>>>> for each interface. Then ifconfig shows: >>>>>>> >>>>>>> nd6 options=23 >>>>>>> >>>>>>> and the interface now accepts router advertisements. This is a >>>>>>> bug, but I don't kn >>>>>>> ow if it's in the code or the handbook. >>>>>> >>>>>> I just tried here on 12.2-p4 with em0 and it worked as expected. >>>>>> I do have ipv4 configured on that interface too though. >>>>>> >>>>>> Do you have anything else in your rc.conf (especially any other >>>>>> ifconfig lines)? >>>>>> >>>>>> If not, could you try adding >>>>>> >>>>>> ifconfig_bge0="up" >>>>>> etc. >>>>> >>>>> ### IPv6 Setup ### >>>> >>>> Well, here you set "ifconfig_bge0_ipv6" to one value >>>> >>>>> ifconfig_bge0_ipv6="inet6 accept_rtadv" >>>> >>>> And there you overwrite it with a new value >>>> >>>>> ifconfig_bge0_ipv6="inet6 fec2::210 prefixlen 64" >>>> >>>> Therefore, the first line has no effect at all. >>>> >>>> You can double check this by calling >>>> >>>> sysrc ifconfig_bge0_ipv6 >>>> >>>> Setting all things in one config setting might work (haven’t >>>> tried it myself), like in >>>> >>>> ifconfig_bge0_ipv6="inet6 fec2::210 prefixlen 64 accept_rtadv" >>>> >>>> -m >>>> >>>>> >>>>> ipv6_static_routes="lan1 lan2" >>>>> ipv6_route_lan1="fec1:: -prefixlen 64 fec2::205" >>>>> ipv6_route_lan2="fec2:: -prefixlen 64 fec2::205" >>>>> >>>>> That is all associated with IPv6. IPv4 is configured and used. >>>>> >>>>> -- Doug >>> >>> You are supposed to be able to sent multiple IP addresses on an >>> interface and that generally works. From the handbook, I get that >>> the "ifconfig_rl0_ipv6="inet6 accept_rtadv" line causes the default >>> link-local addresses to be configured and should set accept_rtadv. >>> The other lines should just add additional IP addresses. Logically, >>> adding the accept_rtadv in each seems a bit much. Although, that is >>> the way it worked in FreeBSD 9. That was documented in the handbook >>> at that time. Adding additional IP addresses should not clear any >>> of the interface flags unless included in the command. >>> >> >> rc.conf is key value in general, the format is >> >> key=value1 >> >> If you write further done in the file >> >> key=differentvalue >> >> the value of key will be "differentvalue", like the first line never >> existed. (This is unrelated to IPv6 or router advertisements, just >> the basic principle of rc.conf). >> >> One way I used to configure things like that in the past was using >> one ifconfig__ipv6 line to set flags etc and then use >> ifconfig__aliases to set ip addresses. >> >> Something like >> >> ifconfig_bge0_ipv6="inet6 accept_rtadv" >> ifconfig_bge0_aliases="inet6 fec2::210 prefixlen 64" >> >> (I haven’t tried this, as I’m afk and typed it on the phone, >> which is a bit of a pita, and from the top of my head,so you would >> have to try/verify yourself). >> >> -m > > Ahh. The handbook is needing a note about that. There should be > something similar to what was done for IPv4 where it shows adding > additional addresses using: > > Ifconfig_bge0_alias0 ... > Ifconfig_bge0_alias1 ... > > That would be very helpful. Thanks for the explinations. aliases are address family independent; you write =“inet 192.0.2.17/24” or =“inet6 2001:db8::2:17/64” as you wish. /bz From owner-freebsd-net@freebsd.org Sat Feb 27 22:07:49 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 828DD5559B5 for ; Sat, 27 Feb 2021 22:07:49 +0000 (UTC) (envelope-from lutz@iks-jena.de) 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 4Dp0yF2cQdz4SHV for ; Sat, 27 Feb 2021 22:07:49 +0000 (UTC) (envelope-from lutz@iks-jena.de) Received: by mailman.nyi.freebsd.org (Postfix) id 57E7E5559B4; Sat, 27 Feb 2021 22:07:49 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 57A7A555B8C for ; Sat, 27 Feb 2021 22:07:49 +0000 (UTC) (envelope-from lutz@iks-jena.de) Received: from annwfn.iks-jena.de (annwfn.iks-jena.de [IPv6:2001:4bd8::19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dp0yF0hzTz4S3l for ; Sat, 27 Feb 2021 22:07:48 +0000 (UTC) (envelope-from lutz@iks-jena.de) X-SMTP-Sender: IPv6:2001:4bd8:0:666:248:54ff:fe12:ee3f Received: from belenus.iks-jena.de (belenus.iks-jena.de [IPv6:2001:4bd8:0:666:248:54ff:fe12:ee3f]) by annwfn.iks-jena.de (8.15.2/8.15.2) with ESMTPS id 11RM7eRw022377 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 27 Feb 2021 23:07:40 +0100 X-MSA-Host: belenus.iks-jena.de Received: (from lutz@localhost) by belenus.iks-jena.de (8.14.3/8.14.1/Submit) id 11RM7efH029670; Sat, 27 Feb 2021 23:07:40 +0100 Date: Sat, 27 Feb 2021 23:07:40 +0100 From: Lutz Donnerhacke To: Doug Hardie Cc: net@FreeBSD.org Subject: Re: accept_rtadv Message-ID: <20210227220740.GA28592@belenus.iks-jena.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-message-flag: Please send plain text messages only. Thank you. User-Agent: Mutt/1.5.17 (2007-11-01) X-Rspamd-Queue-Id: 4Dp0yF0hzTz4S3l X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 22:07:49 -0000 On Sat, Feb 27, 2021 at 12:34:56PM -0800, Doug Hardie wrote: > Ahh. The handbook is needing a note about that. There should be something similar to what was done for IPv4 where it shows adding additional addresses using: > > Ifconfig_bge0_alias0 ... > Ifconfig_bge0_alias1 ... > > That would be very helpful. Thanks for the explinations. That's a bad idea. You can't comment out some intermediate line. ifconfig_bge0_alias0="inet xxx" # ifconfig_bge0_alias1="inet yyy" ifconfig_bge0_alias2="inet zzz" will result in applying "xxx" only. but this is even worse: ifconfig_bge0_aliases=" \ inet xxx \ # inet yyy \ inet zzz \ " It results in an syntax error. So I do use: ifconfig_bge0_aliases="${ifconfig_bge0_aliases} inet xxx" # ifconfig_bge0_aliases="${ifconfig_bge0_aliases} inet yyy" ifconfig_bge0_aliases="${ifconfig_bge0_aliases} inet zzz" For _ipv6 it's different, because you need at least one _ipv6. ifconfig_bge0_ipv6="inet6 xxx" ifconfig_bge0_aliases="inet6 yyy"