[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250930103018.74d5f85b@kernel.org>
Date: Tue, 30 Sep 2025 10:30:18 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Zqiang <qiang.zhang@...ux.dev>
Cc: horms@...nel.org, davem@...emloft.net, pabeni@...hat.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] usbnet: Fix using smp_processor_id() in preemptible
code warnings
On Tue, 30 Sep 2025 16:46:36 +0800 Zqiang wrote:
> The usbnet_skb_return() can be invoked in preemptible task-context,
> this commit therefore use get_cpu_ptr/put_cpu_ptr() instead of
> this_cpu_ptr() to get stats64 pointer.
We also call netif_rx() which historically wanted to be in bh context.
I think that disabling bh in usbnet_resume_rx() may be a better idea.
--
pw-bot: cr
Powered by blists - more mailing lists