Skip to content

Some fixes for vhost zero copy

Tiwei Bie dpdk-dev 1 version Applied

Status from this message: Applied to dpdk-next-virtio/master.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4vhost: restore mbuf first when freeing zmbuflib/librte_vhost/vhost.h lib/librte_vhost/vhost_user.c lib/librte_vhost/virtio_net.c+17 -161 reply
2/4vhost: fix potential use-after-free for zero copy mbuflib/librte_vhost/vhost.h lib/librte_vhost/vhost_user.c lib/librte_vhost/virtio_net.c+15 -121 reply
3/4vhost: fix potential use-after-free for memory regionlib/librte_vhost/vhost.h lib/librte_vhost/vhost_user.c lib/librte_vhost/virtio_net.c+39 -191 reply
4/4doc: improve vhost zero copy guidedoc/guides/prog_guide/vhost_lib.rst+3 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMaxime Coquelin
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Some fixes for vhost zero copy

Tiwei Bie (4):
vhost: restore mbuf first when freeing zmbuf
vhost: fix potential use-after-free for zero copy mbuf
vhost: fix potential use-after-free for memory region
doc: improve vhost zero copy guide

 doc/guides/prog_guide/vhost_lib.rst |  3 +++
 lib/librte_vhost/vhost.h            | 34 +++++++++++++++++++++++
 lib/librte_vhost/vhost_user.c       | 42 ++++++++++++++++++++++-------
 lib/librte_vhost/virtio_net.c       | 34 -----------------------
 4 files changed, 70 insertions(+), 43 deletions(-)
Signature · 1 line
2.17.1