From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 77E8DA0093 for ; Fri, 22 May 2020 04:17:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5B8A11D8CC; Fri, 22 May 2020 04:17:59 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A453A1D8CC; Fri, 22 May 2020 04:17:57 +0200 (CEST) IronPort-SDR: PhESjg0olIlV1407yZyt/MYiTVQ+k61YCN0ASxjAJcwRTcC9CedOLO5FvbImN7ybCMT44Nmmcq sHNieD+XtKFA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2020 19:17:56 -0700 IronPort-SDR: aKJbise/UOLJ8zG7i/XoouPYidj13oEYfx4QXtaCO5p2C/NVAHTU2sSQIGsHAHyJn2V2NEZH3S RFZRp83dloyw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,420,1583222400"; d="scan'208";a="374629401" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 21 May 2020 19:17:56 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 May 2020 19:17:56 -0700 Received: from cdsmsx101.ccr.corp.intel.com (172.17.3.36) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 May 2020 19:17:55 -0700 Received: from cdsmsx102.ccr.corp.intel.com ([169.254.2.227]) by CDSMSX101.ccr.corp.intel.com ([169.254.1.188]) with mapi id 14.03.0439.000; Fri, 22 May 2020 10:17:53 +0800 From: "Zhang, XiX" To: "Yigit, Ferruh" , Rasesh Mody CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] examples/kni: fix crash during MTU set Thread-Index: AQHWL4IJzWfB0mE0MkmQuwJ0A5wvZaizXxQg Date: Fri, 22 May 2020 02:17:53 +0000 Message-ID: References: <20200521151042.3730374-1-ferruh.yigit@intel.com> In-Reply-To: <20200521151042.3730374-1-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.6.105] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] examples/kni: fix crash during MTU set 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" VGVzdGVkLWJ5OnpoYW5nLHhpIDx4aXguemhhbmdAaW50ZWwuY29tPg0KDQotLS0tLU9yaWdpbmFs IE1lc3NhZ2UtLS0tLQ0KRnJvbTogWWlnaXQsIEZlcnJ1aCANClNlbnQ6IFRodXJzZGF5LCBNYXkg MjEsIDIwMjAgMTE6MTEgUE0NClRvOiBSYXNlc2ggTW9keSA8cm1vZHlAbWFydmVsbC5jb20+DQpD YzogZGV2QGRwZGsub3JnOyBZaWdpdCwgRmVycnVoIDxmZXJydWgueWlnaXRAaW50ZWwuY29tPjsg c3RhYmxlQGRwZGsub3JnOyBaaGFuZywgWGlYIDx4aXguemhhbmdAaW50ZWwuY29tPg0KU3ViamVj dDogW1BBVENIXSBleGFtcGxlcy9rbmk6IGZpeCBjcmFzaCBkdXJpbmcgTVRVIHNldA0KDQpEdXJp bmcgTVRVIHNldCAoa25pX2NoYW5nZV9tdHUpIHNhbXBsZSBhcHBsaWNhdGlvbiBzZXR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