From nobody Mon May 20 00:59:08 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VjK2k3209z5LN3R for ; Mon, 20 May 2024 00:59:10 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VjK2k1J48z4sjj for ; Mon, 20 May 2024 00:59:10 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.18.1/8.18.1) with ESMTP id 44K0x9Rc033391; Sun, 19 May 2024 19:59:09 -0500 (CDT) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1716166749; bh=fi/zHTX60W+aY+t3c3BExpzOGnoVTTqxI4HaiPh2iZo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=qznCtRBEpG6OfsUZsvs9m/QOPIfz1HFCKPa0Nbwwherh2CPBJorAZZ9Z640S88oo5 ayzEEyknIDNbQvaVgPlQtz/Hr8HtWtoVDEzBw3CtesyJ65KkYjBR0nYwZ07h/Qk9tp bx86N4TG+Yf9nT2vbEzkvAoFf5yTmzwUdC6619h2ixZ5HgK2NoN22hmlaYxvPSX3yX cE9BiEGYczfECVufBB67aZtzN+jRPfNJLyEyVQU/6RTOV/59LVxWWBzpvY9K5cRb1S mMW6mIOPY6OOsw239z8wgYUstKaQOTiMvi+WclD3g3vwJNiQh4H//OR4BPf+v6aH+5 zb0nNvSVA06Fw== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id xh47AV2gSmZtggAAs/W3XQ (envelope-from ); Sun, 19 May 2024 19:59:09 -0500 From: Mike Karels To: mike tancsa Cc: FreeBSD Net Subject: Re: networking in 14.1 release notes Date: Sun, 19 May 2024 19:59:08 -0500 X-Mailer: MailMate (1.14r6028) Message-ID: <7751A3C8-BAAA-4E67-9725-5A3A6A8793F1@karels.net> In-Reply-To: References: <7C2C0681-C1D1-404F-8B09-E65C29E366D3@karels.net> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4VjK2k1J48z4sjj On 19 May 2024, at 18:29, mike tancsa wrote: > On 5/18/2024 10:49 AM, Mike Karels wrote: >> I have no networking changes at all in the 14.1 release notes. Is the= re >> anything that should be mentioned? Feel free to reply to me individua= lly. >> > Not sure if appropriate or not, but when going to 13.x to 14.x, not all= vlan configs work now in rc.conf > > Both > > ifconfig_vlan2=3D"192.168.1.51/24 vlandev igb1 vlan 2" > ifconfig_vlan2=3D"192.168.1.51/24 vlan 2 vlandev igb1" > > used to work on RELENG_13 > > now only > > ifconfig_vlan2=3D"192.168.1.51/24=C2=A0 vlan 2 vlandev igb1" > > is allowed.=C2=A0 Maybe a heads up in UPDATING ? That sounds like an outright bug. Looks like it was true in 14.0 as well= =2E Is there a bug report? I couldn't find one. btw, UPDATING is meant for upgrades from source. Mike From nobody Mon May 20 04:36:23 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VjPsh3l1nz5LktX for ; Mon, 20 May 2024 04:36:40 +0000 (UTC) (envelope-from john@sanren.ac.za) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VjPsg0GmQz4LKv for ; Mon, 20 May 2024 04:36:39 +0000 (UTC) (envelope-from john@sanren.ac.za) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sanren-ac-za.20230601.gappssmtp.com header.s=20230601 header.b="n/Uvc/Kp"; dmarc=none; spf=pass (mx1.freebsd.org: domain of john@sanren.ac.za designates 2607:f8b0:4864:20::62d as permitted sender) smtp.mailfrom=john@sanren.ac.za Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1ed835f3c3cso70288895ad.3 for ; Sun, 19 May 2024 21:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sanren-ac-za.20230601.gappssmtp.com; s=20230601; t=1716179797; x=1716784597; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KxxOpjIAJa/6jANbPUTHriY38q7yK+cP3WbkDT3g2F4=; b=n/Uvc/KpWOSwIP1GIAZBTHqXOMoKTq86v5VaxYfahBRbet+QC0OT5Pbc05um8NO3kr 9adGav6He/QGuoh4cgGqCKYuP2Aw0n97UkPyVQRG+4wq8kbHpbIAMrBgun2NZAetRKz3 nleAOTARXl0hRP58njBcv3LOxjLRxRCqXadr1VwOy7nalOMYES54zzeTiWi18NBiV3Ou 4NdRkygDVIfptxOG0/6krp1AJqZtavYcqYjZ9rvmCZisn7p2Ki4GBp49J3XgBqjiBItc ccIXaSfqGP/R7TsJr+VUiE5mzQZYxokdoJyjrKf5QrruF3H3UFiEsQUB53y/sqUiB0dk PCtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716179797; x=1716784597; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KxxOpjIAJa/6jANbPUTHriY38q7yK+cP3WbkDT3g2F4=; b=grb0EBJ/Pki3Xyno44N2b9c/wsIU40fFqAk250/6W9nmbqdc9RvbiybhIaLTE4YtNN tl53xEj67qcrKgIPNGhZj78FgE+lZoeXCEuLAdNc/8EUKZEIp2iiKGB3gw19yUhGKRnu RgaphULiQck5mInGOGja9xsciU+IRq59MbBQSXk399GJHjzsKL9zDbc1TBftYYLoJxSh UY6tOWMP1eTblxDIOeMOzqrbZV4YF7otJX1I+mmYtg74MgtHDWS+K3OCVNSZt6xtk6jD AfBwLiEWMnyI5OznMSaxz7E1UyBfoWHo6k5nztTQFSFWRpxb3/W7NeeC26pgo4yj7Erg ZtEg== X-Gm-Message-State: AOJu0YzblRgLgkxOjKYwTRxbmfJXh3gYEtBv835fvAiBCoXIqIca4pIN 1jeeueHdwlczHrVdxc76/lLf4w3dStA+SJclHXNVmMXH66FIYm69SVXGh4X6xeMjDnelzr3EJkB F9I+J6SPEaWkx15EgnxzLJhCU6Twyl7J3kgxweLQlBLCSTk4i6xw= X-Google-Smtp-Source: AGHT+IGqm2huq9guCcSm0KUR3LqNXQ/uBo91XiF25OxYM04UR6scgX9+z+c45X4QJJMvLwzyLdfxYzj8pLQio1oxSC0= X-Received: by 2002:a17:90a:cf0e:b0:2ae:cffa:9b2c with SMTP id 98e67ed59e1d1-2b6ccd8e06dmr24006920a91.44.1716179797153; Sun, 19 May 2024 21:36:37 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: <7C2C0681-C1D1-404F-8B09-E65C29E366D3@karels.net> In-Reply-To: <7C2C0681-C1D1-404F-8B09-E65C29E366D3@karels.net> From: John Hay Date: Mon, 20 May 2024 06:36:23 +0200 Message-ID: Subject: Re: networking in 14.1 release notes To: Mike Karels Cc: FreeBSD Net Content-Type: multipart/alternative; boundary="0000000000002e3b6a0618db3f1d" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[sanren-ac-za.20230601.gappssmtp.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[sanren.ac.za]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::62d:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[sanren-ac-za.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4VjPsg0GmQz4LKv --0000000000002e3b6a0618db3f1d Content-Type: text/plain; charset="UTF-8" Hi Mike, The ice(4) driver for Intel E800 Ethernet controllers has been in the tree since May 2020, but it seems it was never added to the release notes. It also does not have a man page. There is a bug report for the missing man page: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262892 Regards John On Sat, 18 May 2024 at 16:50, Mike Karels wrote: > I have no networking changes at all in the 14.1 release notes. Is there > anything that should be mentioned? Feel free to reply to me individually. > > Thanks, > Mike > > --0000000000002e3b6a0618db3f1d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Mike,

The ice(4) driver f= or Intel E800 Ethernet controllers has been in the tree since May 2020, but= it seems it was never added to the release notes. It also does not have a = man page. There is a bug report for the missing man page:
Regards

John

=

= On Sat, 18 May 2024 at 16:50, Mike Karels <mike@karels.net> wrote:
I have no networking changes at all in the 14.1 releas= e notes.=C2=A0 Is there
anything that should be mentioned?=C2=A0 Feel free to reply to me individua= lly.

Thanks,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Mike

--0000000000002e3b6a0618db3f1d-- From nobody Mon May 20 07:39:30 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VjTwg3hDKz5Jc2Z for ; Mon, 20 May 2024 07:39:31 +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 4VjTwg2fkqz4dZ2 for ; Mon, 20 May 2024 07:39:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716190771; a=rsa-sha256; cv=none; b=Mx9QfCIHNLyAn6mqxKix3vVkbthjlFSHtmVl5rQN+igAzrT52ZYo9Th0Xep2Xk6xjI74V+ ufK2vXA4uymZnl63zcrAQEYxMO9yGUdZreDL3FrJKwtBfQnh6UA2HllbBJYUEaxAEMp/4T b0B8FHefZEeoyyKyH48ovwNdFN2rkCIUUgXJMYlhgwH9B66kOsrHVeEIu+DXNY/UQYrW8K FWbeIBw1LgQ8mMQbs6F06418wrQYYMt3SN7Iy94S+n/5kMVKPeRe0X9qiZE4uCC1UH6xtC Ke56XF74sAWh8ZiJlFiDmyx/09L0Q/Ofhz1z9/EAJDNrYzbt+Ynasvb0Y2kyNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716190771; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+m6HQf1UL1FLoq2FFFJnsRFajmzlsTYxTAJs/i8Bgcc=; b=vu6NrePDZXDPciwn7NPjuihegyL2VXw8wVQ8cdtLIUDzBJGA3tGtbkqhFDaEEy9yYyori9 ROCQEL5HHCk/kA+nQn+l8/LEYq7dVY1DjCe+NeXgdiW4BFKNJ9lkVhH5w8CzMYGI+xsqY/ oc/L5/dCIdg70i57HazRI3zoqunMoOusHPw4BILby4utfs1gBLP0qESCLsL5GFrctqFrK8 AhhSxUp2YsgYTYP6VW8SLcBpTuppoHmRIMnFzgIc2ItxVR/413XeU7YcIDEbUatFYNRqxX a0jkEfGtywMNZmiOpBqb4Mk3TjArvIa6nri497J8aIevx5YRkl0HXv3+G51iOQ== 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 4VjTwg2GLbzT1d for ; Mon, 20 May 2024 07:39:31 +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 44K7dVfc006910 for ; Mon, 20 May 2024 07:39:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44K7dV3b006909 for net@FreeBSD.org; Mon, 20 May 2024 07:39:31 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 275920] Kernel crash in sys/netlink/route/iface.c:124 Date: Mon, 20 May 2024 07:39: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: 14.0-RELEASE X-Bugzilla-Keywords: crash 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275920 --- Comment #9 from commit-hook@FreeBSD.org --- A commit in branch releng/14.1 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfecd303882565954f58d984e4a13735e0= 80b5263 commit fecd303882565954f58d984e4a13735e080b5263 Author: Kristof Provost AuthorDate: 2024-05-06 09:39:08 +0000 Commit: Kristof Provost CommitDate: 2024-05-20 07:38:40 +0000 if: guard against if_ioctl being NULL There are situations where an struct ifnet has a NULL if_ioctl pointer. For example, e6000sw creates such struct ifnets for each of its ports s= o it can call into the MII code. If there is then a link state event this calls do_link_state_change() -> rtnl_handle_ifevent() -> dump_iface() -> get_operstate() -> get_operstate_ether(). That wants to know if the link is up or down, so= it tries to ioctl(SIOCGIFMEDIA), which doesn't go well if if_ioctl is NULL. Guard against this, and return EOPNOTSUPP. PR: 275920 MFC ater: 3 days Approved by: re (cperciva) Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 43387b4e574043b78a58c8bcb7575161b055fce1) (cherry picked from commit 9a8a26aefb366ef6f497d48547a1562a1de566c1) sys/net/if.c | 3 +++ 1 file changed, 3 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon May 20 12:13:13 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vjc0k6b6Lz5L7nT for ; Mon, 20 May 2024 12:13:26 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vjc0k4hR7z4DbQ for ; Mon, 20 May 2024 12:13:26 +0000 (UTC) (envelope-from nonesuch@longcount.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-43e12244dc9so21326381cf.2 for ; Mon, 20 May 2024 05:13:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount.org; s=google; t=1716207206; x=1716812006; darn=freebsd.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=dXhqUC7lHiH0JakMQSR5LekX/zzgiWEoT4X7kZ2Ms9s=; b=tOoSuknSUqz33SCOgF9rmRPfe5YtXQHfNCLvHacv6aXsI1vUt2FExb41Lkc25w5Pim h8v+dW/GwnFLalHV7N/odCtYk+6yPjsp9bJqdSUZAVt8vYE7Ggd00nws/93nUDY4DB4c 2GBXH1Bez3JnBVqKpxkizISukN6cXX8VAdK4nidbQ5vT3Vze54SxnayADzEJn2VBKPID mE6d/+etFP/EqkQpCqlLAGke68oo8p9qA6N7Nrad3KRy3dKsWnxi+bcyj9V27hA30Nh1 X+T5o0nTSJrleB5N2tTI1IJoX3sFjC2hqVsC6KtEyAa0qY8QzA9bRY2Amvb7RZRbPZZz 9Asg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716207206; x=1716812006; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dXhqUC7lHiH0JakMQSR5LekX/zzgiWEoT4X7kZ2Ms9s=; b=g9vEQuqzpQm9Rv08pph+JLYeHXTLBXsR5saVtZnDfarKrkXxQ+VvQUiVjBxqis19Jd rvPNO3cD0umBmrrWYVOzYYfDGSjiJO3T+kBUv1AQH+FpK65gKHMePLLAbbqyjuaYMiGS veeZ73CASogu2LXgiBQExgASLC5nyL21rhAZ85s1LPHx131U+j3Wg3q26CRXPUZRI4mW ghG16xxh3nunwtDY/ObQ1nIsrACj8kd2M50ywbrQZX/M24n1Qanfl4Uw2S/xBhIc78wa fA6LYtYgU+lp9AmslvpxVsuZVIweL6nEt+X0oaY5gxkGVzI3BPp9lUKIwRJwa8Rjq9/U xSvg== X-Forwarded-Encrypted: i=1; AJvYcCU0GNSpjarxaR29a48sJzWXGSD6SfFHxQs0UuQxYaqXVcdJrG5LTQvoWassm+kJsGf3DBjM27yexVFsygt2AIM/TvKZ487MhQ== X-Gm-Message-State: AOJu0Yw2CPLFXfEqT4E2tMsi8FMVqtxciwhMIRj3lNnXshyP301tekWh cpXyh8OjlkTvw75OWxhcUSWs24wSNuGB0mz+2QiKkc6XEL7V/plQo5hCYNKj/oGDd/We9cWjHX2 z X-Google-Smtp-Source: AGHT+IFuouN/G/UdVEsnGoZ1+DI11lEnCS9J0m/nLLj3Mx+R9eh8YLN6Eb1yT10JxPUJtvSS1+pIYQ== X-Received: by 2002:a05:622a:4b0b:b0:43d:f7b4:3087 with SMTP id d75a77b69052e-43dfdb26b8dmr340898161cf.24.1716207205696; Mon, 20 May 2024 05:13:25 -0700 (PDT) Received: from smtpclient.apple (pool-68-161-195-36.nycmny.fios.verizon.net. [68.161.195.36]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43df54b58b5sm147093731cf.7.2024.05.20.05.13.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 May 2024 05:13:24 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-88E03B35-753D-4082-A12E-E1F1036B8659 Content-Transfer-Encoding: 7bit From: Mark Saad List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org Mime-Version: 1.0 (1.0) Subject: Re: networking in 14.1 release notes Date: Mon, 20 May 2024 08:13:13 -0400 Message-Id: <09F0F7BD-6ACA-43A5-9BDB-3A11F2CD4B9A@longcount.org> References: Cc: Mike Karels , FreeBSD Net In-Reply-To: To: John Hay X-Mailer: iPhone Mail (20H330) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Vjc0k4hR7z4DbQ --Apple-Mail-88E03B35-753D-4082-A12E-E1F1036B8659 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable John
  I vote for importing intels= man page provided with the source . It=E2=80=99s better then nothing.
---
Mark Saad | nonesuch@longcount.org

On May 20, 2024, at 12:36 AM, Jo= hn Hay <john@sanren.ac.za> wrote:

=EF=BB=BF
Hi Mike,

The ice(4) driver for Intel E800 Ethernet controllers h= as been in the tree since May 2020, but it seems it was never added to the r= elease notes. It also does not have a man page. There is a bug report for th= e missing man page:


Regards

John


On Sat, 18 May 2024 at 16:50, Mike Karels &l= t;mike@karels.net> wrote:
=
I have no networking change= s at all in the 14.1 release notes.  Is there
anything that should be mentioned?  Feel free to reply to me individual= ly.

Thanks,
                Mike

= --Apple-Mail-88E03B35-753D-4082-A12E-E1F1036B8659-- From nobody Mon May 20 12:16:07 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vjc3q3x6xz5L7wp for ; Mon, 20 May 2024 12:16: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 4Vjc3q20vJz4Fxp for ; Mon, 20 May 2024 12:16:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716207367; a=rsa-sha256; cv=none; b=vA8rih7o7LRmu1S5RNn5FdTfza9sFzRWvcn8jRvC9vRHBx+jgoZAsH0aypg+OYpIbZc/TA nqkKG5mdw5/9qF2H2XUBIotkbIZqdB16eFH9RmG/zapQAEs4fDAAJUcKlTTQXuhc2HP8qe GSgeo4xnrA9fJWScZpSBwXfdX5hr1r3OZE5Bsi0To2KNlZvMCYRJc5P0WNoslrL9sK8JrN 2yFY7msvIWxZe/vI3CM8nJWfL1OJzxUcgvhzywzXpTYRO0SNilL1FV2RQX15j3ePK12UQo e4gLYJHKl92/lhFKmsXrliWzN9YsfA5DHlKd54IT1nvKlQsHwFmNrcZfAyDvrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716207367; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ETpW2cYTE/XajW1Vcp4z5NaZYGf0l9Xc6ZWoF2HZRmk=; b=H7IlBw177eKphyZDhHMDaEm+Tu7eklpiJkX6roQfy7LW/bO4pPQYkeD6At9HavKfkJJdYp PyxTNFaOsB2iUH+Np2wjPgC3wArvNEUuQlKqRMBXU3/yxhJJPB47zFUhyxGQ7eylzdgboF C6XS5URDYo2JVGY656mxsHCGNS+D8Tma/3ZMuDRrKOHELJrIcc5lfhgfLg9vtLXil3mDbS WgR0t3M6qR7Ov2QGR0yVYUmJMd3IA8nae4Wqx42b06CpeKidhjqnD46iLBE1ANo1I8mH+X 5HhmLDAO0byDRaFKiN4mZtQrxpmI/emLfthWcmJ68rBpsRt6zXVPCam9ZSdGAA== 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 4Vjc3q1bLkzdbY for ; Mon, 20 May 2024 12:16: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 44KCG72M047171 for ; Mon, 20 May 2024 12:16:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44KCG7Wb047147 for net@FreeBSD.org; Mon, 20 May 2024 12:16: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 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP) Date: Mon, 20 May 2024 12:16:07 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278394 --- Comment #26 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D93fbfef0b50354b7a1620822454ef29cd= 415cb2d commit 93fbfef0b50354b7a1620822454ef29cd415cb2d Author: Zhenlei Huang AuthorDate: 2024-05-20 12:14:07 +0000 Commit: Zhenlei Huang CommitDate: 2024-05-20 12:14:07 +0000 if_vxlan(4): Add checking for loops and nesting of tunnels User misconfiguration, either tunnel loops, or a large number of different nested tunnels, can overflow the kernel stack. Prevent that by using if_tunnel_check_nesting(). PR: 278394 Diagnosed by: markj Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45197 sys/net/if_vxlan.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From nobody Mon May 20 12:18:03 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vjc643T8Nz5L8FD for ; Mon, 20 May 2024 12:18:04 +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 4Vjc640jkpz4GT2 for ; Mon, 20 May 2024 12:18:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716207484; a=rsa-sha256; cv=none; b=vfSSEy5/5r/kFbgA2cUaf4O60HFEJktmpoiruMOz1ARvBXOEWi62UJgKO+S6j+rPLts+RB t8/mUlrgdCp5Ag68vVm6dyMDUhI+d2yUhaNdCk18DAAmTRHp1hyWVO5zCpgdpLpft2uKW9 SJYw6uBQP5hbgjVH/ixPVRVD1PcHG5gnmLh+Nb40c+iJu+w0Anms370y2n6Lpr+E1wjjLS NoQndAmOIew3GM98tYNwSt+zeDtJiyrzQLzgjocPu7OQMMwM1I93r4HJLXYymZMIkVcLlz 7JUGG+m7bPytLoq3GKNzxhIym9aILXEAcztNDP1TmsTaZyyfFzGsqeE2THa8bA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716207484; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=POpWlUo5rYmFik78mxfMmtpCUUcnRnQU+dURlVjFVXg=; b=gjakkHst+wRYxs953/HK/nwp+MPI2j4HZIY65SrA/EXW1CNlUAwtW/zSQyTjngiYGzBEdC 0I2HRzZSf+f1ZoF+lCVu5aCMxOvArlAdtku58u4WIlRxdd7NBENjkuQoxXRBrjYJcGBDPQ sz8bt1nPb83rSZzmCFrltUgT4YZF/XwQu9aPGLuyVDe7NkFX9keqycCIOZSleavByf0VjL BkVy75zTXILW4ipH8ex2XMoxhXM2ftQBvVDrsK2bkhj9Nge2kpES96Rvhd20q1dam8HMMW LiCAUyGbXYmUEYKclX98ytxDq9rd59q6M8byed4y62kCFmLC4k3zCjVsKzVJ2Q== 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 4Vjc6401Pszdbb for ; Mon, 20 May 2024 12:18:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44KCI38e053243 for ; Mon, 20 May 2024 12:18:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44KCI3rR053238 for net@FreeBSD.org; Mon, 20 May 2024 12:18:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP) Date: Mon, 20 May 2024 12:18:03 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zlei@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? X-Bugzilla-Changed-Fields: bug_status bug_severity assigned_to flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278394 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress Severity|Affects Only Me |Affects Some People Assignee|net@FreeBSD.org |zlei@FreeBSD.org Flags| |mfc-stable14?, | |mfc-stable13? --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Mon May 20 15:15:06 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vjh2R2r16z5LSjK for ; Mon, 20 May 2024 15:15:11 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smarthost1.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vjh2Q6X00z4jRF for ; Mon, 20 May 2024 15:15:10 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; none Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.17.1/8.16.1) with ESMTPS id 44KFF94H095858 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Mon, 20 May 2024 11:15:09 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:d8d3:3285:e1a2:fe7e] ([IPv6:2607:f3e0:0:4:d8d3:3285:e1a2:fe7e]) by pyroxene2a.sentex.ca (8.18.1/8.15.2) with ESMTPS id 44KFF6sF054866 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 20 May 2024 11:15:08 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <54c5ee01-06fa-4073-8a06-a68f2f5cffcf@sentex.net> Date: Mon, 20 May 2024 11:15:06 -0400 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: networking in 14.1 release notes To: Mike Karels Cc: FreeBSD Net References: <7C2C0681-C1D1-404F-8B09-E65C29E366D3@karels.net> <7751A3C8-BAAA-4E67-9725-5A3A6A8793F1@karels.net> Content-Language: en-US From: mike tancsa Autocrypt: addr=mike@sentex.net; keydata= xsBNBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAHNHW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+wsCOBBMBCAA4FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAl+pQfkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQeVOEFl5W rMiN6ggAk3H5vk8QnbvGbb4sinxZt/wDetgk0AOR9NRmtTnPaW+sIJEfGBOz47Xih+f7uWJS j+uvc9Ewn2Z7n8z3ZHJlLAByLVLtcNXGoRIGJ27tevfOaNqgJHBPbFOcXCBBFTx4MYMM4iAZ cDT5vsBTSaM36JZFtHZBKkuFEItbA/N8ZQSHKdTYMIA7A3OCLGbJBqloQ8SlW4MkTzKX4u7R yefAYQ0h20x9IqC5Ju8IsYRFacVZconT16KS81IBceO42vXTN0VexbVF2rZIx3v/NT75r6Vw 0FlXVB1lXOHKydRA2NeleS4NEG2vWqy/9Boj0itMfNDlOhkrA/0DcCurMpnpbM7ATQRcsMzk AQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4axtKRSG1 t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1qzAJweEt RdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6cLm0EiHPO l5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5o9KKu4O7 gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQABwsB2BBgB CAAgFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAl+pQfkCGwwACgkQeVOEFl5WrMiVqwf9GwU8 c6cylknZX8QwlsVudTC8xr/L17JA84wf03k3d4wxP7bqy5AYy7jboZMbgWXngAE/HPQU95NM aukysSnknzoIpC96XZJ0okLBXVS6Y0ylZQ+HrbIhMpuQPoDweoF5F9wKrsHRoDaUK1VR706X rwm4HUzh7Jk+auuMYfuCh0FVlFBEuiJWMLhg/5WCmcRfiuB6F59ZcUQrwLEZeNhF2XJV4KwB Tlg7HCWO/sy1foE5noaMyACjAtAQE9p5kGYaj+DuRhPdWUTsHNuqrhikzIZd2rrcMid+ktb0 NvtvswzMO059z1YGMtGSqQ4srCArju+XHIdTFdiIYbd7+jeehg== In-Reply-To: <7751A3C8-BAAA-4E67-9725-5A3A6A8793F1@karels.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.86 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA] X-Rspamd-Queue-Id: 4Vjh2Q6X00z4jRF On 5/19/2024 8:59 PM, Mike Karels wrote: > On 19 May 2024, at 18:29, mike tancsa wrote: > >> On 5/18/2024 10:49 AM, Mike Karels wrote: >>> I have no networking changes at all in the 14.1 release notes. Is there >>> anything that should be mentioned? Feel free to reply to me individually. >>> >> Not sure if appropriate or not, but when going to 13.x to 14.x, not all vlan configs work now in rc.conf >> >> Both >> >> ifconfig_vlan2="192.168.1.51/24 vlandev igb1 vlan 2" >> ifconfig_vlan2="192.168.1.51/24 vlan 2 vlandev igb1" >> >> used to work on RELENG_13 >> >> now only >> >> ifconfig_vlan2="192.168.1.51/24  vlan 2 vlandev igb1" >> >> is allowed.  Maybe a heads up in UPDATING ? > That sounds like an outright bug. Looks like it was true in 14.0 as well. > Is there a bug report? I couldn't find one. I didnt open one. Wasnt sure if it the change was a deliberate one or on the wrong side of POLA. To me it feels unnecessary to have only one order of params but I might be missing the rational behind it. Shall I open a PR ?     --Mike > btw, UPDATING is meant for upgrades from source. > > Mike > From nobody Mon May 20 15:54:08 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VjhvS1R1rz5LX8C for ; Mon, 20 May 2024 15:54:12 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VjhvR6X8xz4rb8 for ; Mon, 20 May 2024 15:54:11 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.18.1/8.18.1) with ESMTP id 44KFs9tq037719; Mon, 20 May 2024 10:54:09 -0500 (CDT) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1716220450; bh=5eEGhVxJUJe8H18/HNjWHY9dbiPIM1wog/O8cLDLWz4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=NtXinasdQ1tidfhPIxLGEwD8Gdz/pjYecuoLrGHjffmz63tSE3Q8lyEeiF1mbmw/G QSJyqRVTlvS4CjQY9m2yBQW0ixrqXb0fh+UYWuDfKJO2+Ci70Mmxbhvnw20h7FbTQ5 lwODKWK9LhwxE3Ae1wAxZds54m3/PSAW6OP7fQWc0tSzANVX0ZqZMFrmHasDJvIkXM SrLJBjFhr4FDkw4YKX+7Sro4t6LBKqGwI1t17yN4R7NZ/eL3U3zl5466SEyYs0NHiz xxnVNb7rU5UtZc8mzNUhaA9YEaXUEuamzQQUBKGQ82k9GlBwhqErVaSn/CCaZomWxp c/iQv8oNVzluw== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id IwdaMCFyS2ZVkwAAs/W3XQ (envelope-from ); Mon, 20 May 2024 10:54:09 -0500 From: Mike Karels To: mike tancsa Cc: FreeBSD Net Subject: Re: networking in 14.1 release notes Date: Mon, 20 May 2024 10:54:08 -0500 X-Mailer: MailMate (1.14r6028) Message-ID: <05E86D91-8B06-4B48-ADAA-68FC1927DA36@karels.net> In-Reply-To: <54c5ee01-06fa-4073-8a06-a68f2f5cffcf@sentex.net> References: <7C2C0681-C1D1-404F-8B09-E65C29E366D3@karels.net> <7751A3C8-BAAA-4E67-9725-5A3A6A8793F1@karels.net> <54c5ee01-06fa-4073-8a06-a68f2f5cffcf@sentex.net> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4VjhvR6X8xz4rb8 On 20 May 2024, at 10:15, mike tancsa wrote: > On 5/19/2024 8:59 PM, Mike Karels wrote: >> On 19 May 2024, at 18:29, mike tancsa wrote: >> >>> On 5/18/2024 10:49 AM, Mike Karels wrote: >>>> I have no networking changes at all in the 14.1 release notes. Is t= here >>>> anything that should be mentioned? Feel free to reply to me individ= ually. >>>> >>> Not sure if appropriate or not, but when going to 13.x to 14.x, not a= ll vlan configs work now in rc.conf >>> >>> Both >>> >>> ifconfig_vlan2=3D"192.168.1.51/24 vlandev igb1 vlan 2" >>> ifconfig_vlan2=3D"192.168.1.51/24 vlan 2 vlandev igb1" >>> >>> used to work on RELENG_13 >>> >>> now only >>> >>> ifconfig_vlan2=3D"192.168.1.51/24=C2=A0 vlan 2 vlandev igb1" >>> >>> is allowed.=C2=A0 Maybe a heads up in UPDATING ? >> That sounds like an outright bug. Looks like it was true in 14.0 as w= ell. >> Is there a bug report? I couldn't find one. > > I didnt open one. Wasnt sure if it the change was a deliberate one or o= n the wrong side of POLA. To me it feels unnecessary to have only one ord= er of params but I might be missing the rational behind it. Shall I open = a PR ? Yes, please. I looked into it yesterday; it looks accidental. I'll foll= ow up. Mike > >> btw, UPDATING is meant for upgrades from source. >> >> Mike >> From nobody Mon May 20 16:15:46 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VjjNP5gJXz5LZ0R for ; Mon, 20 May 2024 16:15:49 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smarthost1.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VjjNP3Mhjz4vPb for ; Mon, 20 May 2024 16:15:49 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; none Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.17.1/8.16.1) with ESMTPS id 44KGFnJ2020600 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Mon, 20 May 2024 12:15:49 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:d8d3:3285:e1a2:fe7e] ([IPv6:2607:f3e0:0:4:d8d3:3285:e1a2:fe7e]) by pyroxene2a.sentex.ca (8.18.1/8.15.2) with ESMTPS id 44KGFkqm077454 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 20 May 2024 12:15:48 -0400 (EDT) (envelope-from mike@sentex.net) Content-Type: multipart/alternative; boundary="------------QBK0cxE5Gr0an7Eihk8SQZe3" Message-ID: Date: Mon, 20 May 2024 12:15:46 -0400 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: networking in 14.1 release notes To: Mike Karels Cc: FreeBSD Net References: <7C2C0681-C1D1-404F-8B09-E65C29E366D3@karels.net> <7751A3C8-BAAA-4E67-9725-5A3A6A8793F1@karels.net> <54c5ee01-06fa-4073-8a06-a68f2f5cffcf@sentex.net> <05E86D91-8B06-4B48-ADAA-68FC1927DA36@karels.net> Content-Language: en-US From: mike tancsa Autocrypt: addr=mike@sentex.net; keydata= xsBNBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAHNHW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+wsCOBBMBCAA4FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAl+pQfkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQeVOEFl5W rMiN6ggAk3H5vk8QnbvGbb4sinxZt/wDetgk0AOR9NRmtTnPaW+sIJEfGBOz47Xih+f7uWJS j+uvc9Ewn2Z7n8z3ZHJlLAByLVLtcNXGoRIGJ27tevfOaNqgJHBPbFOcXCBBFTx4MYMM4iAZ cDT5vsBTSaM36JZFtHZBKkuFEItbA/N8ZQSHKdTYMIA7A3OCLGbJBqloQ8SlW4MkTzKX4u7R yefAYQ0h20x9IqC5Ju8IsYRFacVZconT16KS81IBceO42vXTN0VexbVF2rZIx3v/NT75r6Vw 0FlXVB1lXOHKydRA2NeleS4NEG2vWqy/9Boj0itMfNDlOhkrA/0DcCurMpnpbM7ATQRcsMzk AQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4axtKRSG1 t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1qzAJweEt RdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6cLm0EiHPO l5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5o9KKu4O7 gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQABwsB2BBgB CAAgFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAl+pQfkCGwwACgkQeVOEFl5WrMiVqwf9GwU8 c6cylknZX8QwlsVudTC8xr/L17JA84wf03k3d4wxP7bqy5AYy7jboZMbgWXngAE/HPQU95NM aukysSnknzoIpC96XZJ0okLBXVS6Y0ylZQ+HrbIhMpuQPoDweoF5F9wKrsHRoDaUK1VR706X rwm4HUzh7Jk+auuMYfuCh0FVlFBEuiJWMLhg/5WCmcRfiuB6F59ZcUQrwLEZeNhF2XJV4KwB Tlg7HCWO/sy1foE5noaMyACjAtAQE9p5kGYaj+DuRhPdWUTsHNuqrhikzIZd2rrcMid+ktb0 NvtvswzMO059z1YGMtGSqQ4srCArju+XHIdTFdiIYbd7+jeehg== In-Reply-To: <05E86D91-8B06-4B48-ADAA-68FC1927DA36@karels.net> X-Scanned-By: MIMEDefang 2.86 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA] X-Rspamd-Queue-Id: 4VjjNP3Mhjz4vPb This is a multi-part message in MIME format. --------------QBK0cxE5Gr0an7Eihk8SQZe3 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 5/20/2024 11:54 AM, Mike Karels wrote: > That sounds like an outright bug. Looks like it was true in 14.0 as well. >>> Is there a bug report? I couldn't find one. >> I didnt open one. Wasnt sure if it the change was a deliberate one or on the wrong side of POLA. To me it feels unnecessary to have only one order of params but I might be missing the rational behind it. Shall I open a PR ? > Yes, please. I looked into it yesterday; it looks accidental. I'll follow up. Thanks Mike!  PR opened https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279181     ---Mike --------------QBK0cxE5Gr0an7Eihk8SQZe3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 5/20/2024 11:54 AM, Mike Karels wrote:
That sounds like an outright bug. Looks like it was true in 14.0 as well.
Is there a bug report?  I couldn't find one.
I didnt open one. Wasnt sure if it the change was a deliberate one or on the wrong side of POLA. To me it feels unnecessary to have only one order of params but I might be missing the rational behind it. Shall I open a PR ?
Yes, please.  I looked into it yesterday; it looks accidental.  I'll follow up.

Thanks Mike!  PR opened https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279181

    ---Mike



    
--------------QBK0cxE5Gr0an7Eihk8SQZe3-- From nobody Tue May 21 19:50:35 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkQ5l6tYqz5M75m for ; Tue, 21 May 2024 19:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkQ5l3qw2z47cm for ; Tue, 21 May 2024 19:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716321035; a=rsa-sha256; cv=none; b=f/IlkbNqGRBtbjiWckYlRvESaA36kh02br6lCJ5xm2FYQPoI48oD1wzS3PAag4BjmdqLQh l5z3uPXul9RLuyWKJPLOCUYSC/ZrqOEPj6tH30nkuAzB4v718EiPBYQsZJpmuNK5jUajbI knnawfWlUcPVQbYckw/zgXdea3/fARu33iQUwO9v5uRlo/uXAXV3bvzTRKp3DaESlAeAQZ KsOqAUIjYGZwkYiip7QGtZ1oTxXYrRhNOMsGEMsTY0mhXEYVs/vcSv1/GOjzDDESKaH6y1 ii/07gRsvpMDEO/5l5HqQtBNPdcY/VM1U5/0KMw4g/MXjP3u8XYPZyNwtRK28g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716321035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/qTluvkzfDizWfZMUq/RMyan47rezmf8yB9msh0etxc=; b=JIv0PH/cViUcwosESaiOJ6e7+kS68k/47cViMUeu/paB+8RK3kAe+rfAIPeZnNhLDLB++t j4kBFnd7tEiZ1eTWbk1xUHKAxuHKApoyyz0Kn4Zju7+W0y0+IjS/ZAHNc1O17qYPnSZFgL mWNFwuXwyPkrDBSbgABEQdLwfR3HXEc//9BPJjjw5eNPktZB6TSiMLBcllf5nSU/4GWsMs ORDjDc37C8y1wAZ3K3nvcOkr3PniuoBOqGWdUohbS55oyTiPP1reuRqLvPunUDiiW4AHZM U22YdyMEgfmEKXOnKFqnJO7ulDu9bKn745dw81KGxy9CAwBG7SZLelWL8oVWzg== 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 4VkQ5l3RMrzZgR for ; Tue, 21 May 2024 19:50:35 +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 44LJoZbB003588 for ; Tue, 21 May 2024 19:50:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44LJoZ7K003561 for net@FreeBSD.org; Tue, 21 May 2024 19:50:35 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 230807] if_alc(4): Driver not working for Killer Networking E2200 Date: Tue, 21 May 2024 19:50:35 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230807 --- Comment #28 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D07f3a9eb1c35cab2d371895f9ed5bc33d= 27e1815 commit 07f3a9eb1c35cab2d371895f9ed5bc33d27e1815 Author: Lexi Winter AuthorDate: 2024-04-22 22:09:26 +0000 Commit: Warner Losh CommitDate: 2024-05-21 19:43:34 +0000 alc(4): disable MSI-X by default on Killer cards Several users with alc(4)-based "Killer" Ethernet cards have reported issues with this driver not passing traffic, which are solved by disabling MSI-X using the provided tunable. To work around this issue, disable MSI-X by default on this card. This is done by having msix_disable default to 2, which means "auto-detect". The user can still override this to either 0 or 1 as desired. Since these are slow (1Gbps) Ethernet ICs used in low-end systems, it's unlikely this will cause any practical performance issues; on the other hand, the card not working by default likely causes issues for many new FreeBSD users who find their network port doesn't work and have no idea why. PR: 230807 MFC after: 1 week Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1185 (cherry picked from commit 05a95d19cb248203acdd4e069d3eedfe597c3b49) share/man/man4/alc.4 | 6 +++++- sys/dev/alc/if_alc.c | 24 +++++++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Wed May 22 02:40:18 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkbBW0yD0z5LMsb for ; Wed, 22 May 2024 02:40: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 4VkbBV5Ztcz401T for ; Wed, 22 May 2024 02:40:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716345618; a=rsa-sha256; cv=none; b=TXRwBfcUwYzMFOkLWtvJoW6+uysww16mb8BnzhmQ/mYQM+mnP59FDco9QUYDme4GMmfOa8 TJwOErvo+V8D2xk28kn4UUjLh5OMmXlpA8T2nZkGtd4TX9lM+/Oz8USdxmcejC6UPqJD1H VC2/At/VKaEVEgV+BlMlGCNJd98chWeGJ8x1+NPbUk8x58FGlcf3O3bo91bN7IOKzbPprJ JP+tWRs7QoL9tuowVGHxUaMMtE659adGbIPv+qeEB+N6Yd2/3aOle8aTNyE0ezB3DEyEX3 wBLl4gKeA9snsuVNrWHpl3u0lExkryM4leExcYBztHXuoOebgy1RHLOeAvP2UQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716345618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z0S8c+0+rpTbhSmQVs3OP73LHL5jRvRTFXV/6VX0Y+g=; b=wF3QzZDixzj7VZP8kp3Wtj7PHUDP1reYoB6FlV5VNbXTIyI23t4qRRv+CYV56EwlH6NL5/ o0ATg23ClXJ2WliNqaPISTs0n/UMUJd3j0DjUL/0iuoW3t2eiggU7x2H4TsJoQN8LduJ2t 1mA+/TYvuUMNf/ceQ4NOwLwyUlcsHu18PKScRRB7Rm03359S3wPKs49UvjD+7UlBLSMUX2 OjseVrYwNrTKwVbK721L8cHp3stnkoIHoiYL3Ddml8gfZVxspNbhZpPT7z9nj64m8zYK6q xFipYlr9c5PVd5rWK8ZznP1ZoKNgmx54kqApW99zDk5KLb2D+3DY5sIiOdceLQ== 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 4VkbBV54TQznf0 for ; Wed, 22 May 2024 02:40: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 44M2eIpi089902 for ; Wed, 22 May 2024 02:40:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44M2eI2N089901 for net@FreeBSD.org; Wed, 22 May 2024 02:40: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 279208] filling up arp table with static entries leads to a crash Date: Wed, 22 May 2024 02:40: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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279208 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |crash --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed May 22 04:04:27 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vkd3d2Qwzz5LVYc for ; Wed, 22 May 2024 04:04:29 +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 4Vkd3d1NR1z4BJQ for ; Wed, 22 May 2024 04:04:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716350669; a=rsa-sha256; cv=none; b=noeF7ZheChJXd+j+ZWefWMJn/xcuL1zHYUaRFLxAumvqTdk4lfd6e/5GELvwu6K96VsfqU jfaGG+8cTr4zIQme6+Xz/rcxgE5EiEpFM9+R8UOnYJuDUSjfROAiWH+URe1o1dkSNjq/I6 8xN4oFHp2NZ84NvMcFXeNjMsEKGpbzYW2/Si2eKBT0I+1mGoPU/jNn5DeQbVsEwsHsLmwn NLo/DGMKgxzp/FbcXt/5GwFyLlbOt8VrtBDJby5ggMb3/7w9P+97ON1YqJeVN/2fDROfTF 0nC0mPpLCPhHM8v4rikIy5SSnKPG3d0oEkzWBr4PFS0CPjGD3vvxjAQRj3JUFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716350669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hNif8A89WcDrxvWJX5tO1t0jl0goBiMuUekMkdhKsvA=; b=InXJrmZh/eSzTUSy1akwWOOf2YYHHoFuZoQVWHJRk+lclk4IdqJ+eFN374hJ0tgRyy/mMC 5rdATV1qEHmbn/TWHHnTm5QqEvqrEoFxKzyil3H5toiUHo797cDFUsEouTaY320pJIC1c+ YNT0SI1Pc4un43fbLBYUE6yeODYBxZok7Ke18qwWIVPsOHXJCI2SmeoXjkOFCcTDXXjla1 mehr2IUBXAhQP7jq561EuubES0uBFqAMjkac9R5i5BxxQSYMj08rYJkdXIWRQQXXJc6Bo7 /JWfgXIHL6RFOGydx07L4+QG6eXcpusRiEChWuzHbjiR29pK45ALc+6t1LF1Fg== 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 4Vkd3d0r5Lzqwg for ; Wed, 22 May 2024 04:04:29 +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 44M44TL8010404 for ; Wed, 22 May 2024 04:04:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44M44T0V010403 for net@FreeBSD.org; Wed, 22 May 2024 04:04:29 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 279208] filling up arp table with static entries leads to a crash Date: Wed, 22 May 2024 04:04: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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279208 Marek Zarychta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarychtam@plan-b.pwste.edu. | |pl --- Comment #1 from Marek Zarychta --- Please see also bug 277063. Perhaps it has already been fixed[1]. Could you test if the panics are reproducible on 14.1-BETA3 ? 1. https://cgit.freebsd.org/src/commit/?id=3D1e74fc950419f2b2482d313fc664cc03a= a46f13c --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed May 22 04:17:41 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkdM75170z5LWdb for ; Wed, 22 May 2024 04:17:55 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkdM600PDz4D4P for ; Wed, 22 May 2024 04:17:53 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 026338D4A126 for ; Wed, 22 May 2024 04:17:44 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id E33BE2D029D8 for ; Wed, 22 May 2024 04:17:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id sM4cy8i4xWKt for ; Wed, 22 May 2024 04:17:41 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id C197B2D029D2 for ; Wed, 22 May 2024 04:17:41 +0000 (UTC) Date: Wed, 22 May 2024 04:17:41 +0000 (UTC) From: "Bjoern A. Zeeb" To: freebsd-net@freebsd.org Subject: ifp gone in ip6_output() -> panic Message-ID: <1p003r05-684o-8542-r153-n850s3sspnp3@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[zabbadoz.net]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4VkdM600PDz4D4P Hi, sorry, I cannot dump; this is a diskless and netdump does not do IPv6; needless to say that would be funny in this case anyway; unfortunately I have also already re-compiled the kernel so I can only look things up approx. FreeBSD main from May 13 (f3eeeb959c9b00c89a2e1ff009c78162eb398656). I assume we lost the ifp from a destroy of a cloned interface in ip6_output() between lines 806 and 811? Kernel page fault with the following non-sleepable locks held: exclusive rw rawinp (rawinp) r = 0 (0xfffff80002a6e1a0) locked @ /usr/src/sys/netinet6/raw_ip6.c:393 stack backtrace: #0 0xffffffff80bb679c at witness_debugger+0x6c #1 0xffffffff80bb7979 at witness_warn+0x3e9 #2 0xffffffff81061d10 at trap_pfault+0x80 #3 0xffffffff81033878 at calltrap+0x8 #4 0xffffffff80d99228 at rip6_send+0x5a8 #5 0xffffffff80bf570e at sosend_generic+0x5ee #6 0xffffffff80bf5c49 at sousrsend+0x79 #7 0xffffffff80bfbd5c at kern_sendit+0x1bc #8 0xffffffff80bfc073 at sendit+0x1b3 #9 0xffffffff80bfc1ab at sys_sendmsg+0x5b #10 0xffffffff81062638 at amd64_syscall+0x158 #11 0xffffffff8103418b at fast_syscall_common+0xf8 Created wlan(4) interfaces: wlan Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x0 30. fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80d821bd stack pointer = 0x28:0xfffffe00468ba850 frame pointer = 0x28:0xfffffe00468baa00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1073 (ping6) rdi: ffffffff81be2c00 rsi: fffffe00468ba884 rdx: 00000000030002ff rcx: 0000000000001c1c r8: 0000000000000028 r9: 0000000000000003 rax: 0000000000000000 rbx: 0000000000000000 rbp: fffffe00468baa00 r10: 000000000000aa01 r11: 00000000000000ff r12: fffff800017d3000 r13: fffff8000286df20 r14: 0000000000000000 r15: fffff80001f1059c trap number = 12 panic: page fault cpuid = 2 time = 1716352160 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00468ba520 vpanic() at vpanic+0x13f/frame 0xfffffe00468ba650 panic() at panic+0x43/frame 0xfffffe00468ba6b0 trap_fatal() at trap_fatal+0x40b/frame 0xfffffe00468ba710 trap_pfault() at trap_pfault+0xa0/frame 0xfffffe00468ba780 calltrap() at calltrap+0x8/frame 0xfffffe00468ba780 --- trap 0xc, rip = 0xffffffff80d821bd, rsp = 0xfffffe00468ba850, rbp = 0xfffffe00468baa00 --- ip6_output() at ip6_output+0xb5d/frame 0xfffffe00468baa00 rip6_send() at rip6_send+0x5a8/frame 0xfffffe00468babb0 sosend_generic() at sosend_generic+0x5ee/frame 0xfffffe00468bac60 sousrsend() at sousrsend+0x79/frame 0xfffffe00468bacc0 kern_sendit() at kern_sendit+0x1bc/frame 0xfffffe00468bad50 sendit() at sendit+0x1b3/frame 0xfffffe00468bada0 sys_sendmsg() at sys_sendmsg+0x5b/frame 0xfffffe00468bae00 amd64_syscall() at amd64_syscall+0x158/frame 0xfffffe00468baf30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00468baf30 --- syscall (28, FreeBSD ELF64, sendmsg), rip = 0x2959dfacc85a, rsp = 0x2959dae92668, rbp = 0x2959dae926c0 --- KDB: enter: panic [ thread pid 1073 tid 100157 ] Stopped at kdb_enter+0x33: movq $0,0x10544e2(%rip) (lldb) image lookup -v --address rip6_send+0x5a8 Address: kernel.full[0xffffffff80d99228] (kernel.full.PT_LOAD[1]..text + 10572328) Summary: kernel.full`rip6_send + 1448 at raw_ip6.c:533:10 Module: file = "/usr/obj/usr/src/amd64.amd64/sys/GENERIC/kernel.full", arch = "x86_64" CompileUnit: id = {0x000005ba}, file = "/usr/src/sys/netinet6/raw_ip6.c", language = "c99" Function: id = {0x023e5ddd}, name = "rip6_send", range = [0xffffffff80d98c80-0xffffffff80d9973d) FuncType: id = {0x023e5ddd}, byte-size = 0, decl = raw_ip6.c:338, compiler_type = "int (struct socket *, int, struct mbuf *, struct sockaddr *, struct mbuf *, struct thread *)" Blocks: id = {0x023e5ddd}, range = [0xffffffff80d98c80-0xffffffff80d9973d) LineEntry: [0xffffffff80d99211-0xffffffff80d9922a): /usr/src/sys/netinet6/raw_ip6.c:533:10 Symbol: id = {0x0000840a}, range = [0xffffffff80d98c80-0xffffffff80d9973d), name="rip6_send" Variable: id = {0x023e5df7}, name = "so", type = "socket *", valid ranges = , location = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 RBP-168, decl = raw_ip6.c:338 Variable: id = {0x023e5e07}, name = "flags", type = "int", valid ranges = , location = , decl = raw_ip6.c:338 Variable: id = {0x023e5e13}, name = "m", type = "mbuf *", valid ranges = , location = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_reg12 R12, decl = raw_ip6.c:338 Variable: id = {0x023e5e23}, name = "nam", type = "sockaddr *", valid ranges = , location = [0xffffffff80d98e48, 0xffffffff80d99398) -> DW_OP_GNU_entry_value(DW_OP_reg2 RCX), DW_OP_stack_value, decl = raw_ip6.c:338 Variable: id = {0x023e5e33}, name = "control", type = "mbuf *", valid ranges = , location = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 RBP-48, decl = raw_ip6.c:339 Variable: id = {0x023e5e43}, name = "td", type = "thread *", valid ranges = , location = , decl = raw_ip6.c:339 Variable: id = {0x023e5e4f}, name = "et", type = "epoch_tracker", valid ranges = , location = DW_OP_fbreg -200, decl = raw_ip6.c:341 Variable: id = {0x023e5e5f}, name = "opt", type = "ip6_pktopts", valid ranges = , location = DW_OP_fbreg -408, decl = raw_ip6.c:347 Variable: id = {0x023e5e6f}, name = "oifp", type = "ifnet *", valid ranges = , location = DW_OP_fbreg -56, decl = raw_ip6.c:348 Variable: id = {0x023e5e7e}, name = "hlim", type = "int", valid ranges = , location = DW_OP_fbreg -80, decl = raw_ip6.c:353 Variable: id = {0x023e5e8e}, name = "in6a", type = "in6_addr", valid ranges = , location = DW_OP_fbreg -120, decl = raw_ip6.c:354 Variable: id = {0x023e5ebe}, name = "type", type = "int", valid ranges = , location = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 RBP-72, decl = raw_ip6.c:350 Variable: id = {0x023e5ece}, name = "code", type = "int", valid ranges = , location = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 RBP-76, decl = raw_ip6.c:350 Variable: id = {0x023e5ede}, name = "scope_ambiguous", type = "int", valid ranges = , location = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 RBP-92, decl = raw_ip6.c:351 Variable: id = {0x023e5efe}, name = "inp", type = "inpcb *", valid ranges = , location = [0xffffffff80d98cb4, 0xffffffff80d9973d) -> DW_OP_breg6 RBP-64, decl = raw_ip6.c:342 Variable: id = {0x023e5f0e}, name = "error", type = "int", valid ranges = , location = [0xffffffff80d991a9, 0xffffffff80d9922a) -> DW_OP_consts +0, DW_OP_stack_value, decl = raw_ip6.c:349 Variable: id = {0x023e5f2e}, name = "optp", type = "ip6_pktopts *", valid ranges = , location = [0xffffffff80d99183, 0xffffffff80d9922a) -> DW_OP_reg3 RBX, decl = raw_ip6.c:347 Variable: id = {0x023e5f3e}, name = "ip6", type = "ip6_hdr *", valid ranges = , location = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 RBP-160, decl = raw_ip6.c:345 532 NET_EPOCH_ENTER(et); 533 error = ip6_output(m, optp, NULL, 0, inp->in6p_moptions, &oifp, inp); 534 NET_EPOCH_EXIT(et); (lldb) image lookup -v --address ip6_output+0xb5d Address: kernel.full[0xffffffff80d821bd] (kernel.full.PT_LOAD[1]..text + 10478013) Summary: kernel.full`ip6_output + 2909 at ip6_output.c:811:3 Module: file = "/usr/obj/usr/src/amd64.amd64/sys/GENERIC/kernel.full", arch = "x86_64" CompileUnit: id = {0x000005b5}, file = "/usr/src/sys/netinet6/ip6_output.c", language = "c99" Function: id = {0x023ab5ce}, name = "ip6_output", range = [0xffffffff80d81660-0xffffffff80d838c4) FuncType: id = {0x023ab5ce}, byte-size = 0, decl = ip6_output.c:403, compiler_type = "int (struct mbuf *, struct ip6_pktopts *, struct route_in6 *, int, struct ip6_moptions *, struct ifnet **, struct inpcb *)" Blocks: id = {0x023ab5ce}, range = [0xffffffff80d81660-0xffffffff80d838c4) LineEntry: [0xffffffff80d821b6-0xffffffff80d821c4): /usr/src/sys/netinet6/ip6_output.c:811:3 Symbol: id = {0x000101b9}, range = [0xffffffff80d81660-0xffffffff80d838c4), name="ip6_output" Variable: id = {0x023ab5e8}, name = "m0", type = "mbuf *", valid ranges = , location = [0xffffffff80d819c2, 0xffffffff80d82a26) -> DW_OP_GNU_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl = ip6_output.c:403 Variable: id = {0x023ab5f8}, name = "opt", type = "ip6_pktopts *", valid ranges = , location = [0xffffffff80d8168e, 0xffffffff80d838c4) -> DW_OP_breg6 RBP-184, decl = ip6_output.c:403 Variable: id = {0x023ab608}, name = "ro", type = "route_in6 *", valid ranges = , location = [0xffffffff80d81a3b, 0xffffffff80d824c0) -> DW_OP_reg3 RBX, decl = ip6_output.c:404 Variable: id = {0x023ab618}, name = "flags", type = "int", valid ranges = , location = [0xffffffff80d81684, 0xffffffff80d838c4) -> DW_OP_breg6 RBP-152, decl = ip6_output.c:404 Variable: id = {0x023ab628}, name = "im6o", type = "ip6_moptions *", valid ranges = , location = [0xffffffff80d816b7, 0xffffffff80d83032) -> DW_OP_breg6 RBP-352, decl = ip6_output.c:404 Variable: id = {0x023ab638}, name = "ifpp", type = "ifnet **", valid ranges = , location = [0xffffffff80d8167b, 0xffffffff80d838c4) -> DW_OP_breg6 RBP-304, decl = ip6_output.c:405 Variable: id = {0x023ab648}, name = "inp", type = "inpcb *", valid ranges = , location = DW_OP_fbreg +16, decl = ip6_output.c:405 Variable: id = {0x023ab657}, name = "m", type = "mbuf *", valid ranges = , location = DW_OP_fbreg -48, decl = ip6_output.c:409 Variable: id = {0x023ab666}, name = "sin6", type = "sockaddr_in6", valid ranges = , location = DW_OP_fbreg -380, decl = ip6_output.c:413 Variable: id = {0x023ab676}, name = "src_sa", type = "sockaddr_in6", valid ranges = , location = DW_OP_fbreg -336, decl = ip6_output.c:413 Variable: id = {0x023ab686}, name = "dst_sa", type = "sockaddr_in6", valid ranges = , location = DW_OP_fbreg -128, decl = ip6_output.c:413 Variable: id = {0x023ab696}, name = "odst", type = "in6_addr", valid ranges = , location = DW_OP_fbreg -432, decl = ip6_output.c:414 Variable: id = {0x023ab6a6}, name = "alwaysfrag", type = "int", valid ranges = , location = DW_OP_fbreg -192, decl = ip6_output.c:421 Variable: id = {0x023ab6b6}, name = "exthdrs", type = "ip6_exthdrs", valid ranges = , location = DW_OP_fbreg -248, decl = ip6_output.c:423 Variable: id = {0x023ab6c6}, name = "src0", type = "in6_addr", valid ranges = , location = DW_OP_fbreg -416, decl = ip6_output.c:424 Variable: id = {0x023ab6d6}, name = "dst0", type = "in6_addr", valid ranges = , location = DW_OP_fbreg -400, decl = ip6_output.c:424 Variable: id = {0x023ab6e6}, name = "zone", type = "u_int32_t", valid ranges = , location = DW_OP_fbreg -188, decl = ip6_output.c:425 Variable: id = {0x023ab726}, name = "error", type = "int", valid ranges = , location = [0xffffffff80d8214f, 0xffffffff80d8251a) -> DW_OP_consts +0, DW_OP_stack_value, decl = ip6_output.c:417 Variable: id = {0x023ab736}, name = "vlan_pcp", type = "int", valid ranges = , location = [0xffffffff80d819c2, 0xffffffff80d82a18) -> DW_OP_breg6 RBP-96, decl = ip6_output.c:418 Variable: id = {0x023ab746}, name = "ia", type = "in6_ifaddr *", valid ranges = , location = [0xffffffff80d82187, 0xffffffff80d82a18) -> DW_OP_breg6 RBP-264, decl = ip6_output.c:419 Variable: id = {0x023ab776}, name = "ip6", type = "ip6_hdr *", valid ranges = , location = [0xffffffff80d81e29, 0xffffffff80d82665) -> DW_OP_breg6 RBP-168, decl = ip6_output.c:407 Variable: id = {0x023ab7c6}, name = "nexthdrp", type = "u_char *", valid ranges = , location = [0xffffffff80d81a4f, 0xffffffff80d82a18) -> DW_OP_breg6 RBP-136, decl = ip6_output.c:415 Variable: id = {0x023ab7d6}, name = "ro_pmtu", type = "route_in6 *", valid ranges = , location = [0xffffffff80d81ab4, 0xffffffff80d824c0) -> DW_OP_reg3 RBX, decl = ip6_output.c:411 Variable: id = {0x023ab7e6}, name = "dst", type = "sockaddr_in6 *", valid ranges = , location = [0xffffffff80d81b39, 0xffffffff80d82466) -> DW_OP_breg6 RBP-88, decl = ip6_output.c:413 Variable: id = {0x023ab7f6}, name = "fibnum", type = "uint32_t", valid ranges = , location = [0xffffffff80d81b26, 0xffffffff80d827e3) -> DW_OP_breg6 RBP-72, decl = ip6_output.c:429 Variable: id = {0x023ab806}, name = "origifp", type = "ifnet *", valid ranges = , location = [0xffffffff80d8218b, 0xffffffff80d824ae) -> DW_OP_reg12 R12, decl = ip6_output.c:408 Variable: id = {0x023ab876}, name = "tlen", type = "int", valid ranges = , location = , decl = ip6_output.c:416 Variable: id = {0x023ab882}, name = "dontfrag", type = "int", valid ranges = , location = , decl = ip6_output.c:421 806 KASSERT((ifp != NULL), ("output interface must not be NULL")); 807 KASSERT((origifp != NULL), ("output address interface must not be NULL")); 808 809 if ((flags & IPV6_FORWARDING) == 0) { 810 /* XXX: the FORWARDING flag can be set for mrouting. */ 811 in6_ifstat_inc(ifp, ifs6_out_request); 812 } 813 814 /* Setup data structures for scope ID checks. */ -- Bjoern A. Zeeb r15:7 From nobody Wed May 22 08:16:16 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vkkf86yGlz5LBpG for ; Wed, 22 May 2024 08:16: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 4Vkkf85xhMz4gBb for ; Wed, 22 May 2024 08:16:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716365776; a=rsa-sha256; cv=none; b=jB4ZPmYxLD3uYMWHja8mvCKnteP0ScICU0T5VKHcQvJoG93UHnE4w+882P0jv+DF9OfySy 8wWfULAIEMMZOQg1rJ4BWsPaCXxRiQkSoD3HHgD11oHNKs4FJCtI7yd0Gguh82lU3BsSrq tbcaDtvIuX6PEBpbvOz5cnjg/FoZTUEajjOJMOum5UiDApGWBevG+ki+ymLoVJLxa4/qfM +mBs4WCWTQTEs+FnK9X799yEmCINMOtWLvTzFrQ14q9LUA3pMQ1Z8VcX7igw8kHfTiES0/ JHbMVNXtsVCKLyJvSn3pUrGaHNlZyXdOp5bKIEqt40YKYf+1UGxPdtOILQIg1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716365776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XcOdOFteTxPb2RXoOCrumhGOKHE3BOwQn+TFmsjOW3A=; b=qCiipLKe1C95ceL7UVVE5wCUsCEZA0G4myKe3uMlstbSumJc/syj8HZJRGi1KPCz5haHqM piIH10Y5oea/rakW80aEofigUT9eaf/BbSDJfId4oOACav+obI1Hz/XTk1TzmyZeffh4IX LWpptwK2p52CckylhKDuN97+SqKnTPfUnG2DMNMNdk+Z0xYhFcDZC+9HfxcVx3cBiWdjBj jDFksUcR9R7DXyhC9CNJuKp1sYbL9niSGV1Xsz6E4ILG9wjEnh14rkyiT76G2Tn5LtCcy6 2QbUfy4AvQypHrRfTOFj8q3KaFQWSnQXm6j2eckVArveI8YDqPYGZ1nRCOGxRA== 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 4Vkkf85RXXzxYj for ; Wed, 22 May 2024 08:16: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 44M8GGD0017604 for ; Wed, 22 May 2024 08:16:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44M8GGtN017603 for net@FreeBSD.org; Wed, 22 May 2024 08:16: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 279208] filling up arp table with static entries leads to a crash Date: Wed, 22 May 2024 08:16:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: martin@bxlr.sk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279208 --- Comment #2 from martin --- Thanks for the link. On releng/14.1-n267636-2a964a7fc34e I was not able to replicate the issue, system is stable. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed May 22 08:17:24 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkkgS5Xrqz5LBtn for ; Wed, 22 May 2024 08:17:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkkgS3MZJz4gmL for ; Wed, 22 May 2024 08:17:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716365844; a=rsa-sha256; cv=none; b=PfmMaA/OScJYUcrfp7m2Nn39wRQyT7JYua0kPhJPPBonk1BwOJLIQU0k7wOLLofT4UWQc9 jpdxaetUXKoY5eCam70JVlXhrNg+f0m2V1pkQUs8mQAiKTehqeOwt7ByMgYxWvUcca+Hq5 aeCVI3nkyFVJ5JZOISVIR4661fdPD/KrRmL3dJ42dW/QT1xePhyRJsIgP0Vy6eT03JSdTz V/ByucES5W7T7+A9b5pV8je1sYR5S2/ZLKEXHiL4QUl9rNXMG85/xRbmogAxgO5We01jgL bTjXpS2hC9AmrehXV0q3R2U3OxKfJg/qFGiSqZoBnyTyFiumnkmt9IdR6sjYMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716365844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qO8X2BVyDy9B4701b7wke8JwkQ6AqZ/TjKCWmM5wsd0=; b=J1ewFSfy7lBNbL8CFYNckF8hHoFAe1EEJuH2Kr3LaMhYM6ie4rPI+gFa8gyBVSP82d4u6m EdRCAGDpRmo05oqX7ry4FmTK+A0HdDks+3mm9vDH+vV4RoAbniFPI8MsZ9UoXpo1GD+Yac N0GKlhdJAQ2++njcckqb0L6fuhwl/PhclQYdTSV/VfuunLtkKa5oIBdor0Obqpa79CphzL bsobLaDtacETRdNbehMU3crJ8OMnfd4giT9AZBzgEJRffU1dTdPQXf1TMcM+DSN/DD5GYM pjPbFMlKN3g16weGvcyXw0z1Pc3qc0fl9ab1Mq7lO+046ghqQNk+mA397F6/7Q== 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 4VkkgS30NSzxnk for ; Wed, 22 May 2024 08:17:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44M8HOi8020817 for ; Wed, 22 May 2024 08:17:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44M8HOq9020816 for net@FreeBSD.org; Wed, 22 May 2024 08:17:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 279208] filling up arp table with static entries leads to a crash Date: Wed, 22 May 2024 08:17:24 +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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: martin@bxlr.sk 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279208 martin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed May 22 10:06:19 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vkn5G2QpJz5LNmR for ; Wed, 22 May 2024 10:06:26 +0000 (UTC) (envelope-from zlei@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 4Vkn5G1w8jz4vSS; Wed, 22 May 2024 10:06:26 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716372386; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7FslKhnPZyjp/5omujOS9WMYXI4fxUMn2INZiwsOTOc=; b=NXTE/a0wMkZGkvfbQI1C/SwgkGZi2/brM9RNPbYtBSrf9MaAlmLI2C+iMCsXqeQWzpjBly NVX+nX3eSxZNJPC2FZSX5tqwB1+KR+WPqi6hKAmU63BDach9cG2mrZbDqQ3IpXv1jJseiX ru6mT9QrOc8N0OT8DY791TzaO7QF0Ird4UGvveOYy3aNcDJvPwf6WaHohIzjY/DW+YMRB+ VMGP03/a91VwsAOP5+KCEYnhKHxTwtNUur0R6JvIKDSGuG2V+nKidwICBhh3deuC0p8aQx UNCAIinjd2cVmSRLe3noeNImkCALJxr3rAMP3+SyaUnyueh4xGYcDrMc3RQK3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716372386; a=rsa-sha256; cv=none; b=Kfv4tR2PUX1o3E2+k+xL63Nd+NPHnaguUFZeTshyTj9ykIjeLklK2RckEBvL9mr9S4dgfB CA5hfnT8MLahECMhc55bGm7GnTdh9mic49/8QRLsiG/YuaP8cyhYTMz71X+iO06nQQ/PMc /arv5jymhBlNIQ1v6GvTtAEVd0sKyH/pDKop6mRpB2BwFeZQE3KEphyNOZWVyUisdzehVM LlT0QfeBfxTs6FP5tk4utDtMiXyIg+mafa+837Ya7NGe8uGVm6iKlwwTZO0Ir+lnHjFmFW im18P7THHsRI73e/cjhtvDUxJuNn2v3Yiahc2n7WUTssxX+Y6DD7BByOzOE8Rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716372386; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7FslKhnPZyjp/5omujOS9WMYXI4fxUMn2INZiwsOTOc=; b=Yqbq5QZTcMGyhBkvdTs4ZHWOET+ca6W/VXMjtYuIR9iMg3WppT5DnMZM8xfxD+/4UV2H/R x3q6JC+O/5yPjvp7FgW7wHEYh+oHF1HCXDMdbEtAhtGZeDhDpHjpI1NPn85hzUqnMvVaFG 0+LzXC2EQ9kG3+Px5WidWurkEFLKam6OQS4pX32OAKV8iBFS2mkENONMZQrhr3TKzlWnDE CU2deapeGtv1/uJW1utnm8NgJtWx7le1NVIkTGMzdiMthDOh1HFflG9V3Yk9mXaSEcQjjU A1udQvjZvUcwVsKWaFMS4YpXgYfz93dE4WGqvPjSlocOQloTOrBpkmH1vKpAEA== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Vkn5D6fbCzf2m; Wed, 22 May 2024 10:06:24 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_0715C355-6B28-4360-86DE-DF9D867C1F8C" List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\)) Subject: Re: ifp gone in ip6_output() -> panic Date: Wed, 22 May 2024 18:06:19 +0800 In-Reply-To: <1p003r05-684o-8542-r153-n850s3sspnp3@yvfgf.mnoonqbm.arg> Cc: freebsd-net@freebsd.org To: "Bjoern A. Zeeb" References: <1p003r05-684o-8542-r153-n850s3sspnp3@yvfgf.mnoonqbm.arg> X-Mailer: Apple Mail (2.3696.120.41.1.8) --Apple-Mail=_0715C355-6B28-4360-86DE-DF9D867C1F8C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On May 22, 2024, at 12:17 PM, Bjoern A. Zeeb = wrote: >=20 > Hi, >=20 > sorry, I cannot dump; this is a diskless and netdump does not do IPv6; > needless to say that would be funny in this case anyway; unfortunately > I have also already re-compiled the kernel so I can only look things = up approx. >=20 > FreeBSD main from May 13 (f3eeeb959c9b00c89a2e1ff009c78162eb398656). >=20 > I assume we lost the ifp from a destroy of a cloned interface in = ip6_output() > between lines 806 and 811? >=20 >=20 > Kernel page fault with the following non-sleepable locks held: > exclusive rw rawinp (rawinp) r =3D 0 (0xfffff80002a6e1a0) locked @ = /usr/src/sys/netinet6/raw_ip6.c:393 > stack backtrace: > #0 0xffffffff80bb679c at witness_debugger+0x6c > #1 0xffffffff80bb7979 at witness_warn+0x3e9 > #2 0xffffffff81061d10 at trap_pfault+0x80 > #3 0xffffffff81033878 at calltrap+0x8 > #4 0xffffffff80d99228 at rip6_send+0x5a8 > #5 0xffffffff80bf570e at sosend_generic+0x5ee > #6 0xffffffff80bf5c49 at sousrsend+0x79 > #7 0xffffffff80bfbd5c at kern_sendit+0x1bc > #8 0xffffffff80bfc073 at sendit+0x1b3 > #9 0xffffffff80bfc1ab at sys_sendmsg+0x5b > #10 0xffffffff81062638 at amd64_syscall+0x158 > #11 0xffffffff8103418b at fast_syscall_common+0xf8 > Created wlan(4) interfaces: wlan Note the creation of wlan, and a following ICMP6 (ping6) packet. > Fatal trap 12: page fault while in kernel mode > cpuid =3D 2; apic id =3D 02 > fault virtual address =3D 0x0 > 30. > fault code =3D supervisor read data, page not present > instruction pointer =3D 0x20:0xffffffff80d821bd > stack pointer =3D 0x28:0xfffffe00468ba850 > frame pointer =3D 0x28:0xfffffe00468baa00 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 1073 (ping6) > rdi: ffffffff81be2c00 rsi: fffffe00468ba884 rdx: 00000000030002ff > rcx: 0000000000001c1c r8: 0000000000000028 r9: 0000000000000003 > rax: 0000000000000000 rbx: 0000000000000000 rbp: fffffe00468baa00 > r10: 000000000000aa01 r11: 00000000000000ff r12: fffff800017d3000 > r13: fffff8000286df20 r14: 0000000000000000 r15: fffff80001f1059c > trap number =3D 12 > panic: page fault > cpuid =3D 2 > time =3D 1716352160 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xfffffe00468ba520 > vpanic() at vpanic+0x13f/frame 0xfffffe00468ba650 > panic() at panic+0x43/frame 0xfffffe00468ba6b0 > trap_fatal() at trap_fatal+0x40b/frame 0xfffffe00468ba710 > trap_pfault() at trap_pfault+0xa0/frame 0xfffffe00468ba780 > calltrap() at calltrap+0x8/frame 0xfffffe00468ba780 > --- trap 0xc, rip =3D 0xffffffff80d821bd, rsp =3D 0xfffffe00468ba850, = rbp =3D 0xfffffe00468baa00 --- > ip6_output() at ip6_output+0xb5d/frame 0xfffffe00468baa00 > rip6_send() at rip6_send+0x5a8/frame 0xfffffe00468babb0 > sosend_generic() at sosend_generic+0x5ee/frame 0xfffffe00468bac60 > sousrsend() at sousrsend+0x79/frame 0xfffffe00468bacc0 > kern_sendit() at kern_sendit+0x1bc/frame 0xfffffe00468bad50 > sendit() at sendit+0x1b3/frame 0xfffffe00468bada0 > sys_sendmsg() at sys_sendmsg+0x5b/frame 0xfffffe00468bae00 > amd64_syscall() at amd64_syscall+0x158/frame 0xfffffe00468baf30 > fast_syscall_common() at fast_syscall_common+0xf8/frame = 0xfffffe00468baf30 > --- syscall (28, FreeBSD ELF64, sendmsg), rip =3D 0x2959dfacc85a, rsp = =3D 0x2959dae92668, rbp =3D 0x2959dae926c0 --- > KDB: enter: panic > [ thread pid 1073 tid 100157 ] > Stopped at kdb_enter+0x33: movq $0,0x10544e2(%rip) >=20 >=20 > (lldb) image lookup -v --address rip6_send+0x5a8 > Address: kernel.full[0xffffffff80d99228] = (kernel.full.PT_LOAD[1]..text + 10572328) > Summary: kernel.full`rip6_send + 1448 at raw_ip6.c:533:10 > Module: file =3D = "/usr/obj/usr/src/amd64.amd64/sys/GENERIC/kernel.full", arch =3D = "x86_64" > CompileUnit: id =3D {0x000005ba}, file =3D = "/usr/src/sys/netinet6/raw_ip6.c", language =3D "c99" > Function: id =3D {0x023e5ddd}, name =3D "rip6_send", range =3D = [0xffffffff80d98c80-0xffffffff80d9973d) > FuncType: id =3D {0x023e5ddd}, byte-size =3D 0, decl =3D = raw_ip6.c:338, compiler_type =3D "int (struct socket *, int, struct mbuf = *, struct sockaddr *, struct mbuf *, struct thread *)" > Blocks: id =3D {0x023e5ddd}, range =3D = [0xffffffff80d98c80-0xffffffff80d9973d) > LineEntry: [0xffffffff80d99211-0xffffffff80d9922a): = /usr/src/sys/netinet6/raw_ip6.c:533:10 > Symbol: id =3D {0x0000840a}, range =3D = [0xffffffff80d98c80-0xffffffff80d9973d), name=3D"rip6_send" > Variable: id =3D {0x023e5df7}, name =3D "so", type =3D "socket *", = valid ranges =3D , location =3D [0xffffffff80d990c0, = 0xffffffff80d99398) -> DW_OP_breg6 RBP-168, decl =3D raw_ip6.c:338 > Variable: id =3D {0x023e5e07}, name =3D "flags", type =3D "int", = valid ranges =3D , location =3D , decl =3D raw_ip6.c:338 > Variable: id =3D {0x023e5e13}, name =3D "m", type =3D "mbuf *", = valid ranges =3D , location =3D [0xffffffff80d990c0, = 0xffffffff80d99398) -> DW_OP_reg12 R12, decl =3D raw_ip6.c:338 > Variable: id =3D {0x023e5e23}, name =3D "nam", type =3D "sockaddr = *", valid ranges =3D , location =3D [0xffffffff80d98e48, = 0xffffffff80d99398) -> DW_OP_GNU_entry_value(DW_OP_reg2 RCX), = DW_OP_stack_value, decl =3D raw_ip6.c:338 > Variable: id =3D {0x023e5e33}, name =3D "control", type =3D "mbuf = *", valid ranges =3D , location =3D [0xffffffff80d990c0, = 0xffffffff80d99398) -> DW_OP_breg6 RBP-48, decl =3D raw_ip6.c:339 > Variable: id =3D {0x023e5e43}, name =3D "td", type =3D "thread *", = valid ranges =3D , location =3D , decl =3D raw_ip6.c:339 > Variable: id =3D {0x023e5e4f}, name =3D "et", type =3D = "epoch_tracker", valid ranges =3D , location =3D DW_OP_fbreg = -200, decl =3D raw_ip6.c:341 > Variable: id =3D {0x023e5e5f}, name =3D "opt", type =3D = "ip6_pktopts", valid ranges =3D , location =3D DW_OP_fbreg -408, = decl =3D raw_ip6.c:347 > Variable: id =3D {0x023e5e6f}, name =3D "oifp", type =3D "ifnet = *", valid ranges =3D , location =3D DW_OP_fbreg -56, decl =3D = raw_ip6.c:348 > Variable: id =3D {0x023e5e7e}, name =3D "hlim", type =3D "int", = valid ranges =3D , location =3D DW_OP_fbreg -80, decl =3D = raw_ip6.c:353 > Variable: id =3D {0x023e5e8e}, name =3D "in6a", type =3D = "in6_addr", valid ranges =3D , location =3D DW_OP_fbreg -120, = decl =3D raw_ip6.c:354 > Variable: id =3D {0x023e5ebe}, name =3D "type", type =3D "int", = valid ranges =3D , location =3D [0xffffffff80d990c0, = 0xffffffff80d99398) -> DW_OP_breg6 RBP-72, decl =3D raw_ip6.c:350 > Variable: id =3D {0x023e5ece}, name =3D "code", type =3D "int", = valid ranges =3D , location =3D [0xffffffff80d990c0, = 0xffffffff80d99398) -> DW_OP_breg6 RBP-76, decl =3D raw_ip6.c:350 > Variable: id =3D {0x023e5ede}, name =3D "scope_ambiguous", type =3D = "int", valid ranges =3D , location =3D [0xffffffff80d990c0, = 0xffffffff80d99398) -> DW_OP_breg6 RBP-92, decl =3D raw_ip6.c:351 > Variable: id =3D {0x023e5efe}, name =3D "inp", type =3D "inpcb *", = valid ranges =3D , location =3D [0xffffffff80d98cb4, = 0xffffffff80d9973d) -> DW_OP_breg6 RBP-64, decl =3D raw_ip6.c:342 > Variable: id =3D {0x023e5f0e}, name =3D "error", type =3D "int", = valid ranges =3D , location =3D [0xffffffff80d991a9, = 0xffffffff80d9922a) -> DW_OP_consts +0, DW_OP_stack_value, decl =3D = raw_ip6.c:349 > Variable: id =3D {0x023e5f2e}, name =3D "optp", type =3D = "ip6_pktopts *", valid ranges =3D , location =3D = [0xffffffff80d99183, 0xffffffff80d9922a) -> DW_OP_reg3 RBX, decl =3D = raw_ip6.c:347 > Variable: id =3D {0x023e5f3e}, name =3D "ip6", type =3D "ip6_hdr = *", valid ranges =3D , location =3D [0xffffffff80d990c0, = 0xffffffff80d99398) -> DW_OP_breg6 RBP-160, decl =3D raw_ip6.c:345 >=20 > 532 NET_EPOCH_ENTER(et); > 533 error =3D ip6_output(m, optp, NULL, 0, = inp->in6p_moptions, &oifp, inp); > 534 NET_EPOCH_EXIT(et); >=20 >=20 > (lldb) image lookup -v --address ip6_output+0xb5d > Address: kernel.full[0xffffffff80d821bd] = (kernel.full.PT_LOAD[1]..text + 10478013) > Summary: kernel.full`ip6_output + 2909 at ip6_output.c:811:3 > Module: file =3D = "/usr/obj/usr/src/amd64.amd64/sys/GENERIC/kernel.full", arch =3D = "x86_64" > CompileUnit: id =3D {0x000005b5}, file =3D = "/usr/src/sys/netinet6/ip6_output.c", language =3D "c99" > Function: id =3D {0x023ab5ce}, name =3D "ip6_output", range =3D = [0xffffffff80d81660-0xffffffff80d838c4) > FuncType: id =3D {0x023ab5ce}, byte-size =3D 0, decl =3D = ip6_output.c:403, compiler_type =3D "int (struct mbuf *, struct = ip6_pktopts *, struct route_in6 *, int, struct ip6_moptions *, struct = ifnet **, struct inpcb *)" > Blocks: id =3D {0x023ab5ce}, range =3D = [0xffffffff80d81660-0xffffffff80d838c4) > LineEntry: [0xffffffff80d821b6-0xffffffff80d821c4): = /usr/src/sys/netinet6/ip6_output.c:811:3 > Symbol: id =3D {0x000101b9}, range =3D = [0xffffffff80d81660-0xffffffff80d838c4), name=3D"ip6_output" > Variable: id =3D {0x023ab5e8}, name =3D "m0", type =3D "mbuf *", = valid ranges =3D , location =3D [0xffffffff80d819c2, = 0xffffffff80d82a26) -> DW_OP_GNU_entry_value(DW_OP_reg5 RDI), = DW_OP_stack_value, decl =3D ip6_output.c:403 > Variable: id =3D {0x023ab5f8}, name =3D "opt", type =3D = "ip6_pktopts *", valid ranges =3D , location =3D = [0xffffffff80d8168e, 0xffffffff80d838c4) -> DW_OP_breg6 RBP-184, decl =3D = ip6_output.c:403 > Variable: id =3D {0x023ab608}, name =3D "ro", type =3D "route_in6 = *", valid ranges =3D , location =3D [0xffffffff80d81a3b, = 0xffffffff80d824c0) -> DW_OP_reg3 RBX, decl =3D ip6_output.c:404 > Variable: id =3D {0x023ab618}, name =3D "flags", type =3D "int", = valid ranges =3D , location =3D [0xffffffff80d81684, = 0xffffffff80d838c4) -> DW_OP_breg6 RBP-152, decl =3D ip6_output.c:404 > Variable: id =3D {0x023ab628}, name =3D "im6o", type =3D = "ip6_moptions *", valid ranges =3D , location =3D = [0xffffffff80d816b7, 0xffffffff80d83032) -> DW_OP_breg6 RBP-352, decl =3D = ip6_output.c:404 > Variable: id =3D {0x023ab638}, name =3D "ifpp", type =3D "ifnet = **", valid ranges =3D , location =3D [0xffffffff80d8167b, = 0xffffffff80d838c4) -> DW_OP_breg6 RBP-304, decl =3D ip6_output.c:405 > Variable: id =3D {0x023ab648}, name =3D "inp", type =3D "inpcb *", = valid ranges =3D , location =3D DW_OP_fbreg +16, decl =3D = ip6_output.c:405 > Variable: id =3D {0x023ab657}, name =3D "m", type =3D "mbuf *", = valid ranges =3D , location =3D DW_OP_fbreg -48, decl =3D = ip6_output.c:409 > Variable: id =3D {0x023ab666}, name =3D "sin6", type =3D = "sockaddr_in6", valid ranges =3D , location =3D DW_OP_fbreg -380, = decl =3D ip6_output.c:413 > Variable: id =3D {0x023ab676}, name =3D "src_sa", type =3D = "sockaddr_in6", valid ranges =3D , location =3D DW_OP_fbreg -336, = decl =3D ip6_output.c:413 > Variable: id =3D {0x023ab686}, name =3D "dst_sa", type =3D = "sockaddr_in6", valid ranges =3D , location =3D DW_OP_fbreg -128, = decl =3D ip6_output.c:413 > Variable: id =3D {0x023ab696}, name =3D "odst", type =3D = "in6_addr", valid ranges =3D , location =3D DW_OP_fbreg -432, = decl =3D ip6_output.c:414 > Variable: id =3D {0x023ab6a6}, name =3D "alwaysfrag", type =3D = "int", valid ranges =3D , location =3D DW_OP_fbreg -192, decl =3D = ip6_output.c:421 > Variable: id =3D {0x023ab6b6}, name =3D "exthdrs", type =3D = "ip6_exthdrs", valid ranges =3D , location =3D DW_OP_fbreg -248, = decl =3D ip6_output.c:423 > Variable: id =3D {0x023ab6c6}, name =3D "src0", type =3D = "in6_addr", valid ranges =3D , location =3D DW_OP_fbreg -416, = decl =3D ip6_output.c:424 > Variable: id =3D {0x023ab6d6}, name =3D "dst0", type =3D = "in6_addr", valid ranges =3D , location =3D DW_OP_fbreg -400, = decl =3D ip6_output.c:424 > Variable: id =3D {0x023ab6e6}, name =3D "zone", type =3D = "u_int32_t", valid ranges =3D , location =3D DW_OP_fbreg -188, = decl =3D ip6_output.c:425 > Variable: id =3D {0x023ab726}, name =3D "error", type =3D "int", = valid ranges =3D , location =3D [0xffffffff80d8214f, = 0xffffffff80d8251a) -> DW_OP_consts +0, DW_OP_stack_value, decl =3D = ip6_output.c:417 > Variable: id =3D {0x023ab736}, name =3D "vlan_pcp", type =3D = "int", valid ranges =3D , location =3D [0xffffffff80d819c2, = 0xffffffff80d82a18) -> DW_OP_breg6 RBP-96, decl =3D ip6_output.c:418 > Variable: id =3D {0x023ab746}, name =3D "ia", type =3D "in6_ifaddr = *", valid ranges =3D , location =3D [0xffffffff80d82187, = 0xffffffff80d82a18) -> DW_OP_breg6 RBP-264, decl =3D ip6_output.c:419 > Variable: id =3D {0x023ab776}, name =3D "ip6", type =3D "ip6_hdr = *", valid ranges =3D , location =3D [0xffffffff80d81e29, = 0xffffffff80d82665) -> DW_OP_breg6 RBP-168, decl =3D ip6_output.c:407 > Variable: id =3D {0x023ab7c6}, name =3D "nexthdrp", type =3D = "u_char *", valid ranges =3D , location =3D [0xffffffff80d81a4f, = 0xffffffff80d82a18) -> DW_OP_breg6 RBP-136, decl =3D ip6_output.c:415 > Variable: id =3D {0x023ab7d6}, name =3D "ro_pmtu", type =3D = "route_in6 *", valid ranges =3D , location =3D = [0xffffffff80d81ab4, 0xffffffff80d824c0) -> DW_OP_reg3 RBX, decl =3D = ip6_output.c:411 > Variable: id =3D {0x023ab7e6}, name =3D "dst", type =3D = "sockaddr_in6 *", valid ranges =3D , location =3D = [0xffffffff80d81b39, 0xffffffff80d82466) -> DW_OP_breg6 RBP-88, decl =3D = ip6_output.c:413 > Variable: id =3D {0x023ab7f6}, name =3D "fibnum", type =3D = "uint32_t", valid ranges =3D , location =3D [0xffffffff80d81b26, = 0xffffffff80d827e3) -> DW_OP_breg6 RBP-72, decl =3D ip6_output.c:429 > Variable: id =3D {0x023ab806}, name =3D "origifp", type =3D "ifnet = *", valid ranges =3D , location =3D [0xffffffff80d8218b, = 0xffffffff80d824ae) -> DW_OP_reg12 R12, decl =3D ip6_output.c:408 > Variable: id =3D {0x023ab876}, name =3D "tlen", type =3D "int", = valid ranges =3D , location =3D , decl =3D = ip6_output.c:416 > Variable: id =3D {0x023ab882}, name =3D "dontfrag", type =3D = "int", valid ranges =3D , location =3D , decl =3D = ip6_output.c:421 >=20 >=20 > 806 KASSERT((ifp !=3D NULL), ("output interface must not be = NULL")); > 807 KASSERT((origifp !=3D NULL), ("output address interface = must not be NULL")); > 808 > 809 if ((flags & IPV6_FORWARDING) =3D=3D 0) { > 810 /* XXX: the FORWARDING flag can be set for = mrouting. */ > 811 in6_ifstat_inc(ifp, ifs6_out_request); I'm not quite sure, but it seems the `ifp` is not fully constructed. See = https://cgit.freebsd.org/src/tree/sys/net/if.c#n950 = =20 If I read the code correctly, the clone created interface is made = visible via `if_link_ifnet(ifp);` , and at that time the `ifp->if_afdata[AF_INET6]` is NULL and is not initialized yet by = `if_attachdomain1()` which will call `in6_domifattach()` to allocate the required data. So I guess there is a race condition. I bet this can be repeated easily. I have not tested this yet, and not sure if it is the right fix, but you = can give it a try. diff --git a/sys/net/if.c b/sys/net/if.c index c3c27fbf678f..16ee5667e7bb 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -947,11 +947,11 @@ if_attach_internal(struct ifnet *ifp, bool vmove) } #endif =20 - if_link_ifnet(ifp); - if (domain_init_status >=3D 2) if_attachdomain1(ifp); =20 + if_link_ifnet(ifp); + EVENTHANDLER_INVOKE(ifnet_arrival_event, ifp); if (IS_DEFAULT_VNET(curvnet)) devctl_notify("IFNET", ifp->if_xname, "ATTACH", NULL); > 812 } > 813 > 814 /* Setup data structures for scope ID checks. */ >=20 > --=20 > Bjoern A. Zeeb = r15:7 >=20 Best regards, Zhenlei --Apple-Mail=_0715C355-6B28-4360-86DE-DF9D867C1F8C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On May 22, 2024, at 12:17 PM, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:

Hi,
sorry, I cannot dump; this is a diskless and = netdump does not do IPv6;
needless to say that would be = funny in this case anyway; unfortunately
I have also = already re-compiled the kernel so I can only look things up approx.

FreeBSD main from May 13 = (f3eeeb959c9b00c89a2e1ff009c78162eb398656).

I= assume we lost the ifp from a destroy of a cloned interface in = ip6_output()
between lines 806 and 811?


Kernel page fault with the following = non-sleepable locks held:
exclusive rw rawinp (rawinp) r =3D= 0 (0xfffff80002a6e1a0) locked @ /usr/src/sys/netinet6/raw_ip6.c:393
stack backtrace:
#0 0xffffffff80bb679c at = witness_debugger+0x6c
#1 0xffffffff80bb7979 at = witness_warn+0x3e9
#2 0xffffffff81061d10 at = trap_pfault+0x80
#3 0xffffffff81033878 at calltrap+0x8
#4 0xffffffff80d99228 at rip6_send+0x5a8
#5 = 0xffffffff80bf570e at sosend_generic+0x5ee
#6 = 0xffffffff80bf5c49 at sousrsend+0x79
#7 0xffffffff80bfbd5c = at kern_sendit+0x1bc
#8 0xffffffff80bfc073 at = sendit+0x1b3
#9 0xffffffff80bfc1ab at sys_sendmsg+0x5b
#10 0xffffffff81062638 at amd64_syscall+0x158
#11= 0xffffffff8103418b at fast_syscall_common+0xf8
Created = wlan(4) interfaces: wlan

Note the creation of wlan, and a following ICMP6 = (ping6) packet.

Fatal trap 12: page fault = while in kernel mode
cpuid =3D 2; apic id =3D 02
fault virtual address   =3D 0x0
30.
fault code =             &n= bsp;=3D supervisor read data, page not present
instruction = pointer     =3D 0x20:0xffffffff80d821bd
stack pointer =           =3D = 0x28:0xfffffe00468ba850
frame pointer =           =3D = 0x28:0xfffffe00468baa00
code segment =            =3D = base 0x0, limit 0xfffff, type 0x1b
=             &n= bsp;          =3D DPL = 0, pres 1, long 1, def32 0, gran 1
processor eflags =        =3D interrupt enabled, resume, = IOPL =3D 0
current process =         =3D 1073 (ping6)
rdi: ffffffff81be2c00 rsi: fffffe00468ba884 rdx: = 00000000030002ff
rcx: 0000000000001c1c  r8: = 0000000000000028  r9: 0000000000000003
rax: = 0000000000000000 rbx: 0000000000000000 rbp: fffffe00468baa00
r10: 000000000000aa01 r11: 00000000000000ff r12: = fffff800017d3000
r13: fffff8000286df20 r14: = 0000000000000000 r15: fffff80001f1059c
trap number =             =3D= 12
panic: page fault
cpuid =3D 2
time =3D 1716352160
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xfffffe00468ba520
vpanic() at vpanic+0x13f/frame = 0xfffffe00468ba650
panic() at panic+0x43/frame = 0xfffffe00468ba6b0
trap_fatal() at trap_fatal+0x40b/frame = 0xfffffe00468ba710
trap_pfault() at trap_pfault+0xa0/frame = 0xfffffe00468ba780
calltrap() at calltrap+0x8/frame = 0xfffffe00468ba780
--- trap 0xc, rip =3D = 0xffffffff80d821bd, rsp =3D 0xfffffe00468ba850, rbp =3D = 0xfffffe00468baa00 ---
ip6_output() at = ip6_output+0xb5d/frame 0xfffffe00468baa00
rip6_send() at = rip6_send+0x5a8/frame 0xfffffe00468babb0
sosend_generic() = at sosend_generic+0x5ee/frame 0xfffffe00468bac60
sousrsend()= at sousrsend+0x79/frame 0xfffffe00468bacc0
kern_sendit() = at kern_sendit+0x1bc/frame 0xfffffe00468bad50
sendit() at = sendit+0x1b3/frame 0xfffffe00468bada0
sys_sendmsg() at = sys_sendmsg+0x5b/frame 0xfffffe00468bae00
amd64_syscall() = at amd64_syscall+0x158/frame 0xfffffe00468baf30
fast_syscall_common() at fast_syscall_common+0xf8/frame = 0xfffffe00468baf30
--- syscall (28, FreeBSD ELF64, = sendmsg), rip =3D 0x2959dfacc85a, rsp =3D 0x2959dae92668, rbp =3D = 0x2959dae926c0 ---
KDB: enter: panic
[ = thread pid 1073 tid 100157 ]
Stopped at =      kdb_enter+0x33: movq =    $0,0x10544e2(%rip)


(lldb) image lookup -v --address rip6_send+0x5a8
=      Address: kernel.full[0xffffffff80d99228] = (kernel.full.PT_LOAD[1]..text + 10572328)
=      Summary: kernel.full`rip6_send + 1448 at = raw_ip6.c:533:10
=       Module: file =3D = "/usr/obj/usr/src/amd64.amd64/sys/GENERIC/kernel.full", arch =3D = "x86_64"
 CompileUnit: id =3D {0x000005ba}, file =3D = "/usr/src/sys/netinet6/raw_ip6.c", language =3D "c99"
=     Function: id =3D {0x023e5ddd}, name =3D = "rip6_send", range =3D [0xffffffff80d98c80-0xffffffff80d9973d)
    FuncType: id =3D {0x023e5ddd}, = byte-size =3D 0, decl =3D raw_ip6.c:338, compiler_type =3D "int (struct = socket *, int, struct mbuf *, struct sockaddr *, struct mbuf *, struct = thread *)"
      Blocks: id = =3D {0x023e5ddd}, range =3D [0xffffffff80d98c80-0xffffffff80d9973d)
   LineEntry: = [0xffffffff80d99211-0xffffffff80d9922a): = /usr/src/sys/netinet6/raw_ip6.c:533:10
=       Symbol: id =3D {0x0000840a}, range =3D= [0xffffffff80d98c80-0xffffffff80d9973d), name=3D"rip6_send"
    Variable: id =3D {0x023e5df7}, name = =3D "so", type =3D "socket *", valid ranges =3D <block>, location = =3D [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 RBP-168, = decl =3D raw_ip6.c:338
    Variable: = id =3D {0x023e5e07}, name =3D "flags", type =3D "int", valid ranges =3D = <block>, location =3D <empty>, decl =3D raw_ip6.c:338
    Variable: id =3D {0x023e5e13}, name = =3D "m", type =3D "mbuf *", valid ranges =3D <block>, location =3D = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_reg12 R12, decl =3D = raw_ip6.c:338
    Variable: id =3D = {0x023e5e23}, name =3D "nam", type =3D "sockaddr *", valid ranges =3D = <block>, location =3D [0xffffffff80d98e48, 0xffffffff80d99398) = -> DW_OP_GNU_entry_value(DW_OP_reg2 RCX), DW_OP_stack_value, decl =3D = raw_ip6.c:338
    Variable: id =3D = {0x023e5e33}, name =3D "control", type =3D "mbuf *", valid ranges =3D = <block>, location =3D [0xffffffff80d990c0, 0xffffffff80d99398) = -> DW_OP_breg6 RBP-48, decl =3D raw_ip6.c:339
=     Variable: id =3D {0x023e5e43}, name =3D "td", = type =3D "thread *", valid ranges =3D <block>, location =3D = <empty>, decl =3D raw_ip6.c:339
=     Variable: id =3D {0x023e5e4f}, name =3D "et", = type =3D "epoch_tracker", valid ranges =3D <block>, location =3D = DW_OP_fbreg -200, decl =3D raw_ip6.c:341
=     Variable: id =3D {0x023e5e5f}, name =3D "opt", = type =3D "ip6_pktopts", valid ranges =3D <block>, location =3D = DW_OP_fbreg -408, decl =3D raw_ip6.c:347
=     Variable: id =3D {0x023e5e6f}, name =3D "oifp", = type =3D "ifnet *", valid ranges =3D <block>, location =3D = DW_OP_fbreg -56, decl =3D raw_ip6.c:348
=     Variable: id =3D {0x023e5e7e}, name =3D "hlim", = type =3D "int", valid ranges =3D <block>, location =3D DW_OP_fbreg = -80, decl =3D raw_ip6.c:353
=     Variable: id =3D {0x023e5e8e}, name =3D "in6a", = type =3D "in6_addr", valid ranges =3D <block>, location =3D = DW_OP_fbreg -120, decl =3D raw_ip6.c:354
=     Variable: id =3D {0x023e5ebe}, name =3D "type", = type =3D "int", valid ranges =3D <block>, location =3D = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 RBP-72, decl = =3D raw_ip6.c:350
    Variable: id =3D = {0x023e5ece}, name =3D "code", type =3D "int", valid ranges =3D = <block>, location =3D [0xffffffff80d990c0, 0xffffffff80d99398) = -> DW_OP_breg6 RBP-76, decl =3D raw_ip6.c:350
=     Variable: id =3D {0x023e5ede}, name =3D = "scope_ambiguous", type =3D "int", valid ranges =3D <block>, = location =3D [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 = RBP-92, decl =3D raw_ip6.c:351
=     Variable: id =3D {0x023e5efe}, name =3D "inp", = type =3D "inpcb *", valid ranges =3D <block>, location =3D = [0xffffffff80d98cb4, 0xffffffff80d9973d) -> DW_OP_breg6 RBP-64, decl = =3D raw_ip6.c:342
    Variable: id =3D = {0x023e5f0e}, name =3D "error", type =3D "int", valid ranges =3D = <block>, location =3D [0xffffffff80d991a9, 0xffffffff80d9922a) = -> DW_OP_consts +0, DW_OP_stack_value, decl =3D raw_ip6.c:349
    Variable: id =3D {0x023e5f2e}, name = =3D "optp", type =3D "ip6_pktopts *", valid ranges =3D <block>, = location =3D [0xffffffff80d99183, 0xffffffff80d9922a) -> DW_OP_reg3 = RBX, decl =3D raw_ip6.c:347
=     Variable: id =3D {0x023e5f3e}, name =3D "ip6", = type =3D "ip6_hdr *", valid ranges =3D <block>, location =3D = [0xffffffff80d990c0, 0xffffffff80d99398) -> DW_OP_breg6 RBP-160, decl = =3D raw_ip6.c:345

   532 =         NET_EPOCH_ENTER(et);
   533 =         error =3D ip6_output(m, = optp, NULL, 0, inp->in6p_moptions, &oifp, inp);
=    534 =         NET_EPOCH_EXIT(et);


(lldb) image lookup -v = --address ip6_output+0xb5d
=      Address: kernel.full[0xffffffff80d821bd] = (kernel.full.PT_LOAD[1]..text + 10478013)
=      Summary: kernel.full`ip6_output + 2909 at = ip6_output.c:811:3
=       Module: file =3D = "/usr/obj/usr/src/amd64.amd64/sys/GENERIC/kernel.full", arch =3D = "x86_64"
 CompileUnit: id =3D {0x000005b5}, file =3D = "/usr/src/sys/netinet6/ip6_output.c", language =3D "c99"
=     Function: id =3D {0x023ab5ce}, name =3D = "ip6_output", range =3D [0xffffffff80d81660-0xffffffff80d838c4)
    FuncType: id =3D {0x023ab5ce}, = byte-size =3D 0, decl =3D ip6_output.c:403, compiler_type =3D "int = (struct mbuf *, struct ip6_pktopts *, struct route_in6 *, int, struct = ip6_moptions *, struct ifnet **, struct inpcb *)"
=       Blocks: id =3D {0x023ab5ce}, range =3D= [0xffffffff80d81660-0xffffffff80d838c4)
=    LineEntry: [0xffffffff80d821b6-0xffffffff80d821c4): = /usr/src/sys/netinet6/ip6_output.c:811:3
=       Symbol: id =3D {0x000101b9}, range =3D= [0xffffffff80d81660-0xffffffff80d838c4), name=3D"ip6_output"
    Variable: id =3D {0x023ab5e8}, name = =3D "m0", type =3D "mbuf *", valid ranges =3D <block>, location =3D = [0xffffffff80d819c2, 0xffffffff80d82a26) -> = DW_OP_GNU_entry_value(DW_OP_reg5 RDI), DW_OP_stack_value, decl =3D = ip6_output.c:403
    Variable: id =3D = {0x023ab5f8}, name =3D "opt", type =3D "ip6_pktopts *", valid ranges =3D = <block>, location =3D [0xffffffff80d8168e, 0xffffffff80d838c4) = -> DW_OP_breg6 RBP-184, decl =3D ip6_output.c:403
=     Variable: id =3D {0x023ab608}, name =3D "ro", = type =3D "route_in6 *", valid ranges =3D <block>, location =3D = [0xffffffff80d81a3b, 0xffffffff80d824c0) -> DW_OP_reg3 RBX, decl =3D = ip6_output.c:404
    Variable: id =3D = {0x023ab618}, name =3D "flags", type =3D "int", valid ranges =3D = <block>, location =3D [0xffffffff80d81684, 0xffffffff80d838c4) = -> DW_OP_breg6 RBP-152, decl =3D ip6_output.c:404
=     Variable: id =3D {0x023ab628}, name =3D "im6o", = type =3D "ip6_moptions *", valid ranges =3D <block>, location =3D = [0xffffffff80d816b7, 0xffffffff80d83032) -> DW_OP_breg6 RBP-352, decl = =3D ip6_output.c:404
    Variable: id = =3D {0x023ab638}, name =3D "ifpp", type =3D "ifnet **", valid ranges =3D = <block>, location =3D [0xffffffff80d8167b, 0xffffffff80d838c4) = -> DW_OP_breg6 RBP-304, decl =3D ip6_output.c:405
=     Variable: id =3D {0x023ab648}, name =3D "inp", = type =3D "inpcb *", valid ranges =3D <block>, location =3D = DW_OP_fbreg +16, decl =3D ip6_output.c:405
=     Variable: id =3D {0x023ab657}, name =3D "m", = type =3D "mbuf *", valid ranges =3D <block>, location =3D = DW_OP_fbreg -48, decl =3D ip6_output.c:409
=     Variable: id =3D {0x023ab666}, name =3D "sin6", = type =3D "sockaddr_in6", valid ranges =3D <block>, location =3D = DW_OP_fbreg -380, decl =3D ip6_output.c:413
=     Variable: id =3D {0x023ab676}, name =3D = "src_sa", type =3D "sockaddr_in6", valid ranges =3D <block>, = location =3D DW_OP_fbreg -336, decl =3D ip6_output.c:413
=     Variable: id =3D {0x023ab686}, name =3D = "dst_sa", type =3D "sockaddr_in6", valid ranges =3D <block>, = location =3D DW_OP_fbreg -128, decl =3D ip6_output.c:413
=     Variable: id =3D {0x023ab696}, name =3D "odst", = type =3D "in6_addr", valid ranges =3D <block>, location =3D = DW_OP_fbreg -432, decl =3D ip6_output.c:414
=     Variable: id =3D {0x023ab6a6}, name =3D = "alwaysfrag", type =3D "int", valid ranges =3D <block>, location =3D= DW_OP_fbreg -192, decl =3D ip6_output.c:421
=     Variable: id =3D {0x023ab6b6}, name =3D = "exthdrs", type =3D "ip6_exthdrs", valid ranges =3D <block>, = location =3D DW_OP_fbreg -248, decl =3D ip6_output.c:423
=     Variable: id =3D {0x023ab6c6}, name =3D "src0", = type =3D "in6_addr", valid ranges =3D <block>, location =3D = DW_OP_fbreg -416, decl =3D ip6_output.c:424
=     Variable: id =3D {0x023ab6d6}, name =3D "dst0", = type =3D "in6_addr", valid ranges =3D <block>, location =3D = DW_OP_fbreg -400, decl =3D ip6_output.c:424
=     Variable: id =3D {0x023ab6e6}, name =3D "zone", = type =3D "u_int32_t", valid ranges =3D <block>, location =3D = DW_OP_fbreg -188, decl =3D ip6_output.c:425
=     Variable: id =3D {0x023ab726}, name =3D "error", = type =3D "int", valid ranges =3D <block>, location =3D = [0xffffffff80d8214f, 0xffffffff80d8251a) -> DW_OP_consts +0, = DW_OP_stack_value, decl =3D ip6_output.c:417
=     Variable: id =3D {0x023ab736}, name =3D = "vlan_pcp", type =3D "int", valid ranges =3D <block>, location =3D = [0xffffffff80d819c2, 0xffffffff80d82a18) -> DW_OP_breg6 RBP-96, decl = =3D ip6_output.c:418
    Variable: id = =3D {0x023ab746}, name =3D "ia", type =3D "in6_ifaddr *", valid ranges =3D= <block>, location =3D [0xffffffff80d82187, 0xffffffff80d82a18) = -> DW_OP_breg6 RBP-264, decl =3D ip6_output.c:419
=     Variable: id =3D {0x023ab776}, name =3D "ip6", = type =3D "ip6_hdr *", valid ranges =3D <block>, location =3D = [0xffffffff80d81e29, 0xffffffff80d82665) -> DW_OP_breg6 RBP-168, decl = =3D ip6_output.c:407
    Variable: id = =3D {0x023ab7c6}, name =3D "nexthdrp", type =3D "u_char *", valid ranges = =3D <block>, location =3D [0xffffffff80d81a4f, 0xffffffff80d82a18) = -> DW_OP_breg6 RBP-136, decl =3D ip6_output.c:415
=     Variable: id =3D {0x023ab7d6}, name =3D = "ro_pmtu", type =3D "route_in6 *", valid ranges =3D <block>, = location =3D [0xffffffff80d81ab4, 0xffffffff80d824c0) -> DW_OP_reg3 = RBX, decl =3D ip6_output.c:411
=     Variable: id =3D {0x023ab7e6}, name =3D "dst", = type =3D "sockaddr_in6 *", valid ranges =3D <block>, location =3D = [0xffffffff80d81b39, 0xffffffff80d82466) -> DW_OP_breg6 RBP-88, decl = =3D ip6_output.c:413
    Variable: id = =3D {0x023ab7f6}, name =3D "fibnum", type =3D "uint32_t", valid ranges =3D= <block>, location =3D [0xffffffff80d81b26, 0xffffffff80d827e3) = -> DW_OP_breg6 RBP-72, decl =3D ip6_output.c:429
=     Variable: id =3D {0x023ab806}, name =3D = "origifp", type =3D "ifnet *", valid ranges =3D <block>, location = =3D [0xffffffff80d8218b, 0xffffffff80d824ae) -> DW_OP_reg12 R12, decl = =3D ip6_output.c:408
    Variable: id = =3D {0x023ab876}, name =3D "tlen", type =3D "int", valid ranges =3D = <block>, location =3D <empty>, decl =3D ip6_output.c:416
    Variable: id =3D {0x023ab882}, name = =3D "dontfrag", type =3D "int", valid ranges =3D <block>, location = =3D <empty>, decl =3D ip6_output.c:421


   806 =         KASSERT((ifp !=3D NULL), = ("output interface must not be NULL"));
=    807 =         KASSERT((origifp !=3D = NULL), ("output address interface must not be NULL"));
=    808
   809 =         if ((flags & = IPV6_FORWARDING) =3D=3D 0) {
   810 =             &n= bsp;   /* XXX: the FORWARDING flag can be set for = mrouting. */
   811 =             &n= bsp;   in6_ifstat_inc(ifp, ifs6_out_request);

I'm = not quite sure, but it seems the `ifp` is not fully constructed. = See https://cgit.freebsd.org/src/tree/sys/net/if.c#n950 

If I read the code correctly, the = clone created interface is made visible via `if_link_ifnet(ifp);` , and = at that time the
`ifp->if_afdata[AF_INET6]` is NULL and is = not initialized yet by `if_attachdomain1()` which will call = `in6_domifattach()`
to allocate the required = data.

So I guess there is a race = condition. I bet this can be repeated easily.

I have not tested this yet, and not sure if it is = the right fix, but you can give it a try.

diff --git a/sys/net/if.c = b/sys/net/if.c
index c3c27fbf678f..16ee5667e7bb = 100644
--- a/sys/net/if.c
+++ = b/sys/net/if.c
@@ -947,11 +947,11 @@ if_attach_internal(struct = ifnet *ifp, bool vmove)
        = }
 #endif
 
-     =   if_link_ifnet(ifp);
-
      =   if (domain_init_status >=3D 2)
      =           = if_attachdomain1(ifp);
 
+       = if_link_ifnet(ifp);
+
        = EVENTHANDLER_INVOKE(ifnet_arrival_event, ifp);
    =     if (IS_DEFAULT_VNET(curvnet))
    =             devctl_notify("IFNET", = ifp->if_xname, "ATTACH", NULL);

=    812 =         }
=    813
   814 =         /* Setup data structures = for scope ID checks. */

--
Bjoern A. Zeeb =             &n= bsp;           &nbs= p;            =             &n= bsp;  r15:7


Best regards,
Zhenlei

= --Apple-Mail=_0715C355-6B28-4360-86DE-DF9D867C1F8C-- From nobody Wed May 22 14:00:26 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VktHK0d8Tz5LmMG for ; Wed, 22 May 2024 14:00:29 +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 4VktHJ6f0kz4DSt for ; Wed, 22 May 2024 14:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716386428; a=rsa-sha256; cv=none; b=PZDUNRwdAd4Fl5y0eU7uR7QIecRAkfT6OUlD5dtd83sAUIAiq4Qwv3c7NB6mR5yP4ffp8N KD/aM2q4HR+MhqzV4qb0JhYZc5iWtUlHdzgBOnTEeY0vubshpZFdhDI8oMYaBotjhLXKgd EJ70eR4uoP3eHuBildKGE5ceeZkmaXS5sEhxO6bjHPoawlGFuf+Qc4rSrJxuPqa6x5jK8T GtC31BQxgzFPeTru/i3MzWAU+h5n1KoNRKKQZyeirRYsGVcwS2faBgp2lpynCT3O+PaQE0 +PflVNbxdzEHfSUd9YcZ2C5+mJ7MBZBIspXozOrI5ZYnN0Hg+qU5AiS7P5KlEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716386428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aGxpWFjySNeocqMllYDhAhSg/yJAPoOHK3Af6ffe7bY=; b=FTvnEX/0n+sXG142ZgTP0KRSGaOiq10iVDTBB/ERhSda0LLdpslAa59j62+w+sBcYUPTrV w7jfUOLI9xi97mBzJjcLfHmTyySlz7E2uM12rPvZDvxqFvbY8gfnoR8BI2fVBejrEyaV1v fDs6ohzcrdnm8JMOHtBOcVmhFUHtLywxyjhgGKs6wmlAPb3qNuYqcG6oO3UYCzGuN9C4P3 eCerz4SKp3EtVf92MoVmQEJZyousXijKzq8I0YV9Hyd4bHRK5AfxrsbHCtYee/GELEJhla FUUSZ6Rli/gUMheVl8eaozw0MaAuE2UpQNnIN+nY9k6ri25XosQZQzBkFdEd3g== 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 4VktHJ65YWz17Dy for ; Wed, 22 May 2024 14:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44ME0SSu021446 for ; Wed, 22 May 2024 14:00:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44ME0SIv021445 for net@FreeBSD.org; Wed, 22 May 2024 14:00:28 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 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP) Date: Wed, 22 May 2024 14:00:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zlei@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278394 --- Comment #27 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D3ebd2b1c730834123a53b3eddcf9029fc= f414782 commit 3ebd2b1c730834123a53b3eddcf9029fcf414782 Author: Zhenlei Huang AuthorDate: 2024-05-20 12:14:07 +0000 Commit: Zhenlei Huang CommitDate: 2024-05-22 13:58:31 +0000 if_vxlan(4): Add checking for loops and nesting of tunnels User misconfiguration, either tunnel loops, or a large number of different nested tunnels, can overflow the kernel stack. Prevent that by using if_tunnel_check_nesting(). PR: 278394 Diagnosed by: markj Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45197 (cherry picked from commit 93fbfef0b50354b7a1620822454ef29cd415cb2d) sys/net/if_vxlan.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed May 22 14:02:30 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VktKf6G7jz5LmR4 for ; Wed, 22 May 2024 14:02: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 4VktKf5C2nz4FHd for ; Wed, 22 May 2024 14:02:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716386550; a=rsa-sha256; cv=none; b=IcAGrJksgVuS7F01K188ujs9okNa6sRMIn15p+E0LsyFe1hh+GWDN709+qMSTmvlyQgFgU QkdI5X0FQXBpeKkD2rX9bT6haWwtaWnNgbD0EU4BULnFYPor/Ey0lfHtSZGpK23TjPxWkt WkP01pCxZz4aw5vtL5KubK+HlJ6ni+sL+4CR46lXuMNBpqN8CbBT3OgbN/zTfRMIxoULSn LhAhqT3A3NiXzc8ncuyuTTPIvUIdhcr7X4Gh/HFL+oO+1IhoULMIJIgQX4H1ADBJ3ruqvV sFcNlpELj7L8f8uKFJgKlsiHIQykYAR6xQcHDyP3TPqdjujeAgoqRe7xNDAv1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716386550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=49BWgPKNAEMx3kd1lB6djAccNW/wt9dlTka+g5bD/Jc=; b=dHjtW+i9sdcJ1qanEO+frrGxbZJbfgaD0jFxDgoR5tRPruLNK9k35VfbVkvnXSiJ4Ov1df n176Dklg9HkkDTEdXX7oNCBcUkmEbpiVUI2T9w4zOoMnrYlmw+jGqPzXHZF5FA1t/MW7xq 0NdjSQbyx0e/5rRpd66Pko73GY4lfP/YkCgGfQSHWrnuMUNGOmf6J2TI1aA23LnyVNWauM D9OVp/A0vSXAHzdRjvRJiwmx5dYK7/7mF/nrU0isq896bQOo+db22R7O82hm5qIqPJkH+8 oB7K9wzBsB9YrudeBRQBCkQp6J9/bD/MtwaLWfKRCFwZTZtWxYIGENQUV6OzjQ== 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 4VktKf4qYWz17dN for ; Wed, 22 May 2024 14:02: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 44ME2UKK044578 for ; Wed, 22 May 2024 14:02:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44ME2Ut5044577 for net@FreeBSD.org; Wed, 22 May 2024 14:02:30 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 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP) Date: Wed, 22 May 2024 14:02:30 +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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zlei@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278394 --- Comment #28 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9d653a52f899c420f00e23401c3ff44b4= 93d4d32 commit 9d653a52f899c420f00e23401c3ff44b493d4d32 Author: Zhenlei Huang AuthorDate: 2024-05-20 12:14:07 +0000 Commit: Zhenlei Huang CommitDate: 2024-05-22 14:01:00 +0000 if_vxlan(4): Add checking for loops and nesting of tunnels User misconfiguration, either tunnel loops, or a large number of different nested tunnels, can overflow the kernel stack. Prevent that by using if_tunnel_check_nesting(). PR: 278394 Diagnosed by: markj Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45197 (cherry picked from commit 93fbfef0b50354b7a1620822454ef29cd415cb2d) (cherry picked from commit 3ebd2b1c730834123a53b3eddcf9029fcf414782) sys/net/if_vxlan.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed May 22 20:49:37 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vl3MQ4z7Yz5Kyhg for ; Wed, 22 May 2024 20:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vl3MQ3yR3z4CYS for ; Wed, 22 May 2024 20:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716410978; a=rsa-sha256; cv=none; b=pxyCTOBmfLVDyYHEqHAMoeKpfvLHMbAk0sQ6h/PpwLccInDQEumLRYEjkh2o3lQ4dFcaTk FLTohESy4fgQDB1VL2ho+oxMQN83q4PJA1ThWhZu4+ChnLMCwZ+WOMtYyqk2gw0ayyG7Uv pANWw9c6P8PmZoXFi2W3XfPClv/qerrirVAFQQzgrw/pvIkvPexhYPtvYhiTnd24HRWiV5 oI7PH47GEuROyyChPVCryI/YEULZXv/AwcuHGU4ktlAbl7BOKu1+b/LU6WZShj6rvJw9lY XsqzUWjrptl4s1WO9BOEqSFqQcXIEHNrT7sqp3ReExhpzVJfM1NkXkJebx4Wbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716410978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z7QJL7oaQEuJ8ncb9JZbivdXU9uekliO+1prri9UAZQ=; b=Y38dSW2dKTTe3ZT3AMe7YP/u1Y2AIRSLKrjmYInA7eObJJO6EmqvkN+9jeYk9DHBu88ecL 4Rl9ygVuZ5cmTeUZv98Qytnc1Ul1yAVWaOlq/gDuA4hG/qXtsX3dG2Ow4Ypk5onGx8T0N/ CpMWovELNsiGkF2Ohb5tsEK8YjB9Fwg0MQcGTVWpdH74MLEx1SpMFQKZFdhF8ik6qJCf7H MBlm5W6eTYYFdJItW8UfKuKbpjkY791scOHxHuHfO8LutaQ9dRxAh0f0VnSUlzkJnV85xo BP5r5AroJObVEXeEpNmTRmtQLrlB9oA69iBUwSjVEGsdbVQ5KrToJv5S6NjufA== 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 4Vl3MQ3ZlhzLB2 for ; Wed, 22 May 2024 20:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44MKncw8014306 for ; Wed, 22 May 2024 20:49:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44MKncga014305 for net@FreeBSD.org; Wed, 22 May 2024 20:49:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 276294] net/mpd5: crashes host when configured with PPPoE Date: Wed, 22 May 2024 20:49: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: 14.0-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276294 --- Comment #8 from O. Hartmann --- (In reply to Eugene Grosbein from comment #7) I'll do so as soon as building a new image for the appliances in question. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed May 22 23:02:43 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vl6K038Gtz5LCJS for ; Wed, 22 May 2024 23:02:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vl6K028R8z4XVV for ; Wed, 22 May 2024 23:02:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716418964; a=rsa-sha256; cv=none; b=iaR1cgcuNK7tKfjlFzprc0RCmG4xxouwNrfTj5HMDpJO9sVni06o6usYdADU1MVCk1U+rW laVAeUgg1M0SojKruB2viehSQMqRcOy+NDnw9ry+bWaPHUMN44Jtxed9x4OFFJzyiFJdM/ z/ISdAG0f5iOBRASd/gujKE8+CMLktfXYirk307Z40P4tD7I5AWYzrJvMic6taxCO57WWc SD02NZf3tYP66hS7ZvFnVPXpmsLrx5BEsJ81CZvk0HhwNACDCqBAzTR9nKEnIKQdGxYRF8 LMzR2xLD+f7uAJf69bSOg4VTPkE6YD9HoEAOmKD0yMPF17PaeM5L2kTsmYyzkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716418964; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/ytUnnRa/lOXuKFSbAWsQGbWROLGy6RB/fZXONn37do=; b=N+9PCwDdmnoZn6o+79ebsqpOM93ZwzTT0oEnxg0z6RbZ4vN5HziBUeNPHri0ZrMnVMni/h Czw6jo4B8Qu3zXWfFElBzhOesD2PWflosSDJ+HLYmbzoGKzavYsDwg6UgdXMfE5RckY00z 2fSNwZbtksSwWihpXa+errhfioxCoSED5pU92IuLNt0ndhUYpQdunYWgayVNtpU/cGns3M urH8iTtKu7WwC8xqs4PB8zFLiHvTgJdWsS7jcFqqBprknBqb3bl2cky9GDNtThwKRDxdCd tt6X3n5LJIXUBDcXLsj/341x7xPyUfEXE90tGWSuXeGn7CVJM/CvCou/h95trA== 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 4Vl6K01mHszPDp for ; Wed, 22 May 2024 23:02: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 44MN2iXK068039 for ; Wed, 22 May 2024 23:02:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44MN2i8r068038 for net@FreeBSD.org; Wed, 22 May 2024 23:02:44 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 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP) Date: Wed, 22 May 2024 23:02:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zlei@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278394 --- Comment #29 from commit-hook@FreeBSD.org --- A commit in branch releng/14.1 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D34db75d21876ae406ff57fdc594f151fc= 4214109 commit 34db75d21876ae406ff57fdc594f151fc4214109 Author: Zhenlei Huang AuthorDate: 2024-05-20 12:14:07 +0000 Commit: Zhenlei Huang CommitDate: 2024-05-22 23:00:03 +0000 if_vxlan(4): Add checking for loops and nesting of tunnels User misconfiguration, either tunnel loops, or a large number of different nested tunnels, can overflow the kernel stack. Prevent that by using if_tunnel_check_nesting(). PR: 278394 Diagnosed by: markj Reviewed by: kp Approved by: re (cperciva) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45197 (cherry picked from commit 93fbfef0b50354b7a1620822454ef29cd415cb2d) (cherry picked from commit 3ebd2b1c730834123a53b3eddcf9029fcf414782) sys/net/if_vxlan.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu May 23 06:49:13 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VlJgF54gvz5L1py for ; Thu, 23 May 2024 06:49:13 +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 4VlJgF40xSz4Y6G for ; Thu, 23 May 2024 06:49:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716446953; a=rsa-sha256; cv=none; b=YHXyFqwVYfFxhL9ADDZBt4ZSQuVEClaouvi6GLe/KqcWM8QufL0rVYW7X3GJeQT66VpU3E mTjbjOaafXVnlLeRRrbBoux59Q47PEBj2oH6ySWcxVOePVymFkG+75SUAkP6lm9E1yDTmE bMj52ZsbVR0rrvvwEQXLfXDoa6jYNAW5EWetznNIqdfWhJVlQaD819B440buMJC8vQP1+7 IpG+aku4l5/7wLHN/OzsQ6TzngmS9r6MPzqLD24yivBPSTKb5mUleNLr+6sp3ty82mA7L2 s9RK//RdZbWS3pyadEq2Oe04nZLWBGw5pNIltwIzA56j0+CfMnjSsf7vm6dQzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716446953; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZI6gFzX0RXpDKD6GUkBYIj6tKhnfu4OP60+3bIg+i6Y=; b=iNtw2/fGRSQ2h0cd7m8n5rQhmvm6rQ0Ek1WhYQ7SGzpvXpbCK9yFZ6iwdtvSLkWLfoQrGH d0HVdmuqdldtBJo+E9om6tPqht1kVQZrqXMigPfveNp9SOZ+AsD8ZuoWdFq6Oo+xIsJmV5 EljEUYV+2RP01SBjcAmk9EvcspX/d/ekGZEqZOPnx2mVvPNLkglJ8sInjTsiVXJ5+cQEw9 /xtZm8XxzgpqxC9ZV7NB2W6D86DrI3PoPXVbkO7EXAjTHaHMLbZPFE0DHmugRuDa1rQkFa gyJxWZTqmON/k9HlSL3gOF5AHRRK+fq9J7ploFAlsWVtgyILh81TGdql3HOpSw== 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 4VlJgF3Vn8zfQ5 for ; Thu, 23 May 2024 06:49:13 +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 44N6nD3B086179 for ; Thu, 23 May 2024 06:49:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44N6nDnL086178 for net@FreeBSD.org; Thu, 23 May 2024 06:49:13 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 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP) Date: Thu, 23 May 2024 06:49: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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zlei@FreeBSD.org X-Bugzilla-Flags: mfc-stable14+ mfc-stable13+ X-Bugzilla-Changed-Fields: bug_status resolution flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278394 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED Flags|mfc-stable14?, |mfc-stable14+, |mfc-stable13? |mfc-stable13+ --- Comment #30 from Zhenlei Huang --- The fix has been in stable branches and will be in upcoming release candida= te 14.1-RC1. Closing now. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu May 23 09:49:08 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VlNfr5NkSz5LLgM for ; Thu, 23 May 2024 09:49: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 4VlNfr1sP1z4ppx for ; Thu, 23 May 2024 09:49:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716457748; a=rsa-sha256; cv=none; b=olwBCtNb6QamJU/76ar+mmEtF6FGycKRzsepKAm5TLdm6XZre4tj4qOj2UuR8b8dntSAGv W918kbiGQXfwQcOlvKhF/6PE/2UQaaJ4QqkFweT2vaTtUilGxCK+m2pS5koIozorObkSHa 7P2jzglEFvZ/qMqy782eUSAsm/YVCOVFjjqmzKUoUrI0zxrawzklRd7nWUDzjdnfBV5w24 QiGL65RPpjkB/nSGyCj0VsRFdci/TtcAlVF3+2FXB0394MSpqiFYtmA1LGxGp62QhJFytC 4MoPunUsK+0ePP1I37vOTSqxdfZAwX8Ibs+qnlkdAIMJt70+Jc5js3Iguf3QoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716457748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uA+ntogeOxR+JmCAJf5y+qVebobSVXKnzx9hqncgq1Y=; b=OjScCfkD7cF0ra/FK60U5oIuxyrdTNnIEuCvJieuBSNIYbqqG2kSsRMM52qcl9QFqLABAu ObmZXqJqQVZ/JHAYGZTFsm6Sgh7u1uwsa0DZuGFyu31GsGRNK9ztA79PJsADoCRnyGuDAL ytWPEAx1qRV/0F98k4+lAPY2KfoNSJCUs3iLnPZA/v7rr8ait/masBvqn//s4nK7n7fwCX ZBdzqMzhgrHMUXZLAxMkvQBPuyH/W04hBcF1VJUkCtzusHo9wwVM+EkhwMj+Izzz6/EKkE Lb14DYB7/aQ2Jb4gdpuUxnzJ445ObHyrtM8xyYf99s7e7PRSzT69R/tQLqE60Q== 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 4VlNfr1M0HzlJM for ; Thu, 23 May 2024 09:49: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 44N9n8lh039939 for ; Thu, 23 May 2024 09:49:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44N9n8JK039938 for net@FreeBSD.org; Thu, 23 May 2024 09:49: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 279245] igc(4) I226 (and I225) TX hangups Date: Thu, 23 May 2024 09:49:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279245 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |IntelNetworking Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu May 23 11:21:21 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VlQjG3ksRz5LVjT for ; Thu, 23 May 2024 11:21: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 4VlQjG2WTSz40tb for ; Thu, 23 May 2024 11:21:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716463282; a=rsa-sha256; cv=none; b=QPrUG3dGcWrvKlq/VsozHAQ1/jE1+2eCV5KWBTPTp7pBTJhmj8jhQLIIZWNZJ7gWdUODjL CL12LDeOxHLZuHgqEJjZEOgDhqNleZqT7SFQ9HnyLl4J+m6sSRGvb2KcKrLuGKmvBc3L5m M7ztMaujpWoOLBwkTV9lxdSYcHgizjCKIxa69hLcJ678tP80DnOrT7JUJ7NfYUtLV8XSRz +RiupD/zV6J5g7raSqDx450Z8+QyuBTPAPucFboue0r2iBtHt5qse+ZAvm/1TV4234YeLX tJf+ZWH1xiDPfyk85IJB99OnMSZemOJnWSv6qCY8PFsx4nVoDRLofbudgwDCZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716463282; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bcOFKQMetNS4pp3zYjPHntTU2Z/ndP+lCKEd3QJPlHE=; b=MOgRLH2x4lcq00uEsQIqoN8tMDfIULzgtFnYcenO0csw2TJIM7xhlBOdBCesNnqL8I6jhD ER7wIfd9J++XaYr9mcSyjJV9ELjpE77FdTPbZBshXtSVDTD9l5u0vaGJwQ7PdZFtzOGF/N 0t97UBV+Uw6WLMNjg5YAkEZqClt1xK/bqy3r0p99X4Qvz/bNdlfVRxuZv0vYbatoUDWbM0 vzra7vkgdoouExl7GVXkzj33aofB/DdNo/AwsZiOUGHy1iL/JkPzCJPbJDBW/O5s+GA2Ac QqanqgOK55WKCALh9GG1qLBCR9vx7k4OPen1OF+OvSCD5wn42WKpt6o3JEh1DA== 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 4VlQjG27MJznjX for ; Thu, 23 May 2024 11:21: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 44NBLMFV080986 for ; Thu, 23 May 2024 11:21:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44NBLMEb080985 for net@FreeBSD.org; Thu, 23 May 2024 11:21: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 279208] filling up arp table with static entries leads to a crash Date: Thu, 23 May 2024 11:21:21 +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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sss@s-s-s.ru 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279208 Sergey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sss@s-s-s.ru --- Comment #3 from Sergey --- (In reply to Marek Zarychta from comment #1) I applied a patch and rebuilt it, but the System crashes and automatically reboots. # uname -a FreeBSD localhost 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #0: =D0=92=D1=82 = 26 =D0=BC=D0=B0=D1=80=D1=82=D0=B0 20 26:20:2024 UTC root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu May 23 14:26:40 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VlVq71t5mz5Lq4k for ; Thu, 23 May 2024 14:26: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 4VlVq70m2Cz4Mj1 for ; Thu, 23 May 2024 14:26:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716474403; a=rsa-sha256; cv=none; b=qrtzdQwHF8qo9iwdOHIbGzBLC5UU7vPV+hUPEn0QhLqiwUqqxxiTQz/KOpdoHlT5ago+fc q1tPxHRHrsmQZ0IhlYrsFh39cbfJJSCmCrf/+o+wfAYlOoVDB4vb7jljQ8ZU+HPDpvp+4P KKzMl1m7juZ6/Ubanvha1S+2KcP5nLmsZIjuqSszc7g9Xd9TAXRtQdKRDm+GgcWw52WZco wum7aNBG0w4NNglb9DhW6TwvvI3JbIJeu74ROqmzO37rLzISpUp6+uAX1Hvh7+eeYfDzTB ZwGtYRngjamXTcFV8eKpz+ar5p1fPtHOXOQXdq6Iwf8vkAuER8ckN1Us9V9WyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716474403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vb6EyCKnnsVrXsPnu8qt/mKQfGCoA7Y4sJcX4fnQxGs=; b=FR5X2OxLXpszQoif5/pGMPtDcqN2A7VYX8qFzsfOeKg0lzc4stnfuOezqRXZZ7GC0ZjAW7 aDEhkit33Sw1HgWvBRkMRlPvwlnypsFr+7oDDO4XWtp/k66IWW5Gqei7V5C5Ha607FOwTE VjMD2nELC9aN8Xuxiksl4SKedG/HXGb93pLdg10uekQBEidgQeBCwuzJoyfh1p5liirraj Xes95/MwQTwqXfoKntFkegjugx0K50MPW2Tvh913LGvKmJIaBZqQMyxzYi69JqyV8lJycN 3Qu8VhErE3V1SLJyskmoX1fvts5F88mJ/CB5KWPBErtsvEGcc5/55Rb50xolPw== 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 4VlVq70MqtzsVS for ; Thu, 23 May 2024 14:26: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 44NEQgQU062612 for ; Thu, 23 May 2024 14:26:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44NEQgdC062611 for net@FreeBSD.org; Thu, 23 May 2024 14:26:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 279208] filling up arp table with static entries leads to a crash Date: Thu, 23 May 2024 14:26:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279208 --- Comment #4 from Marek Zarychta --- (In reply to Sergey from comment #3) Probably it would be better to test how recent stable/14 or releng/14.1 beh= aves if you are building from sources. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu May 23 14:58:21 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VlWWf3phJz5LsPV for ; Thu, 23 May 2024 14:58: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 4VlWWf2lHpz4RXY for ; Thu, 23 May 2024 14:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716476302; a=rsa-sha256; cv=none; b=do7AOaasypG/wNXoXRmHUx+WDCeH+Y2Ms+QxJ+jAn68eks1BL56UuvRMs6O0etbff3r28b 7GmfIJpAeGP+sSzTVvXs1nkYXB3q4tluD5dvuErLvq9ZnfDUG4WiOP9pb3i1o04v3eNBzm 4uI3YeAGEb3EEHNEWQn3NOeSzfYt0QQGa6kOuGCVKSylDs9ejt98VVUGPPK1ETQE5gd/V+ Th8T6nCZ2tiAAGa3PN0wLtYy6gIw44KwasleFPxX1mRWg3SyLZf50CWjEeYDTdDGh5+GGn dJCFvcdvvDHcFxE6n+qC/lD42ZKq1PQc+CsnHR4bWjYrvcQhEpZHQ+R4xhWH6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716476302; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V+DTvoOFHnWqOZlDoSjT4fuOfeZHU7CqPyscpxDqNNE=; b=ICeFhhQCw0PvCkH7IU/wp5/AWlX7qYhD8BSJIsUYmScqGdr4LB8WA0hNUJ5CRJBnwA8dlx 76RI+uKGGPb9ZLciG7l95ykpRjYUUa17yyYJsAoQ9iqTOvgDoVtSPyccgdLx+E8CFDoH9t 1SEJdz99QYTc5ktH/xY6a0h+uAsIQZiBs5f3wkHutiAFKg5MBuFfpfO9LW6VvMUdLpjpgZ lY86NkiOcAq7RtxcTLcqfqAcVEHs6XYudVYV3xPmjtoj0C2P+bXa5ftWds/rr6B1kxej/Z ZGloDfUT+aRyMTqZ8gvbnkdeaYZmD5nRvS5JMkiG9QBfBtU8i6XwOIDboMJvFg== 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 4VlWWf2L5jztwG for ; Thu, 23 May 2024 14:58: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 44NEwM2U010673 for ; Thu, 23 May 2024 14:58:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44NEwMp6010670 for net@FreeBSD.org; Thu, 23 May 2024 14:58: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 279208] filling up arp table with static entries leads to a crash Date: Thu, 23 May 2024 14:58:21 +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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sss@s-s-s.ru 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279208 --- Comment #5 from Sergey --- (In reply to Marek Zarychta from comment #4) I have a master gateway that I have updated=20 FreeBSD localhost 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC i386 up to FreeBSD localhost 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 GENERIC amd64=20 After that, I encountered unstable operation of the static arp table, which= is actively used there. It seems that it is too early to upgrade to a 64-bit system. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu May 23 22:12:20 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vlj8d5XmQz5LRTs for ; Thu, 23 May 2024 22:12:33 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vlj8c02zPz4KC1; Thu, 23 May 2024 22:12:31 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 3A6DA8D4A126; Thu, 23 May 2024 22:12:24 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 7E5332D029D8; Thu, 23 May 2024 22:12:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id e8VdqL1ni7Ux; Thu, 23 May 2024 22:12:22 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 5768B2D029D2; Thu, 23 May 2024 22:12:21 +0000 (UTC) Date: Thu, 23 May 2024 22:12:20 +0000 (UTC) From: "Bjoern A. Zeeb" To: Zhenlei Huang cc: freebsd-net@freebsd.org Subject: Re: ifp gone in ip6_output() -> panic In-Reply-To: Message-ID: References: <1p003r05-684o-8542-r153-n850s3sspnp3@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zabbadoz.net]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4Vlj8c02zPz4KC1 On Wed, 22 May 2024, Zhenlei Huang wrote: > > >> On May 22, 2024, at 12:17 PM, Bjoern A. Zeeb wrote: >> >> Hi, >> >> sorry, I cannot dump; this is a diskless and netdump does not do IPv6; >> needless to say that would be funny in this case anyway; unfortunately >> I have also already re-compiled the kernel so I can only look things up approx. >> >> FreeBSD main from May 13 (f3eeeb959c9b00c89a2e1ff009c78162eb398656). >> >> I assume we lost the ifp from a destroy of a cloned interface in ip6_output() >> between lines 806 and 811? >> >> >> Kernel page fault with the following non-sleepable locks held: >> exclusive rw rawinp (rawinp) r = 0 (0xfffff80002a6e1a0) locked @ /usr/src/sys/netinet6/raw_ip6.c:393 >> stack backtrace: >> #0 0xffffffff80bb679c at witness_debugger+0x6c >> #1 0xffffffff80bb7979 at witness_warn+0x3e9 >> #2 0xffffffff81061d10 at trap_pfault+0x80 >> #3 0xffffffff81033878 at calltrap+0x8 >> #4 0xffffffff80d99228 at rip6_send+0x5a8 >> #5 0xffffffff80bf570e at sosend_generic+0x5ee >> #6 0xffffffff80bf5c49 at sousrsend+0x79 >> #7 0xffffffff80bfbd5c at kern_sendit+0x1bc >> #8 0xffffffff80bfc073 at sendit+0x1b3 >> #9 0xffffffff80bfc1ab at sys_sendmsg+0x5b >> #10 0xffffffff81062638 at amd64_syscall+0x158 >> #11 0xffffffff8103418b at fast_syscall_common+0xf8 >> Created wlan(4) interfaces: wlan > > Note the creation of wlan, and a following ICMP6 (ping6) packet. Yes I think it was running netif restart wlan0 in loops. [...] > > I'm not quite sure, but it seems the `ifp` is not fully constructed. See https://cgit.freebsd.org/src/tree/sys/net/if.c#n950 > > If I read the code correctly, the clone created interface is made visible via `if_link_ifnet(ifp);` , and at that time the > `ifp->if_afdata[AF_INET6]` is NULL and is not initialized yet by `if_attachdomain1()` which will call `in6_domifattach()` > to allocate the required data. > > So I guess there is a race condition. I bet this can be repeated easily. > > I have not tested this yet, and not sure if it is the right fix, but you can give it a try. I'll do; I haven't seen the error happening since on other test machines, so not sure about repeatability. I am also not entirely sure this is not a ping6 ff02::1%wlan0 while the ifp was destroyed by netif restart at the same time the packet was still on the way out? If it was during create, the wlan(4) interface would not be associated and UP at that point of if_attach_internal() and `ifconfig inet6 -ifdisabled` would not have been run to be able to send that packet in first place? Othwerwise the packet would have had to "survive" the clone destroy and clone create cycle somewhere ...? > diff --git a/sys/net/if.c b/sys/net/if.c > index c3c27fbf678f..16ee5667e7bb 100644 > --- a/sys/net/if.c > +++ b/sys/net/if.c > @@ -947,11 +947,11 @@ if_attach_internal(struct ifnet *ifp, bool vmove) > } > #endif > > - if_link_ifnet(ifp); > - > if (domain_init_status >= 2) > if_attachdomain1(ifp); > > + if_link_ifnet(ifp); > + > EVENTHANDLER_INVOKE(ifnet_arrival_event, ifp); > if (IS_DEFAULT_VNET(curvnet)) > devctl_notify("IFNET", ifp->if_xname, "ATTACH", NULL); -- Bjoern A. Zeeb r15:7