From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4496FA0579 for ; Wed, 7 Apr 2021 04:48:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35C6A14106D; Wed, 7 Apr 2021 04:48:29 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id CC863407FF; Wed, 7 Apr 2021 04:48:25 +0200 (CEST) IronPort-SDR: j4UsFvk83jzwz40l+s2ccBY9ApybdLs92XoeYS0rCNrewdTp5tUFdvOzvNgN80WXGQBHnE6rek +pAX4Qe3EQww== X-IronPort-AV: E=McAfee;i="6000,8403,9946"; a="173283664" X-IronPort-AV: E=Sophos;i="5.82,201,1613462400"; d="scan'208";a="173283664" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2021 19:48:24 -0700 IronPort-SDR: qFCqOXqu+joDzSuptHpznlSD1KNX5gKkPFVkpa/s2Z2q3eOGele0vAWyeksJKbZ01NmwdPCTnr e3hRC8rkWUsg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,201,1613462400"; d="scan'208";a="519267146" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga001.fm.intel.com with ESMTP; 06 Apr 2021 19:48:24 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 6 Apr 2021 19:48:24 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 7 Apr 2021 10:48:22 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2106.013; Wed, 7 Apr 2021 10:48:22 +0800 From: "Liu, Yong" To: "Xia, Chenbo" , "maxime.coquelin@redhat.com" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] vhost: fix accessing uninitialized variables Thread-Index: AQHXD/7e0Mnn3Qr+iU+gkNCc9+o+sKqmswaAgAHdpXA= Date: Wed, 7 Apr 2021 02:48:22 +0000 Message-ID: References: <20210303072755.82979-1-yong.liu@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] vhost: fix accessing uninitialized variables X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWGlhLCBDaGVuYm8gPGNo ZW5iby54aWFAaW50ZWwuY29tPg0KPiBTZW50OiBUdWVzZGF5LCBBcHJpbCA2LCAyMDIxIDI6MTgg UE0NCj4gVG86IExpdSwgWW9uZyA8eW9uZy5saXVAaW50ZWwuY29tPjsgbWF4aW1lLmNvcXVlbGlu QHJlZGhhdC5jb20NCj4gQ2M6IGRldkBkcGRrLm9yZzsgc3RhYmxlQGRwZGsub3JnDQo+IFN1Ympl Y3Q6IFJFOiBbUEFUQ0hd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