From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id CE4192BE1; Sat, 1 Jul 2017 12:18:52 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 62A49207FF; Sat, 1 Jul 2017 06:18:52 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 01 Jul 2017 06:18:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=W50JFb/uo0JO1tp XMdKs7oT3zLO9emligTvawMhsnwU=; b=LwnjYVyVorJn/3+N17pTRFnJHWmLEYq T1NToC51qW99bbINGScwGZu7PTwmAOSXflaNc/dJKY4E7iRqrFXW+le2yP1vV+ry gNUeVzZqFmxegxnDJUux9TMJl1zBGs0ik3TFm1DdM5EiEOontviICArN+PJkiQIk KDsDHKoKyGn0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=W50JFb/uo0JO1tpXMdKs7oT3zLO9emligTvawMhsnwU=; b=STMfxhwu XAseXty+9LRoFEvxAXtDeM6lKoxdNl4fOlKWSw466eARTmm6kPLT/O9jCM68wPW7 QfPBqavukIHkXe9+3Ptv2YMAL1pz0qUMiAsbDJXYI/F0E3HawFE+hw2qwschoBnm FcJBU60kyuAX98s0HID9x+HoMlAbuwOzjIBuMfztTk6gCStlGOOmFv5qvYqjsHbG L6qef2mqfmoK3Y5qjluAJKRPiOYBbr6hske1IRBYF0FWAGvaCuHKfnCsjwu4IYio xbBLEpayQtSezS4nVktfvjhR2aufrctUhVquBcD7XhgnISTFwmp4aerA9EbzAbv0 TygmXO6zZfM4sw== X-ME-Sender: X-Sasl-enc: 1jqbt7CwGzPH2DiMCu7aDFoOU0fX4kLvk5xyC+Xi8z4p 1498904332 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 129832474F; Sat, 1 Jul 2017 06:18:52 -0400 (EDT) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, Vasily Philipov , stable@dpdk.org Date: Sat, 01 Jul 2017 12:18:50 +0200 Message-ID: <2265784.B1oRRag3Fe@xps> In-Reply-To: <20170630162705.4d5e8462@platinum> References: <90afb772790da3a10d3ada97dd843ccd94a8c3f8.1498652244.git.vasilyf@mellanox.com> <20170630162705.4d5e8462@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mbuf: fix debug checks for headroom and tailroom 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: Sat, 01 Jul 2017 10:18:53 -0000 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