From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by dpdk.org (Postfix) with ESMTP id CD3237CB1 for ; Fri, 30 Jun 2017 16:27:08 +0200 (CEST) Received: by mail-wr0-f171.google.com with SMTP id c11so205323208wrc.3 for ; Fri, 30 Jun 2017 07:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lsCFUsaHnEQNNc8t4AmYS2+2749NrF06K/54pgoTWzU=; b=y5qCLwofwqIzE3jOBHwNwydPRDGNTzwiGM1/z33bvsXd9Slk264Jx7GttHXR5+BMcm arIAiGs7IykA3LGK7mw4NqTOBWnAnU37ZRHBhCzBH6lbliHM30u5FqXNoyLZJFfHQLGl vM3gyq6aN0e4d9b8c8DwLMfyhpa+MoKkYzmUK1X31e8kF2e2VA9sKj2/ry47Tvgh/XPs 2L7hgCfXd40HUKApt3j+UFwvyvaHDKPvUVxILTKMIF+I70NikHk6+Exs15iHuNFYAygp ncgGucTy91BMYJzUg+Rchzknn4si6QMBy91xNzqeMNz+lMbcVDmZ2GBzHQ3ajoVfp8Di GtgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lsCFUsaHnEQNNc8t4AmYS2+2749NrF06K/54pgoTWzU=; b=qIDXgQaWRFf0QLDyB0eYPTN9tMGnkNwuqNwQTSSOGJlRuBN1YsK+iLbzDq/FdP5Yys iOmSX2MSfwsEczLbZFTt6pyBz1Qh9tuSB9aNMf/QhwCBKoPG3NIanf2Be81ibVmGea5i 3u1e1DDq58BQBkbiXbDWbY23t9wQTPrqLD5nnRDjp/Lti2I2Dn8J0XJ5O8NZ3zPWbx+o tU8JRb8h7uC8UtFDt6TY0fN9MfZoKxprDkR5MGp157kniCBk2F8wpPz9wV9yoPXHmmze Siwuml/zEfwz1Ghsbrk9UIW/qtDz4AEcrRGtIdaXdccUh1/iSu1EViaQx+r6NrH4OsvX vxRA== X-Gm-Message-State: AKS2vOwF1hLUSGaT6dyP7fxLbg6VtouFEDoRFY7DRrVOc/IhM1sHwr5U ElVrcqZ/Oc9d9RlO X-Received: by 10.223.168.48 with SMTP id l45mr26676710wrc.94.1498832828421; Fri, 30 Jun 2017 07:27:08 -0700 (PDT) Received: from platinum (2a01cb0c03c651000226b0fffeed02fc.ipv6.abo.wanadoo.fr. [2a01:cb0c:3c6:5100:226:b0ff:feed:2fc]) by smtp.gmail.com with ESMTPSA id f45sm12965408wrf.2.2017.06.30.07.27.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Jun 2017 07:27:08 -0700 (PDT) Date: Fri, 30 Jun 2017 16:27:05 +0200 From: Olivier Matz To: Vasily Philipov Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20170630162705.4d5e8462@platinum> In-Reply-To: <90afb772790da3a10d3ada97dd843ccd94a8c3f8.1498652244.git.vasilyf@mellanox.com> References: <90afb772790da3a10d3ada97dd843ccd94a8c3f8.1498652244.git.vasilyf@mellanox.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] mbuf: fix debug checks for headroom and tailroom X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2017 14:27:09 -0000 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