diff options
author | 2018-03-09 14:50:33 +0800 | |
---|---|---|
committer | 2018-03-09 12:02:59 -0500 | |
commit | 303fd71b37fb710b26f5ff5444029d62cfd627bd (patch) | |
tree | 293b96678dda7f617ccf9a8e167f4ac977f3a17c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vhost_net: initialize rx_ring in vhost_net_open() (diff) | |
download | wireguard-linux-303fd71b37fb710b26f5ff5444029d62cfd627bd.tar.xz wireguard-linux-303fd71b37fb710b26f5ff5444029d62cfd627bd.zip |
vhost_net: keep private_data and rx_ring synced
We get pointer ring from the exported sock, this means we should keep
rx_ring and vq->private synced during both vq stop and backend set,
otherwise we may see stale rx_ring.
Fixes: c67df11f6e480 ("vhost_net: try batch dequing from skb array")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@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