From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id AD001324B; Tue, 20 Feb 2018 10:30:38 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3789DEB6F0; Tue, 20 Feb 2018 09:30:38 +0000 (UTC) Received: from [10.36.112.55] (ovpn-112-55.ams2.redhat.com [10.36.112.55]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 19A6510B0F22; Tue, 20 Feb 2018 09:30:33 +0000 (UTC) To: Tomasz Kulasek , yliu@fridaylinux.org Cc: dev@dpdk.org, yuanhan.liu@linux.intel.com, stable@dpdk.org, Ziye Yang References: <20180209171919.6176-1-tomaszx.kulasek@intel.com> From: Maxime Coquelin Message-ID: Date: Tue, 20 Feb 2018 10:30:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180209171919.6176-1-tomaszx.kulasek@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 20 Feb 2018 09:30:38 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 20 Feb 2018 09:30:38 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'maxime.coquelin@redhat.com' RCPT:'' Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] vhost: fix realloc failure X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 09:30:38 -0000 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@linux.intel.com > Cc:stable@dpdk.org > > Signed-off-by: Ziye Yang > Signed-off-by: Tomasz Kulasek > --- > lib/librte_vhost/vhost_user.c | 29 +++++++++++++++++++++++------ > 1 file changed, 23 insertions(+), 6 deletions(-) Reviewed-by: Maxime Coquelin and applied to dpdk-next-virtio/master. Thanks, Maxime