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

From: Tom Rix
Date: Tue Nov 26 2019 - 10:32:07 EST


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