From: Ido Schimmel <idosch@nvidia.com>
To: David Ahern <dsahern@kernel.org>
Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, willemb@google.com,
horms@kernel.org
Subject: Re: [PATCH net-next 0/2] ipv6: remove dst_ops gc handler
Date: Wed, 2 Dec 2026 12:04:50 +0200 [thread overview]
Message-ID: <20261202100450.GA2543004@shredder> (raw)
In-Reply-To: <20261202015529.7846-1-dsahern@kernel.org>
On Tue, Dec 01, 2026 at 06:55:21PM -0700, David Ahern wrote:
> IPv6 is the only address family that still uses dst_ops->gc to
> limit dst entries. ip6_dst_gc() runs from dst_alloc() whenever
> the entry count exceeds gc_thresh. It never fails an allocation
> (max_size is already INT_MAX); it only forces a fib6_run_gc()
> pass. That pass can free expired exceptions and expired routes
> on the FIB6 gc list. It cannot free uncached dsts, which are
> held by sockets and skbs.
>
> Remove the handler and rely on the structural limits that
> already bound the dst count, the same way IPv4 does.
You will need to repost this after Willem's patch [1] is in net-next
since both submissions conflict.
[1] https://lore.kernel.org/netdev/20261201015652.38202-1-willemb@google.com/
prev parent reply other threads:[~2026-12-02 10:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 1:55 [PATCH net-next 0/2] ipv6: remove dst_ops gc handler David Ahern
2026-12-02 1:55 ` [PATCH net-next 1/2] " David Ahern
2026-12-02 1:55 ` [PATCH net-next 2/2] selftests: Add stress test for dst_entries David Ahern
2026-12-02 10:04 ` Ido Schimmel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202100450.GA2543004@shredder \
--to=idosch@nvidia.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox