From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (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 E75CC50276 for ; Sat, 7 Mar 2026 02:47:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772851634; cv=none; b=An7UO5JYcz99WW5J9aNDmMh5DlzwZC1g7/I6WK03ILZZrWV/vzu2g+/gk3hhxAXvHLMkiHxXKj2WqrCJzyNtCwV517IicopSOG062pfCc35zNuLHgehpVOuoaBKj437Flyp59OBsVbhVj80NyWkNkCg4cM4aRcqSnEi11QrsoQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772851634; c=relaxed/simple; bh=NXkD5NZbIwr7vYu1DnzMQtIKed4XPAL825z7uEKI8Os=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=WlMTvu9qr5lXI0NECNd2XcfSa35cmWDzXmian+N0CFANKUINUZk/52BbJhTfZ5JsG0Jn84dTVLf8zwzNU1p0CzhZVefkwJkQj1MVRYfflT70F0DvFpUqO9SFzwNET7Yd24PsyeSna2hB2z3GTPyQ64hHXm3ydvZyRj0dBHH4pTo= 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=ZhZ4A6cD; arc=none smtp.client-ip=209.85.214.202 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="ZhZ4A6cD" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-2ae4f27033cso63489285ad.3 for ; Fri, 06 Mar 2026 18:47:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772851632; x=1773456432; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=l3O+qKqpgyWwWnIN0cSSlw5OJuUTa1+ixXidJw46y0s=; b=ZhZ4A6cDs4L7a52Ww+frlDU7+Afx+Vbl6IAE7SnVODMsKRvGDx+Uaat/d4xfVwCJqi gPP/HDpC/5iUSN8Rw0F+IhKk3UkFQP0VENpAePVX7UOxLoaG5ITJ+UqxOlp0DgKrQb9s nhp6McvQPyIoTYvR1ufC7ejClOAuYo+yzX/Bn0Ra+OEFh1ZxbYpRXG7CbHs6s887HSb9 g05OeluGSbOdTC6ax49fSjqg6AJKFk/0F9QEe0prDtk6sIIyy3t9EC+lORKxSOAlBjxi Akr///4IRfc4nwbFvBvLuoXZcW2cmyWRahMDdH9Supi8ygBYg0h2OuwPyzx6+nmtu/Kp C4MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772851632; x=1773456432; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=l3O+qKqpgyWwWnIN0cSSlw5OJuUTa1+ixXidJw46y0s=; b=FUVhhcNjThWa/6ItUC7eFNBDdDDAuwRmhf2FYoHId/9GjDatmcQrT2tIM4fcfhkj0G 1dxfyYK1wZIhAJcHVTe6HzSqIKQLQIGFWyEkMA1g/sR/m3mgcAesVL/HcbQ5TA6pmupw uSdquJdYRaTHJx0sVGHMw3Pk9pp7tgATEuBi6r0sUMNPzHRq7Ae8wWbAmjBL8TNoPtKV cG7cG3/midKaY8y0c/DgV/HJczHMQWdWcDn9Wl4pq9y3UtgCu9GdjEwSWocHf7VzRHz6 W9ECbQr3rgBLZ2xSB9ElrvwPDlAiJfc0pIO1NoRUHAwJLiHkUBbrKJcZDAf/vn91/Sk2 e0Fw== X-Forwarded-Encrypted: i=1; AJvYcCXzuUgWkUZo+oJV08xRunClbCkm2oe3ARv1aHjmGjsp91hxM2VKx8TeIcvVwtXRpMM78gkH2A8=@vger.kernel.org X-Gm-Message-State: AOJu0YyYqaejzptaMuZHq2JTL1pmVPKl6zbFrfhS6EV3OYyiIhutqjSF Qm20NKhV+UduRseyW0I6PkQP0SWJ8Deq9hg4d31SMOI5Gu5HA5MJCmEx1sERfoR4xvKaJmw9GAL ka5/3Vw== X-Received: from plv2.prod.google.com ([2002:a17:903:bc2:b0:2ae:4964:6fe2]) (user=kuniyu job=prod-delivery.src-stubby-dispatcher) by 2002:a17:903:19ce:b0:2ad:e975:4735 with SMTP id d9443c01a7336-2ae8239798emr39703055ad.20.1772851632024; Fri, 06 Mar 2026 18:47:12 -0800 (PST) Date: Sat, 7 Mar 2026 02:46:55 +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: <20260307024709.718395-1-kuniyu@google.com> Subject: [PATCH v1 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. 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 | 17 ++++++++++++++++- net/ipv6/addrconf.c | 4 ++-- net/ipv6/ip6_fib.c | 15 +++++++++++++-- net/ipv6/route.c | 2 +- 4 files changed, 32 insertions(+), 6 deletions(-) -- 2.53.0.473.g4a7958ca14-goog