Re: [PATCH net] net: raw: fix ICMP unreachable sent when receive queue is full
From: patchwork-bot+netdevbpf
Date: Mon Nov 09 2026 - 22:00:05 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 4 Nov 2026 19:57:26 +0800 you wrote:
> It's found in a raw socket application. When the application doesn't
> read packets in time, the client receives ICMP Protocol Unreachable,
> which makes the client abort the session.
>
> The reason is that the server hits the sk_rcvbuf limit, and
> raw_v4_input() skips the socket before setting 'delivered', so it
> returns 0. Then ip_protocol_deliver_rcu() sees 'raw' is 0, thinks no one
> handles this protocol and calls icmp_send() to send ICMP Protocol
> Unreachable.
>
> [...]
Here is the summary with links:
- [net] net: raw: fix ICMP unreachable sent when receive queue is full
https://git.kernel.org/netdev/net/c/45441a94d502
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html