Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost: fix double-free with zero-copy
[ upstream commit a608436 ] zmbufs should be set to NULL when getting freed to avoid double free on the same buffer pointer Fixes: b0a985d ("vhost: add dequeue zero copy") Signed-off-by: Patrick Fu <patrick.fu@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
- Loading branch information