netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] virtio_net: fix race in RX VQ processing
@ 2013-07-08  9:05 Michael S. Tsirkin
  2013-07-08  9:04 ` [PATCH 1/2] virtio: support unlocked queue poll Michael S. Tsirkin
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Michael S. Tsirkin @ 2013-07-08  9:05 UTC (permalink / raw)
  To: linux-kernel, netdev, Rusty Russell, Jason Wang, David Miller

Jason Wang reported a race in RX VQ processing:
virtqueue_enable_cb is called outside napi lock,
violating virtio serialization rules.
The race has been there from day 1, but it got especially nasty in 3.0
when commit a5c262c5fd83ece01bd649fb08416c501d4c59d7
"virtio_ring: support event idx feature"
added more dependency on vq state.

Please review, and consider for 3.11 and for stable.

Jason, could you please report whether this fixes the issues for you?

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

end of thread, other threads:[~2013-07-10  4:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08  9:05 [PATCH 0/2] virtio_net: fix race in RX VQ processing Michael S. Tsirkin
2013-07-08  9:04 ` [PATCH 1/2] virtio: support unlocked queue poll Michael S. Tsirkin
2013-07-09  3:26   ` Jason Wang
2013-07-10  3:09   ` Rusty Russell
2013-07-10  4:38   ` Asias He
2013-07-08  9:04 ` [PATCH 2/2] virtio_net: fix race in RX VQ processing Michael S. Tsirkin
2013-07-08 12:52   ` Sergei Shtylyov
2013-07-08 13:08     ` Michael S. Tsirkin
2013-07-09  3:28   ` Jason Wang
2013-07-10  4:39     ` Asias He
2013-07-09  3:17 ` [PATCH 0/2] " Jason Wang
2013-07-09  3:54 ` David Miller

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).