From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mempool: fix calculating address of object trailers Date: Sun, 26 Jul 2015 15:24:10 +0200 Message-ID: <2585896.bLCSIROgHJ@xps13> References: <1437573420-16230-1-git-send-email-xoxyuxu@gmail.com> <55B0AA12.9050809@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Yuichi Nakai Return-path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id A14ECC46E for ; Sun, 26 Jul 2015 15:25:26 +0200 (CEST) Received: by wicgb10 with SMTP id gb10so79431290wic.1 for ; Sun, 26 Jul 2015 06:25:26 -0700 (PDT) In-Reply-To: <55B0AA12.9050809@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > __mempool_get_trailer() calculated header's address. > > The address of trailer should set after element area. > > This patch fixes this calculating. > > > > This issue was mixed with the following commit: > > Fixes: 97e7e685bfcd ("mempool: add structure for object trailers") > > > > Signed-off-by: Yuichi Nakai > > Thank you for fixing it. > > Acked-by: Olivier Matz Applied, thanks