Re: [PATCH 6.6.y] net: Drop the lock in skb_may_tx_timestamp()
From: Sasha Levin
Date: Fri Jul 10 2026 - 17:06:28 EST
On Thu, Jul 09, 2026 at 08:58:16PM +0800, Philo Lu wrote:
> skb_may_tx_timestamp() may acquire sock::sk_callback_lock. The lock must
> not be taken in IRQ context, only softirq is okay. A few drivers receive
> the timestamp via a dedicated interrupt and complete the TX timestamp
> from that handler. This will lead to a deadlock if the lock is already
> write-locked on the same CPU.
Queued for 6.6, thanks.
--
Thanks,
Sasha