diff options
author | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2021-08-26 14:43:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 14:43:11 +0200 |
commit | 2ed612697e8fde14e9995cc1ac4dd5143ae8e0b7 (patch) | |
tree | 3dcad704486a9b650c065e4bf82961ede1823a53 /docs/vfio-user.rst | |
parent | 647c9341d2e06266a710ddd075f69c95dd3b8446 (diff) | |
download | libvfio-user-2ed612697e8fde14e9995cc1ac4dd5143ae8e0b7.zip libvfio-user-2ed612697e8fde14e9995cc1ac4dd5143ae8e0b7.tar.gz libvfio-user-2ed612697e8fde14e9995cc1ac4dd5143ae8e0b7.tar.bz2 |
Fix err path of handle_dma_unmap() (#597)
* initial dma_unmap test
Signed-off-by: John Levon <john.levon@nutanix.com>
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
* Fix err path of handle_dma_unmap()
Set msg->out_size before successful return. Otherwise in case of error
reply path we may endup setting iovecs[1].iov_len with invalid
iovecs[1].iov_base in tran_sock_reply()
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'docs/vfio-user.rst')
0 files changed, 0 insertions, 0 deletions