From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id C9D6F71B5 for ; Fri, 12 Jan 2018 00:24:21 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6DD5D20CCF; Thu, 11 Jan 2018 18:24:21 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 11 Jan 2018 18:24:21 -0500 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; s=mesmtp; bh=RBCwcWuj3dJtgQrEENgStEeA3Y Di/Tw37lab3gOgnJk=; b=ngW5SckheBifTWewktLdxqgUh3N7n94WgIM6NbL7uT 0n0R7KXaLjt99KLuTlZYqbuzRc67b3Bx6RznZAktHN8jX1zefJYT4wZYKfXsv+uA GnYjaVxyFcMg4ywYnyBfzQdnERJVeyXsGyNVqpnN72E8927RwKyn9/WKtad87Mm7 U= 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; s=fm1; bh=RBCwcW uj3dJtgQrEENgStEeA3YDi/Tw37lab3gOgnJk=; b=rdHwTNRCPYFktr5ZAHbonU yV7Kh8Jysx9AYbYVdIVVdZZB31P5+k9V/dQJo3J+Jhns6sBaNFAzPSV3lKvgu62o S++DVEj4Dvbue4OySal+jw9j74+DeAn+1gG04xnmTFODrtg4KhqkgQofoR3YkyMC 5oFzm9YyI38t1PdVITGmIVRo9QxwvbRh2xHyBTiT+ATSN32NV1/5zSCSFuP+Izsx rhlU5d49W/11mrcJtXZb++UjXs+RCJNTyHfkrijZX7Itx037hTIcJTfSMPJZO5AH EO4nXLxgB6vpLUKtYdH3vd3q4wD3NiavTqy1GP9Rmm9skJ+9xBZhu86fI4qTqaUQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id CDD837E300; Thu, 11 Jan 2018 18:24:20 -0500 (EST) From: Thomas Monjalon To: "Ilya V. Matveychikov" Cc: dev@dpdk.org, Olivier MATZ Date: Fri, 12 Jan 2018 00:23:53 +0100 Message-ID: <5600010.c7GJltZoi7@xps> In-Reply-To: <20171214093112.nzpg4gwlwpnsn4ty@platinum> References: <20171214085024.w7mkpogcli7qp3lp@platinum> <20171214093112.nzpg4gwlwpnsn4ty@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] mbuf: check sanity of data_len and pkt_len as well 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: Thu, 11 Jan 2018 23:24:22 -0000 14/12/2017 10:31, Olivier MATZ: > On Thu, Dec 14, 2017 at 09:50:25AM +0100, Olivier MATZ wrote: > > On Sun, Dec 10, 2017 at 12:39:18AM +0300, Ilya V. Matveychikov wrote: > > > Update rte_mbuf_sanity_check() to check sanity of data_len and pkt_len > > > fields. For segmented packets it is supposed that head's pkt_len field > > > should be the sum of all segments data_len values. > > > > > > Signed-off-by: Ilya V. Matveychikov > > > > Acked-by: Olivier Matz > > > > Thanks > > Just realized the title does not match ./devtools/check-git-log.sh > constraints. I suggest instead: > > mbuf: check sanity of data and packet lengths Applied, thanks