From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] mbuf: check sanity of data_len and pkt_len as well Date: Fri, 12 Jan 2018 00:23:53 +0100 Message-ID: <5600010.c7GJltZoi7@xps> References: <20171214085024.w7mkpogcli7qp3lp@platinum> <20171214093112.nzpg4gwlwpnsn4ty@platinum> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Olivier MATZ To: "Ilya V. Matveychikov" 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) In-Reply-To: <20171214093112.nzpg4gwlwpnsn4ty@platinum> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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