Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Fri, 16 Oct 2026 15:40
Re: [PATCH net v6] usbnet: fix smp_processor_id() use in preemptible context
Author: patchwork-bot+netdevbpf
Date: Fri, 16 Oct 2026 15:40
Date: Fri, 16 Oct 2026 15:40
27 lines
6620 bytes
6620 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 5 Oct 2026 00:59:25 +0300 you wrote:
> tx_complete() calls this_cpu_ptr() before disabling preemption, which
> triggers a BUG when running with CONFIG_DEBUG_PREEMPT:
>
> BUG: using smp_processor_id() in preemptible code in tx_complete
>
> Fix by using get_cpu_ptr()/put_cpu_ptr() which disable preemption and
> return the per-CPU pointer atomically. The usbnet_skb_return() hunk
> is a hardening change: that path runs in softirq context so no warning
> fires there, but the same fix is applied for consistency.
>
> [...]
Here is the summary with links:
- [net,v6] usbnet: fix smp_processor_id() use in preemptible context
https://git.kernel.org/netdev/net-next/c/95a5c641fc7b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads