Re: [PATCH] rtl8xxxu: Simplify locking of a skb list accesses

From: Kalle Valo
Date: Sat Apr 17 2021 - 13:55:45 EST


Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:

> The 'c2hcmd_lock' spinlock is only used to protect some __skb_queue_tail()
> and __skb_dequeue() calls.
> Use the lock provided in the skb itself and call skb_queue_tail() and
> skb_dequeue(). These functions already include the correct locking.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

431eb49e87ed rtl8xxxu: Simplify locking of a skb list accesses

--
https://patchwork.kernel.org/project/linux-wireless/patch/8bcec6429615aeb498482dc7e1955ce09b456585.1617613700.git.christophe.jaillet@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches