Re: [PATCH] xen/netback: avoid race in xenvif_rx_ring_slots_available()

From: Jakub Kicinski
Date: Wed Feb 03 2021 - 18:49:01 EST


On Tue, 2 Feb 2021 08:09:38 +0100 Juergen Gross wrote:
> Since commit 23025393dbeb3b8b3 ("xen/netback: use lateeoi irq binding")
> xenvif_rx_ring_slots_available() is no longer called only from the rx
> queue kernel thread, so it needs to access the rx queue with the
> associated queue held.
>
> Reported-by: Igor Druzhinin <igor.druzhinin@xxxxxxxxxx>
> Fixes: 23025393dbeb3b8b3 ("xen/netback: use lateeoi irq binding")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Should we route this change via networking trees? I see the bug did not
go through networking :)