From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 8A1BB25A1; Thu, 29 Mar 2018 09:02:02 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2018 00:02:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,375,1517904000"; d="scan'208";a="212257900" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga005.jf.intel.com with ESMTP; 29 Mar 2018 00:02:00 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 29 Mar 2018 00:02:00 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.235]) by shsmsx102.ccr.corp.intel.com ([169.254.2.80]) with mapi id 14.03.0319.002; Thu, 29 Mar 2018 15:01:57 +0800 From: "Tan, Jianfeng" To: Maxime Coquelin , Victor Kaplansky CC: "dev@dpdk.org" , "stable@dpdk.org" , "Yang, Yi Y" , "Harris, James R" , "Yang, Ziye" , "Liu, Changpeng" , "Wodkowski, PawelX" , "Stojaczyk, DariuszX" , Yuanhan Liu Thread-Topic: [PATCH] vhost: fix segfault as handle set_mem_table message Thread-Index: AQHTXgZrlzCne6HYM0y7DBrZO8ttJaMpQVKAgAskwgCAAAJMgICy59RA Date: Thu, 29 Mar 2018 07:01:56 +0000 Message-ID: References: <1510746068-143223-1-git-send-email-jianfeng.tan@intel.com> <20171205141954.GF9111@yliu-dev> In-Reply-To: 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="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] vhost: fix segfault as handle set_mem_table message 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: Thu, 29 Mar 2018 07:02:03 -0000 SGkgTWF4aW1lIGFuZCBWaWN0b3IsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4g RnJvbTogTWF4aW1lIENvcXVlbGluIFttYWlsdG86bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb21d DQo+IFNlbnQ6IFR1ZXNkYXksIERlY2VtYmVyIDUsIDIwMTcgMTA6MjggUE0NCj4gVG86IFl1YW5o YW4gTGl1OyBUYW4sIEppYW5mZW5nOyBWaWN0b3IgS2FwbGFuc2t5DQo+IENjOiBkZXZAZHBkay5v cmc7IHN0YWJsZUBkcGRrLm9yZzsgWWFuZywgWWkgWQ0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSB2 aG9zdDogZml4IHNlZ2ZhdWx0IGFzIGhhbmRsZSBzZXRfbWVtX3RhYmxlIG1lc3NhZ2UNCj4gDQo+ IA0KPiANCj4gT24gMTIvMDUvMjAxNyAwMzoxOSBQTSwgWXVhbmhhbiBMaXUgd3JvdGU6DQo+ID4g T24gVHVlLCBOb3YgMjgsIDIwMTcgYXQgMDE6MDk6MjlQTSArMDEwMCwgTWF4aW1lIENvcXVlbGlu IHdyb3RlOg0KPiA+Pg0KPiA+Pg0KPiA+PiBPbiAxMS8xNS8yMDE3IDEyOjQxIFBNLCBKaWFuZmVu ZyBUYW4gd3JvdGU6DQo+ID4+PiBJbiBhIHJ1bm5pbmcgVk0sIG9wZXJhdGlvbnMgKGxpa2UgZGV2 aWNlIGF0dGFjaC9kZXRhY2gpIHdpbGwNCj4gPj4+IHRyaWdnZXIgdGhlIFFFTVUgdG8gcmVzZW5k IHNldF9tZW1fdGFibGUgd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