From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mbuf: fix debug checks for headroom and tailroom Date: Sat, 01 Jul 2017 12:18:50 +0200 Message-ID: <2265784.B1oRRag3Fe@xps> References: <90afb772790da3a10d3ada97dd843ccd94a8c3f8.1498652244.git.vasilyf@mellanox.com> <20170630162705.4d5e8462@platinum> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Vasily Philipov , stable@dpdk.org To: Olivier Matz Return-path: In-Reply-To: <20170630162705.4d5e8462@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" 30/06/2017 16:27, Olivier Matz: > On Wed, 28 Jun 2017 15:25:12 +0300, Vasily Philipov wrote: > > rte_pktmbuf_headroom() and rte_pktmbuf_tailroom() should be usable > > with any segment, not only with headered ones, so is_header should be 0 > > when we call for sanity check inside them. > > > > Fixes: af75078fece3 ("first public release") > > Cc: stable@dpdk.org > > > > Signed-off-by: Vasily Philipov > > Acked-by: Olivier Matz Applied, thanks