From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 987D932FA28 for ; Wed, 11 Mar 2026 05:29:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773206998; cv=none; b=JCW/b72pcmgHuJJDqJ8ZzM9EnQZJv3Jmjfgj/dgBS3QGRSDbF2LJudpuQ7/tc76E+zLxDwHOsYoe62nXvElows4iMyA9JA5wryu7+sfq+cIvqknBzx6zRPqHNlOsPDrmbD6SVxv86Is3Ofc74APDxLEaQX6xK8LEUHSUmHA9PFg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773206998; c=relaxed/simple; bh=2Z1aywPlQPnrNnMLwNuMtxJMOxcgarA40uKF6sNAE5M=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=FgsXDl7OJQ8vGo4SUP5iPHrwOpId2oCupQJAXY4hPyZ0U3ZiHh0HPnuAoMmatKvnhoPE3uSzLMY5L6cP0p+LrVgKxY3OZKHbKozZq/PlEuVN0SOLwdMzXG6fLoRBtKZYlNVXFgwXHzS6Pm3/piqU7BqXweRP04Om88JW/GVewPQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--kuniyu.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=XdwyEoZf; arc=none smtp.client-ip=209.85.210.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--kuniyu.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="XdwyEoZf" Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-8299499d587so2587704b3a.0 for ; Tue, 10 Mar 2026 22:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1773206997; x=1773811797; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=Exk8yv3cjyAHr+tLEDTsJE/Fo63xCIyg3B8w3sdy2QE=; b=XdwyEoZfFnz2kFOu12TDWRgyO4Kk7FC6f7BJkTYHcW2LaXvS3JcisjoKI0niseiPWf Rli1rpZnVFBl+1V67tWrakIovIUc7sESuCTbwFkD5yqUlaERsL797VenoQusGwgnsuA0 vgIH1oFkvZLjL8tZIKI7Mr4paKXXstIInMKKWctRLtXB/KpFyS4G6yLvB7gwFuR7Krtt h7BAsPZrWZOJwFJ9XXasdvKQlrKdqRWGfTq4xpmFyaK6fmpYIH/oNY4FXVk+D80AJxWb R8w4MqDwnC2EmWbU0DeZelTITjRlCHi7OyBk5mu4phoz5/KG+sMa477lf0rxFWDgy6oW ThFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773206997; x=1773811797; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Exk8yv3cjyAHr+tLEDTsJE/Fo63xCIyg3B8w3sdy2QE=; b=Q4VGZLH5jT0Rjt+gviBAZ9lafQFipewOCoslEgad9fgmpL+TBgbUecGmtXPvIItJZ6 1tEIKVdIGfbYotAshqatGVHeu79ACWYR6KgDpcCa5xtE5yhQxxp7iFd5q8j/IHAoJzUF ENsd5RGIQpa+YqW5eLR9G/sj6lToICFioh2eyGGX2sNf4uPUIVH3vipRaxeJfku5oWCE Q8rFQ8xzwiIr0BIi1tL3Zexnn/EmL+Z6pOmacUO6rBHiwJimL4bEIMNZhNpkgMkwHVo5 WY97+gi2M+5MwqheDWB/vnGT3im5sOqOhjfX0Su+2hsHhH8ZBAMfhtWqngNvnO0K/EvY Om1Q== X-Forwarded-Encrypted: i=1; AJvYcCVLq8EIl8A6mRmK3XYw1eoAuTuHFj5H5Jz8MGpqy2oKk9U1qscFlsWdxUkFQ8wxbVBKRUzB9T8=@vger.kernel.org X-Gm-Message-State: AOJu0Yy066Px38bvUs8ED+Zczw+MRlfxjoJG7n8dE4AzoUNBAV9I3Ugw 5NDHJsveJGAXWmBykM3Ty38QqqfbtgdGZAYq4PLyfaaq0bsoLxf7wjUpOE9LC7a+IDxdl64tZXU u5XVhww== X-Received: from pfnv24.prod.google.com ([2002:aa7:8518:0:b0:824:c9a6:b9a5]) (user=kuniyu job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:2d1a:b0:81e:6d2d:a121 with SMTP id d2e1a72fcca58-829f72690fdmr1217881b3a.62.1773206996767; Tue, 10 Mar 2026 22:29:56 -0700 (PDT) Date: Wed, 11 Mar 2026 05:29:41 +0000 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.53.0.473.g4a7958ca14-goog Message-ID: <20260311052954.1224278-1-kuniyu@google.com> Subject: [PATCH v4 net 0/2] ipv6: Fix two GC issues with permanent routes. From: Kuniyuki Iwashima To: David Ahern , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Kui-Feng Lee , Xin Long , Simon Horman , Kuniyuki Iwashima , Kuniyuki Iwashima , netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Patch 1 fixes the unbounded growth of tb6_gc_hlist due to permanent routes whose exception routes have all expired. Patch 2 fixes an issue where exception routes tied to permanent routes are not properly aged. Changes: v4: Patch 2: s/,/;/ for fib6_gc_args initialisation v3: https://lore.kernel.org/netdev/20260309180804.3471287-1-kuniyu@google.com/ Patch 2: Use IS_ENABLED() v2: https://lore.kernel.org/netdev/20260308032304.1841198-1-kuniyu@google.com/ Patch 2: Fix build failure when CONFIG_IPV6=n (no net->ipv6 definition) v1: https://lore.kernel.org/netdev/20260307024709.718395-1-kuniyu@google.com/ Kuniyuki Iwashima (2): ipv6: Remove permanent routes from tb6_gc_hlist when all exceptions expire. ipv6: Don't remove permanent routes with exceptions from tb6_gc_hlist. include/net/ip6_fib.h | 19 ++++++++++++++++++- net/ipv6/addrconf.c | 4 ++-- net/ipv6/ip6_fib.c | 15 +++++++++++++-- net/ipv6/route.c | 2 +- 4 files changed, 34 insertions(+), 6 deletions(-) -- 2.53.0.473.g4a7958ca14-goog