From: patchwork-bot+netdevbpf@kernel.org
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev@vger.kernel.org, dsahern@kernel.org
Subject: Re: [PATCH iproute2] lib: bound the hostname cache in resolve_address
Date: Wed, 11 Nov 2026 00:00:20 +0000 [thread overview]
Message-ID: <179435522017.125436.18266005474398577569.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261109180832.300754-1-stephen@networkplumber.org>
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
On Mon, 9 Nov 2026 10:08:32 -0800 you wrote:
> The reverse lookup cache in resolve_address() grows without bound,
> including negative entries, so a long running "ip -r monitor" can be
> made to consume memory by churning addresses.
>
> Replace it with a small fixed size open addressed table (32 slots,
> multiplicative hash, oldest entry in the probe window is replaced)
> and use getnameinfo() instead of the obsolete gethostbyaddr().
>
> [...]
Here is the summary with links:
- [iproute2] lib: bound the hostname cache in resolve_address
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=f7ebdb7e560e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-11-11 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 18:08 [PATCH iproute2] lib: bound the hostname cache in resolve_address Stephen Hemminger
2026-11-11 0:00 ` patchwork-bot+netdevbpf [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=179435522017.125436.18266005474398577569.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=dsahern@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.