On 02/09/2018 06:19 PM, Tomasz Kulasek wrote:
When reallocation of guest pages fails, vhost_user_set_mem_table() also
should fail.
Fixes: e246896178e6 ("vhost: get guest/host physical address mappings")
Cc:[email protected]
Cc:[email protected]
Signed-off-by: Ziye Yang<[email protected]>
Signed-off-by: Tomasz Kulasek<[email protected]>
---
lib/librte_vhost/vhost_user.c | 29 +++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)
Reviewed-by: Maxime Coquelin <[email protected]>
and applied to dpdk-next-virtio/master.
Thanks,
Maxime