From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH] mempool: fix calculating address of object trailers Date: Thu, 23 Jul 2015 10:47:14 +0200 Message-ID: <55B0AA12.9050809@6wind.com> References: <1437573420-16230-1-git-send-email-xoxyuxu@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: Yuichi Nakai , dev@dpdk.org Return-path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id E3CF9BDC2 for ; Thu, 23 Jul 2015 10:47:22 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so138173057wib.1 for ; Thu, 23 Jul 2015 01:47:22 -0700 (PDT) In-Reply-To: <1437573420-16230-1-git-send-email-xoxyuxu@gmail.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" Hi, On 07/22/2015 03:57 PM, Yuichi Nakai wrote: > __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