Re: [PATCH RT v3] net/xfrm/input: Protect queue with lock

From: Joerg Vehlow
Date: Wed Nov 27 2019 - 02:35:10 EST


Hi Tom,

I didn't remove it, I just posted my patch again.
I think it is up to the maintainers to decide if
it is required or not. Most people using the rt
patches will probably have PREEMPT_RT_FULL enabled anyway.
It will never be integrated into mainline kernel, because
the bug is already fixed in 5.0.19.

JÃrg


Am 26.11.2019 um 16:31 schrieb Tom Rix:
Why remove the #ifdef CONFIG_PREEMPT.. ?


+ spin_lock_irqsave(&trans->queue.lock, flags);
skb_queue_splice_init(&trans->queue, &queue);
+ spin_unlock_irqrestore(&trans->queue.lock, flags);
Fine otherwise.

Tom