[dpdk-dev] [PATCH] vhost: fix realloc failure

Maxime Coquelin maxime.coquelin at redhat.com
Tue Feb 20 10:30:32 CET 2018



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:yuanhan.liu at linux.intel.com
> Cc:stable at dpdk.org
> 
> Signed-off-by: Ziye Yang<ziye.yang at intel.com>
> Signed-off-by: Tomasz Kulasek<tomaszx.kulasek at intel.com>
> ---
>   lib/librte_vhost/vhost_user.c | 29 +++++++++++++++++++++++------
>   1 file changed, 23 insertions(+), 6 deletions(-)

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

and applied to dpdk-next-virtio/master.

Thanks,
Maxime


More information about the dev mailing list