From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] lib/gro: fix bitwise overflow issue Date: Mon, 31 Jul 2017 09:01:45 +0200 Message-ID: <1747226.gOKofUTBx5@xps> References: <1501465404-111602-1-git-send-email-jiayu.hu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, jianfeng.tan@intel.com To: Jiayu Hu 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) In-Reply-To: <1501465404-111602-1-git-send-email-jiayu.hu@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" 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