aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2018-12-13 10:53:37 +0800
committerDavid S. Miller <davem@davemloft.net>2018-12-12 21:56:19 -0800
commit841df922417eb82c835e93d4b93eb6a68c99d599 (patch)
tree0286f8784c5eafeda7b38db9cc989780b34387cf /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-queue (diff)
downloadlinux-dev-841df922417eb82c835e93d4b93eb6a68c99d599.tar.xz
linux-dev-841df922417eb82c835e93d4b93eb6a68c99d599.zip
vhost: make sure used idx is seen before log in vhost_add_used_n()
We miss a write barrier that guarantees used idx is updated and seen before log. This will let userspace sync and copy used ring before used idx is update. Fix this by adding a barrier before log_write(). Fixes: 8dd014adfea6f ("vhost-net: mergeable buffers support") Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> 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