diff options
author | 2013-07-09 12:45:43 -0700 | |
---|---|---|
committer | 2013-07-09 12:45:43 -0700 | |
commit | e1d6fbc3dedbb463fc79b48ddb05ab6b20fd088a (patch) | |
tree | 6d63721222da5d652d2e4e65991a15007a83a520 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/cadence/macb: fix bug/typo in extracting gem_irq_read_clear bit (diff) | |
parent | virtio_net: fix race in RX VQ processing (diff) | |
download | linux-dev-e1d6fbc3dedbb463fc79b48ddb05ab6b20fd088a.tar.xz linux-dev-e1d6fbc3dedbb463fc79b48ddb05ab6b20fd088a.zip |
virtio_net: fix race in RX VQ processing
Michael S. Tsirkin says:
====================
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
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions