From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 0EA50E5D for ; Thu, 14 Dec 2017 10:31:20 +0100 (CET) Received: from lfbn-lil-1-110-231.w90-45.abo.wanadoo.fr ([90.45.197.231] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1ePPxS-0007Cb-El; Thu, 14 Dec 2017 10:37:39 +0100 Received: by droids-corp.org (sSMTP sendmail emulation); Thu, 14 Dec 2017 10:31:13 +0100 Date: Thu, 14 Dec 2017 10:31:13 +0100 From: Olivier MATZ To: "Ilya V. Matveychikov" Cc: dev@dpdk.org Message-ID: <20171214093112.nzpg4gwlwpnsn4ty@platinum> References: <20171209213918.6311-1-matvejchikov@gmail.com> <20171214085024.w7mkpogcli7qp3lp@platinum> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171214085024.w7mkpogcli7qp3lp@platinum> User-Agent: NeoMutt/20170113 (1.7.2) 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, 14 Dec 2017 09:31:20 -0000 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