All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] virtio_net: fix race in RX VQ processing
@ 2013-07-09  5:12 Michael S. Tsirkin
  2013-07-09  5:13   ` Michael S. Tsirkin
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Michael S. Tsirkin @ 2013-07-09  5:12 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 stable.

Changes from v1:
	- Added Jason's Tested-by tag
	- minor coding style fix


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

end of thread, other threads:[~2013-07-09 19:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-09  5:12 [PATCH v2 0/2] virtio_net: fix race in RX VQ processing Michael S. Tsirkin
2013-07-09  5:13 ` [PATCH v2 1/2] virtio: support unlocked queue poll Michael S. Tsirkin
2013-07-09  5:13   ` Michael S. Tsirkin
2013-07-09  5:13 ` [PATCH v2 2/2] virtio_net: fix race in RX VQ processing Michael S. Tsirkin
2013-07-09  5:13   ` Michael S. Tsirkin
2013-07-09  9:32 ` [PATCH v2 0/2] " David Miller
2013-07-09 10:21   ` Michael S. Tsirkin
2013-07-09 10:19 ` [PATCH v2 1/2] virtio: support unlocked queue poll Michael S. Tsirkin
2013-07-09 19:46 ` [PATCH v2 0/2] virtio_net: fix race in RX VQ processing David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.