From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 324AF1B38E; Sun, 11 Feb 2018 04:55:18 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Feb 2018 19:55:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,493,1511856000"; d="scan'208";a="26580399" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 10 Feb 2018 19:55:16 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 10 Feb 2018 19:55:16 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 10 Feb 2018 19:55:16 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.253]) with mapi id 14.03.0319.002; Sun, 11 Feb 2018 11:55:14 +0800 From: "Tan, Jianfeng" To: "Kulasek, TomaszX" , "yliu@fridaylinux.org" CC: "dev@dpdk.org" , "stable@dpdk.org" , "Yang, Ziye" Thread-Topic: [dpdk-dev] [PATCH] vhost: fix realloc failure Thread-Index: AQHTocpZ71XrQITvVkKJair7IzaaNqOelHcg Date: Sun, 11 Feb 2018 03:55:14 +0000 Message-ID: References: <20180209171919.6176-1-tomaszx.kulasek@intel.com> In-Reply-To: <20180209171919.6176-1-tomaszx.kulasek@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] vhost: fix realloc failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 03:55:20 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:19 AM > To: yliu@fridaylinux.org > Cc: dev@dpdk.org; yuanhan.liu@linux.intel.com; stable@dpdk.org; Yang, > Ziye > Subject: [dpdk-dev] [PATCH] vhost: fix realloc failure >=20 > When reallocation of guest pages fails, vhost_user_set_mem_table() also > should fail. >=20 > Fixes: e246896178e6 ("vhost: get guest/host physical address mappings") > Cc: yuanhan.liu@linux.intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Ziye Yang > Signed-off-by: Tomasz Kulasek Reviewed-by: Jianfeng Tan