Re: [PATCH net 0/2] virtio_net: fix race on control_buf
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2024-06-23 10:06:50
Also in:
virtualization
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2024-06-23 10:06:50
Also in:
virtualization
On Tue, May 28, 2024 at 03:52:24PM +0800, Heng Qi wrote:
Patch 1 did a simple rename, leaving 'ret' for patch 2. Patch 2 fixed a race between reading the device response and the new command submission.
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Heng Qi (2): virtio_net: rename ret to err virtio_net: fix missing lock protection on control_buf access drivers/net/virtio_net.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) -- 2.32.0.3.g01195cf9f