Re: [PATCH 2/2] phonet/pep: fix racy skb_queue_empty() use
From: Paolo Abeni
Date: Tue Feb 13 2024 - 07:14:51 EST
On Sat, 2024-02-10 at 14:50 +0200, Rémi Denis-Courmont wrote:
> From: Rémi Denis-Courmont <courmisch@xxxxxxxxx>
>
> The receive queues are protected by their respective spin-lock, not
> the socket lock. This could lead to skb_peek() unexpectedly
> returning NULL or a pointer to an already dequeued socket buffer.
>
> Signed-off-by: Rémi Denis-Courmont <courmisch@xxxxxxxxx>
Please provide a suitable fixes tag here.
Also include the target tree into the subj prefix when you post the v2.
Thank,
Paolo