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 A90FF2C3F for ; Thu, 14 Dec 2017 09:50:32 +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 1ePPJy-000798-Rr; Thu, 14 Dec 2017 09:56:52 +0100 Received: by droids-corp.org (sSMTP sendmail emulation); Thu, 14 Dec 2017 09:50:25 +0100 Date: Thu, 14 Dec 2017 09:50:25 +0100 From: Olivier MATZ To: "Ilya V. Matveychikov" Cc: dev@dpdk.org Message-ID: <20171214085024.w7mkpogcli7qp3lp@platinum> References: <20171209213918.6311-1-matvejchikov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171209213918.6311-1-matvejchikov@gmail.com> 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 08:50:32 -0000 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