From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 40B1E2C18 for ; Tue, 23 May 2017 02:37:43 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP; 22 May 2017 17:37:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,379,1491289200"; d="scan'208";a="105668578" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 22 May 2017 17:37:41 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 22 May 2017 17:37:41 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 22 May 2017 17:37:26 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.246]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.224]) with mapi id 14.03.0319.002; Tue, 23 May 2017 08:37:23 +0800 From: "Lu, Wenzhuo" To: Markus Theil , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 2/2] net/igb: fix add/delete of flex filters Thread-Index: AQHS0uS6+1Zt4D//b02PZ1Y/IcmOaKIBE6Pw Date: Tue, 23 May 2017 00:37:22 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B5BB973@shsmsx102.ccr.corp.intel.com> References: <1495110014-20074-1-git-send-email-markus.theil@tu-ilmenau.de> <1495448270-15232-1-git-send-email-markus.theil@tu-ilmenau.de> <1495448270-15232-2-git-send-email-markus.theil@tu-ilmenau.de> In-Reply-To: <1495448270-15232-2-git-send-email-markus.theil@tu-ilmenau.de> 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 v3 2/2] net/igb: fix add/delete of flex filters 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: Tue, 23 May 2017 00:37:43 -0000 Hi, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Markus Theil > Sent: Monday, May 22, 2017 6:18 PM > To: dev@dpdk.org > Cc: Markus Theil > Subject: [dpdk-dev] [PATCH v3 2/2] net/igb: fix add/delete of flex filter= s >=20 > Before this patch, flex_filter->index was always zero when it was read an= d > used after rte_zmalloc. The corresponding code was therefore moved into > the add and delete parts of the if/else statement. >=20 > Fixes: 231d43909a31 ("igb: migrate flex filter to new API") >=20 > Signed-off-by: Markus Theil Acked-by: Wenzhuo Lu