mbox

[0/4] Some fixes for vhost zero copy

Message ID 20190222024209.30879-1-tiwei.bie@intel.com (mailing list archive)
Headers

Message

Tiwei Bie Feb. 22, 2019, 2:42 a.m. UTC
  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(-)