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 CA3FEA00E6 for ; Thu, 8 Aug 2019 13:31:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A0B6A1BE08; Thu, 8 Aug 2019 13:31:04 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 7BF381BDFF; Thu, 8 Aug 2019 13:31:01 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0118F21EBC; Thu, 8 Aug 2019 07:31:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 08 Aug 2019 07:31:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=bumh93qh3iVw6aY8aqDkFvT0cJq/vZQB2WzWI+x8nlg=; b=hdG+so3Pu8zS 8yyvMCmt9e9tRmruIfhui6NoBftuWn0E1a9K99ZAfGwqsNWZSODpRhYJqD8LA9Vg Ej/nohv5JfEbip492d/d3vjMyVjwnbuvy8Z5e499J0koW4AW/NNxBCFWujreYlDA 0bAVsYDExQIX4grH8pIdWDYpO4sJE68= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=bumh93qh3iVw6aY8aqDkFvT0cJq/vZQB2WzWI+x8n lg=; b=Ya6yIl4IvI4WoTKmAP8uzjbIpojyJIEwN/CO0F2Np82y1sutMfaAqjupM o8EanEq4S0A1l/FwL+TpQPFjkqknmSrqvoH8VPaTmrbbKbKexs9qRILcMx2SQ1Go +4bJZddZ5gitAJVzSUCyZpYaTjvGCAi6+2fzvas14YHq1BNgoREjfARHCpgA/RyJ Wuop49rh43gxPDw76PxTNA7PeLuTLo3ZGPsDDEG1EmIG7oDZpd6MpJzX3WMmWy6I OLGDAUPqaT/P9QgaxTq1zuZcP7zkG6keOvYXN9SEcc7m6LmwWAUQmYMLpfoUJLVM 1XBLZsuMb/Y/d/P0NgLN+s5RzB1ng== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudduhedggedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeelfedriedrudegledruddugeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhm rghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id 572B6380074; Thu, 8 Aug 2019 07:30:59 -0400 (EDT) From: Thomas Monjalon To: Congwen Zhang Cc: stable@dpdk.org, wenzhuo.lu@intel.com, dev@dpdk.org, qi.z.zhang@intel.com Date: Thu, 08 Aug 2019 13:30:57 +0200 Message-ID: <1997420.7iUIcqndAy@xps> In-Reply-To: <1565224640-24239-1-git-send-email-zhang.congwen@zte.com.cn> References: <1565224640-24239-1-git-send-email-zhang.congwen@zte.com.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH v3] net/ixgbe: fix offset value check 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" 08/08/2019 02:37, Congwen Zhang: > The "and" condition offset == 0 && offset == NVM_INVALID_PTR > can never be true. > > Fixes: cf3af5aa56c9 ("net/ixgbe/base: add functions to get version info") > Cc: stable@dpdk.org > > Signed-off-by: Congwen Zhang > Acked-by: Xiaolong Ye Applied, thanks Note: it looks simple enough to be merged in 19.08 post rc4.