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 C5967A0471 for ; Wed, 17 Jul 2019 04:28:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A276F2BBB; Wed, 17 Jul 2019 04:28:47 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 40BAA152A for ; Wed, 17 Jul 2019 04:28:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jul 2019 19:28:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,272,1559545200"; d="scan'208";a="195091938" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 16 Jul 2019 19:28:44 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 16 Jul 2019 19:28:45 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 16 Jul 2019 19:28:45 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.232]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.174]) with mapi id 14.03.0439.000; Wed, 17 Jul 2019 10:28:43 +0800 From: "Zhang, Qi Z" To: "Wang, Xiao W" CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/ifc: add devargs pointer check Thread-Index: AQHVO8yaQ2p9PUPWRUubgVPVVoXbXKbOFQSg Date: Wed, 17 Jul 2019 02:28:42 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153D6839C@SHSMSX105.ccr.corp.intel.com> References: <20190716113107.32868-1-xiao.w.wang@intel.com> In-Reply-To: <20190716113107.32868-1-xiao.w.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGM0YmYwNGMtOWIyMC00ZDNmLWI1NTEtZjc2YTEzZTU5M2UwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiU3lvMmxJNnAxbTRDSTEwdGV3R1MzTW1XRTRlbkdwNURRaUhleUVvUWxlbHV2U0hoTUFEVzZPekhuUHFseitDaSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action 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] net/ifc: add devargs pointer check 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Wang, Xiao W > Sent: Tuesday, July 16, 2019 7:31 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Wang, Xiao W > Subject: [PATCH] net/ifc: add devargs pointer check >=20 > We need to check devargs pointer before dereference it, if no devargs spe= cified > then this driver just skips the device. >=20 > Fixes: 40ef35f4a504 ("net/ifc: detect if VDPA mode is specified") >=20 > Signed-off-by: Xiao Wang > --- Acked-by: Qi Zhang Applied to dpdk-next-net-intel Thanks Qi