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 1F34AA04DD; Thu, 22 Oct 2020 18:39:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 108FC5F69; Thu, 22 Oct 2020 18:39:05 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 14A375F18 for ; Thu, 22 Oct 2020 18:39:02 +0200 (CEST) IronPort-SDR: NOnq1/JKU+W3jdVD02nqTGSjYUgzIzyjN2BnEEXZGjQS4lddZDPo+/2AoYOqI510+uOQ+mfilV fec0dWZ5mFEw== X-IronPort-AV: E=McAfee;i="6000,8403,9781"; a="252255715" X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="252255715" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 09:38:54 -0700 IronPort-SDR: wf3aLQC/VMZkg/Jd/Qonrt9kEU+Ki4YqpJEhi34wYNSfuV0PbzNRg9vV/5m4qNoUaB8BoPYNMU CaVla9e4BpYQ== X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="534038433" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.248.224]) ([10.213.248.224]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 09:38:47 -0700 To: Raslan Darawsheh , Eli Britstein , "dev@dpdk.org" Cc: Dekel Peled , Ori Kam , Matan Azrad , Slava Ovsiienko , Shahaf Shuler , Asaf Penso References: <20201022082629.9160-1-elibr@nvidia.com> From: Ferruh Yigit Message-ID: Date: Thu, 22 Oct 2020 17:38:43 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH V3 1/1] net/mlx5: fix IPv6 next proto validation 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" On 10/22/2020 11:01 AM, Raslan Darawsheh wrote: > Hi, > >> -----Original Message----- >> From: Eli Britstein >> Sent: Thursday, October 22, 2020 11:26 AM >> To: dev@dpdk.org >> Cc: Dekel Peled ; Ori Kam ; Matan >> Azrad ; Raslan Darawsheh ; Slava >> Ovsiienko ; Shahaf Shuler ; >> Asaf Penso ; Eli Britstein >> Subject: [PATCH V3 1/1] net/mlx5: fix IPv6 next proto validation >> >> Previous patch added validation of the IPv6 next proto field, in order >> to overcome a known limitation. >> One of the values checked is IPPROTO_HOPOPTS, which is defined as 0. >> If proto field is not specified for matching, or mask=0, as in the >> following, a wrong validation takes place. >> flow create 0 ingress pattern eth / ipv6 has_frag_ext is 0 / end actions >> drop / end >> Fix the validation only on proto asked by the user. >> >> Fixes: 92be60e1b541 ("net/mlx5: enforce limitation on IPv6 next proto") >> >> Signed-off-by: Eli Britstein >> Acked-by: Dekel Peled >> Acked-by: Matan Azrad > > > Patch applied to next-net-mlx, > Squashed into relevant commit in next-net, thanks.