From nobody Mon Jun 30 04:51:35 2025 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 4bVtzW4xpqz5ywpq for ; Mon, 30 Jun 2025 04:51: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bVtzW467cz3fBx for ; Mon, 30 Jun 2025 04:51:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751259095; 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=LEZwYa0SzSHTqLC3fuDjxqRHEoog0wTA7s62zYnaPSE=; b=hImq/hSD7lPDeApJzG3YyrH1qKRov17CtvJu0CD67kK+pNqn6Xhq4L1SPDXl4QTy3FicOR EhOAT0kYv3vfpb/0NM4gFVK/k6sl7m1QazowxBaRc4OZRr96W5T5XSlsxVnVmlZXNnvQOX YgTsZrRnE4UjL3Jq6uHwh+yLJkHNmqq/Zv6DO5ZIV9jUG8nfWvk/IUi+zvykXHTmeSEbEi ZlGeNtFO17VzuqO2bk6XdFv9famNQjEwzlxYBl+8F4tZ6hHNxfl2HiJYmWLYjz5B2mrDd8 pwG0UepeRN+grunOBa9wikgN0MmQGbYC/75cmK0DKlHWlao8HgioZXZmNLgcrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751259095; 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=LEZwYa0SzSHTqLC3fuDjxqRHEoog0wTA7s62zYnaPSE=; b=jZqq/yFnFpYdxSo3kUaCMvs7GBt4I7U7LrC0RHlrei1/pywpPK3S8G0gNrR42n8BNqp9Xl N7DvDvVY0x1+VslsjJgVKOgXEdvek05nWroX3QuGWaDz6pRyby+gu7+Ab/NBinN6Q33Zpz 3Lv5uXKgn9mQJne3RhenIV1tk4kLIMgFenl9aMaDfHFYBew8H9/a4HhZE8MaAuJ2rFcxHg 7MvTwR9zqUINiMgxHBFh+zCylHH6Tx7PX8iIZY3Ct9aUJ01ZkGgrbf7+SIlvAVkx3n1r22 N4uMnQ0pQBv45HbNeXHGT37LX83Ehc602v8d9OS+kmIjR7KB+fhHuj5LHOWI1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751259095; a=rsa-sha256; cv=none; b=aqeVIR3FFvjZwFSnjb36jrbob+Xe3zuqwWdyvptgUmHNJKRloXydlCoZAYVl7RggklgShn ZbkcZvR1OHiq0TQf1ZKRvunhuk4NgJytsvNYebxt6CVRIVu81bP/xNiHI9mpdlX6ryjjEd ghwT5xaphWHm7Rgfouea0x4qGPgWSXm5LitbN31o7DLYDc9xlGPBHRXQTwQ4m1tXnbIkbY kiDnUOlzNVg4+Z77AbMTwyWT6hzJsGduuQ0S1p3cf2rfh1NDhRvLiWuKhQ3nySOs+Hs9hc CRTYRUTO6ixbtQqQWkjEJQPzpdixEcrC5cH1ZnUNYhQrGL6HNmdltMYSurSP9w== 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 4bVtzW3dk7zr5S for ; Mon, 30 Jun 2025 04:51: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 55U4pZR2067063 for ; Mon, 30 Jun 2025 04:51:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 55U4pZgY067062 for net@FreeBSD.org; Mon, 30 Jun 2025 04:51:35 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 287244] [fib_algo] inet.80 (radix4_lockless#865) rebuild_fd_flm: table rebuild failed (route add 255.255.255.255/32 -reject -fib 80) Date: Mon, 30 Jun 2025 04:51:35 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: paige@paige.bio 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D287244 --- Comment #2 from Paige Thompson --- (In reply to Zhenlei Huang from comment #1) Hey Zhenlei,=20 Opie@ from the FreeBSD Matrix actually pointed out to me that in my handful= of nets that I -reject, I actually had some overlap with 240.0.0.0/4 and 255.255.255.255/32. that may be the catch I don't have something handy. Ironically I can't repro this at the moment either but I haven't upgraded, = I'm still running:=20 FreeBSD zima.netcrave.local 14.2-RELEASE-p3 FreeBSD 14.2-RELEASE-p3 #0 n269524-1eb03b059e5-dirty: Mon Jun 23 13:31:14 UTC 2025=20=20=20=20 root@zima.netcrave.local:/usr/obj/usr/src/amd64.amd64/sys/ZIMA amd64 Few things, if you really want to be sure;=20 - I need to make sure I'm using radix4_lockless and it would appear that I = am:=20 net.route.algo.inet.algo: radix4_lockless net.route.algo.inet.algo_list: bsearch4, radix4_lockless, radix4, dxr net.route.algo.inet6.algo: radix6_lockless net.route.algo.inet6.algo_list: radix6_lockless, radix6 yeah I haven't tested that full list of routes but I'd have to think why it should matter; most likely what was causing it or what has been fixed is ho= w it handled the overlap between 240.0.0.0/4 and 255.255.255.255/32; the latter being the absolute longest prefix match possible in radix4. On an unrelated note, something that noticed today about radix4_lockless if= you try to create more than 64 routes where all 64 have the same length/prefix match but a different gateway you will get:=20 add net 0.0.0.0: gateway 10.96.4.31 fib 31: Argument list too long I think this is a completely pointless thing to do anyway, if there's a rea= son why I would I'm at a loss for what it might be. But just in case it matters, tell me if this tracks: > radix_lockless Lockless immutable radix, re-created on every rtable change, tailored for a small FIB with <1000 routes. My guess... it does in batches by the length and prefix match; I'm guessing when you have multiple that are the same but a different gateway it does th= em all at once and the limit for how many it can do at once for me seems to be= 64. Like I said I don't think it's terribly important, rather I only ended up h= ere because I was just at a loss for how ospf is supposed to work and had total= ly forgotten about nexthop and RTA_MULTIPATH being a thing that routing daemons can configure but not route(8). Yeah I mean feel free to close this, if I have the issue again I'll ping somebody and we can pick this up again at least I feel like I have a better grasp of how it works to do a little more research myself next time :) --=20 You are receiving this mail because: You are the assignee for the bug.=