From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH v2] mbuf: check sanity of data_len and pkt_len as well Date: Thu, 14 Dec 2017 10:31:13 +0100 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 Cc: dev@dpdk.org To: "Ilya V. Matveychikov" 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) Content-Disposition: inline In-Reply-To: <20171214085024.w7mkpogcli7qp3lp@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" 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