Thread (6 messages) 6 messages, 4 authors, 2d ago

Re: [PATCH net] net: do not send ICMP/NDISC Redirects when peer allocation fails

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-27 22:20:50

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Fri, 24 Jul 2026 07:29:01 +0000 you wrote:
When inet_getpeer_v4() or inet_getpeer_v6() fails to allocate a peer entry
under memory pressure or tree size caps, redirect handlers previously fell
back to sending un-rate-limited ICMP/NDISC Redirect messages.

In IPv4, ip_rt_send_redirect() called icmp_send() directly when peer == NULL.
In IPv6, ip6_forward() and ndisc_send_redirect() passed a NULL peer into
inet_peer_xrlim_allow(), which returned true when peer == NULL.

[...]
Here is the summary with links:
  - [net] net: do not send ICMP/NDISC Redirects when peer allocation fails
    https://git.kernel.org/netdev/net/c/dbc3791e3b24

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help