virtio_net: fix race in RX VQ processing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v12 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- Added Jason's Tested-by tag
- minor coding style fix
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | virtio: support unlocked queue polldrivers/ include/ | +48 | 0 replies | |
| 1/2 | virtio: support unlocked queue polldrivers/ include/ | +48 | 0 replies | |
| 2/2 | virtio_net: fix race in RX VQ processingdrivers/ | +3 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Jason Wang |
|---|---|
| 1/2 | |
| 1/2 | |
| 2/2 | T-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] virtio_net: fix race in RX VQ processing
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