From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 3748899D2 for ; Mon, 31 Jul 2017 09:01:48 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8E50B209E5; Mon, 31 Jul 2017 03:01:47 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 31 Jul 2017 03:01:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=qZQkOy55trODLTR 8ACqr8QFbgA3XSkPLLwHlnp9vr3M=; b=duQKDd3AcHqehEqXv9gmeO++jqAgumh GJrwo/9nI/UfnjwHPKo9JUpZaziDePDnV+xMt2C9apC8zk3qbtcoWkRoa51C5aKA pEpYOOER3WAnayUeZ9YmQCikdITW20uQgFtld4kxd3ZYbngfWLeZ4DuXDdfrE6OQ 5PKNRrRWLKH4= 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-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=qZQkOy55trODLTR8ACqr8QFbgA3XSkPLLwHlnp9vr3M=; b=L1PhnMEz 2lfnjdWgynAo8agFuxAkWX8xsGVC0Kh91+ct8Zs6JG2QPg1dR0nlgSxsY/5DOJsX 9h/VgNVaK++rISuPuyPkLJVsxvoYrjXB0ZjeS2kUeOASgX60GL18+T3dQsyX/4yZ lGCSvF+sy9xWf10OkbVPi9mUXdcQfxEuIDXUV484Zl4Bxiay8BJ5sjHdvzCdWkAs Awuv8t/NIK3SR7pJriejJd5IG5XwcBt8IvuRcQIQN3oUM8SYIq7dBYENCgiyCkSw Fr/uvCmKiuiPGCKkGgCjU84g9Ixmi1rJNudqUzSMrW8ED3xLm6gTiVMvEvXgmId2 1GP4mIdZHnV1LQ== X-ME-Sender: X-Sasl-enc: XhJKJIJJ7b4rvhXDQoNb+YqpGW7oIdM1n0IPOr9sAM8d 1501484507 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3FF4A7E464; Mon, 31 Jul 2017 03:01:47 -0400 (EDT) From: Thomas Monjalon To: Jiayu Hu Cc: dev@dpdk.org, jianfeng.tan@intel.com Date: Mon, 31 Jul 2017 09:01:45 +0200 Message-ID: <1747226.gOKofUTBx5@xps> In-Reply-To: <1501465404-111602-1-git-send-email-jiayu.hu@intel.com> References: <1501465404-111602-1-git-send-email-jiayu.hu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] lib/gro: fix bitwise overflow issue 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: Mon, 31 Jul 2017 07:01:48 -0000 31/07/2017 03:43, Jiayu Hu: > When try to get GRO types, expression "1 << i" with type "int" may > overflow. This patch is to fix this issue. > > Fixes: e996506a1c07 ("lib/gro: add Generic Receive Offload API framework") > Coverity issue: 158664 > > Signed-off-by: Jiayu Hu Applied, thanks