netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] virtio_net: fix race on control_buf
@ 2024-05-28  7:52 Heng Qi
  2024-05-28  7:52 ` [PATCH net 1/2] virtio_net: rename ret to err Heng Qi
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Heng Qi @ 2024-05-28  7:52 UTC (permalink / raw)
  To: netdev, virtualization
  Cc: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Jiri Pirko, Daniel Jurgens

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.

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-06-23 10:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28  7:52 [PATCH net 0/2] virtio_net: fix race on control_buf Heng Qi
2024-05-28  7:52 ` [PATCH net 1/2] virtio_net: rename ret to err Heng Qi
2024-05-28  8:31   ` Hariprasad Kelam
2024-05-30  0:10   ` Jakub Kicinski
2024-05-30  3:10     ` Heng Qi
2024-05-28  7:52 ` [PATCH net 2/2] virtio_net: fix missing lock protection on control_buf access Heng Qi
2024-05-28  8:32   ` Hariprasad Kelam
2024-05-28 15:46   ` Michael S. Tsirkin
2024-05-28 16:01     ` Heng Qi
2024-05-28 16:45       ` Michael S. Tsirkin
2024-05-29  2:02         ` Heng Qi
2024-06-23 10:06 ` [PATCH net 0/2] virtio_net: fix race on control_buf Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).