Thread (5 messages) flat view 5 messages, 3 authors, 10d ago

Re: [PATCH v1 net] net/sched: cls_api: Don't replay RTM_GETCHAIN in tc_ctl_chain().

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-10 10:11:11

Hello:

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

On Tue,  8 Sep 2026 20:55:25 +0000 you wrote:
If a netlink socket sends RTM_GETCHAIN requests repeatedly
without recv()ing the responses, tc_ctl_chain() hogs CPU and
triggers Hung Task splat. [0]

As caught in the stack trace, netlink_attachskb() could confuse
tc_ctl_chain() by returning -EAGAIN when the userspace netlink
socket's receive buffer is full.

[...]
Here is the summary with links:
  - [v1,net] net/sched: cls_api: Don't replay RTM_GETCHAIN in tc_ctl_chain().
    https://git.kernel.org/netdev/net/c/dff39930ad5e

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