From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] acl: fix invalid results for rule with zero priority Date: Sun, 16 Sep 2018 11:56:44 +0200 Message-ID: <1912621.YvyjYky8PI@xps> References: <1535129226-25510-1-git-send-email-konstantin.ananyev@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Konstantin Ananyev Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 811BD2BD5 for ; Sun, 16 Sep 2018 11:56:46 +0200 (CEST) In-Reply-To: <1535129226-25510-1-git-send-email-konstantin.ananyev@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 24/08/2018 18:47, Konstantin Ananyev: > If user specifies priority=0 for some of ACL rules > that can cause rte_acl_classify to return wrong results. > The reason is that priority zero is used internally for no-match nodes. > See more details at: https://bugs.dpdk.org/show_bug.cgi?id=79. > The simplest way to overcome the issue is just not allow zero > to be a valid priority for the rule. > > Fixes: dc276b5780c2 ("acl: new library") > > Signed-off-by: Konstantin Ananyev Cc: stable@dpdk.org Applied with below title, thanks acl: forbid rule with priority zero