From nobody Wed Sep 30 10:08:46 2026 X-Original-To: dev-commits-src-all@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 4hvrNg52bgz6v9gr for ; Wed, 30 Sep 2026 10:08:51 +0000 (UTC) (envelope-from git@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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hvrNg4clbz4FSr for ; Wed, 30 Sep 2026 10:08:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790762931; 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; bh=Q6bdB92Eqppb3NNDiHUyWt6hzmg/gKiQcL3x3U6Ky2c=; b=A23ca0dPBlbpKB1PiDQlxPt/ok7fCw9e6nmyIuLStDqhJLW8W8nK52IGRqjWLS8RKW3d0A GdEDKnIyHirZwMvEKKWHfSrMISLcO8QswwOUw/zu0UiwYWwvXriAaMXQnrqsGwaHOfy8Lz Nfap8Q4c2Gf4IadYuuP9CRwHuIJEDujB0hyuTB10HU2O/2hlTPXCF+yymwNILhGSprlO94 9xfBMCUkSJmHAD9vvipV5AsUz3/b/T5BfJmlB9s+tQ6Ezh8DP67vl/R3m1tvFJdudrjgS5 MaWXaoePe3YdYPv/3a5SkK2aUTk5C7HOh6rScktVCBF3WeweGP3FNhr4EGJviA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1790762931; b=nM7xXG/v9pxhyfs3/TobXVQGa+iBEpxsUz1ZEedC+fXe+w+cRfyKEZOPLl9p6aSgZst2/5 J2FHCYlZnV7Qavc9sTCDW+Ta/AMPJZxzIKDdbvqsrSsnV+Mdppnk6tRFt4FEpjoRxz0QXO 3RlwKWjR7HwfTGxbHgvh2SuSvdrJOU4AsuRn6J/R2czr/3FDeywN2WVq8+7WsWhjoq0FwQ dL7Gg2vk/nGyZgcYIsItw+ZkgHN+1QbCP11BcDyHarX+wRJU/vXhLm9pe5tYCGfIFjeS4l CYJJEeEDGwLCFS7t1iIhI1pGG63tYmid7BFAqvzR8NXaetC8Sxv/RRvxHdwQxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790762931; 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; bh=Q6bdB92Eqppb3NNDiHUyWt6hzmg/gKiQcL3x3U6Ky2c=; b=shVT3jhZTTt6Sllw1Ub1HHDoEdR8dp1susRbzF5n4sQAqoaMO1nDJxqWJxdZ3yGWR4a26W o2WCnqX0iKaT3KC1jD+X7RtMGLzh9XS7uvCpV9lSxfgybY0rfsDrXKDklxhCzFYfoCrY0+ RyKR9pGgz/5IqvMHuJBmp7KbHPVAYNzBu910Xqfy54bFM3LPeYrtzxo5nc+tGGa3Zksp8O AaauhcpSWV/zZL5zQnz0kxHw65pDEMqdpSTVTewrl/OQhR/YSYSL0+Ug62bFEvvcinPPdc i2scFnmMj7YNZTYXEzu+IhAsC1J2ulRm8dhSq2IvzJ+qpGXe3vo8Khf2yQPeEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hvrNg3jMzzhHG for ; Wed, 30 Sep 2026 10:08:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 36786 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 30 Sep 2026 10:08:46 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Cochard Subject: git: e9c3a9fad530 - main - routing: restore opt_route.h in route.c, fib_algo teardown was compiled out List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olivier X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e9c3a9fad53034a16ec16662e7248be7c295ddf1 Auto-Submitted: auto-generated Date: Wed, 30 Sep 2026 10:08:46 +0000 Message-Id: <6abcdfae.36786.91c07c0@gitrepo.freebsd.org> The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/src/commit/?id=e9c3a9fad53034a16ec16662e7248be7c295ddf1 commit e9c3a9fad53034a16ec16662e7248be7c295ddf1 Author: Olivier Cochard AuthorDate: 2026-09-30 06:53:51 +0000 Commit: Olivier Cochard CommitDate: 2026-09-30 10:00:22 +0000 routing: restore opt_route.h in route.c, fib_algo teardown was compiled out Removal of opt_route.h left route.c without FIB_ALGO, skipping fib_destroy_rib() in rt_table_destroy(). Explicitly guard it to clean up fib_algo instances and callouts before releasing the rib_lock rmlock, preventing a page fault in softclock and VNET resource leaks. Approved by: pouria Fixes: 254b23eb1f5 ("routing: Retire ROUTE_MPATH compile option") Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D60158 --- sys/net/route.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/route.c b/sys/net/route.c index 2cffacf87f27..c51332e75ffd 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -36,6 +36,7 @@ #include "opt_inet.h" #include "opt_inet6.h" #include "opt_mrouting.h" +#include "opt_route.h" #include #include