Re: [PATCH net v2] rtase: Avoid sleeping in get_stats64()

From
patchwork-bot+netdevbpf@kernel.org
Date
2026-06-04 16:00:31
Also in
lkml, stable
Reply to
Justin Lai, 2026-06-03
Hello:

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

On Wed, 3 Jun 2026 14:18:16 +0800 you wrote:
The .ndo_get_stats64 callback must not sleep because it can be
called when reading /proc/net/dev.

rtase_get_stats64() calls rtase_dump_tally_counter(), which polls
the tally counter dump bit with read_poll_timeout(). This may
sleep while waiting for the hardware counter dump to complete.

[...]
Here is the summary with links:
  - [net,v2] rtase: Avoid sleeping in get_stats64()
    https://git.kernel.org/netdev/net/c/9fc237f8d49f

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

Thread (2 messages) 2 messages, 2 authors, last reply 2026-06-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help