From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by dpdk.org (Postfix) with ESMTP id 6ADB75699; Fri, 13 Jul 2018 11:22:46 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 7848A2B9; Fri, 13 Jul 2018 05:22:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 13 Jul 2018 05:22:45 -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; s=mesmtp; bh=ZSjWX+4+xhtfdc9gn1SCsIcdnd NKjAmqK18hQ7tQ+Ss=; b=Uix3qyo2KLEkYKyAq0m6IjqLYq+abFNucvbVrjX0ZM 8Ts1JleHQB3BO+3foU7QZvg+mPrFQVE8scV5issOBt0rJm0EzQSVYceQSaPt+1Vn FMRZvInvienWEL3sOll9ndY2nmALBHM69usn6uOBobccNNA5rIuzk5JyXDnqpxAJ Y= 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; s=fm3; bh=ZSjWX+ 4+xhtfdc9gn1SCsIcdndNKjAmqK18hQ7tQ+Ss=; b=RrxkjF11cZHA0P9T1XGoXw bY6r0KnvYdL9zi6JlKVU9e6MWpJrXASBCRYzkkKIo2v57Jrs4hWihzeF4FLcUZcD f3IolKC+rvMpS4TNE3hG9nPmYlpEcRUKwh7UzSStQ50/Ce5N4eT7uqni+E+OQE9U RkzIKgA5i91aHA+nFjlzCbu6+P/drBZkgzyo9xPIJb8LA/GDY3ICaPPHCrxP2xzG QUGm0bOuRCsmNNqe5T+1dcer9DocirW/FlpBaqjJRUefbRW34gFBis0k09X87wID nxOhSqFVcZkGmTlM+kH5O47YkRaXDVH16sSi7jOCIYqqYRskPZWx6fNlcuAlXwVg == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5E7FF10255; Fri, 13 Jul 2018 05:22:44 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: stable@dpdk.org, dev@dpdk.org Date: Fri, 13 Jul 2018 11:22:43 +0200 Message-ID: <2532137.StgzTVjHos@xps> In-Reply-To: <9342b8f957343940a9a957a64853bd185db5b3c8.1527784022.git.anatoly.burakov@intel.com> References: <9342b8f957343940a9a957a64853bd185db5b3c8.1527784022.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH] malloc: fix pad erasing 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, 13 Jul 2018 09:22:46 -0000 31/05/2018 19:05, Anatoly Burakov: > Previously, when joining adjacent free elements, we were erasing > trailer and header, but did not erase the padding. Fix this by > accounting for padding on erase, and do not erase padding twice > by adjusting data pointer and data len to not include padding. > > Fixes: bb372060dad4 ("malloc: make heap a doubly-linked list") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov Applied, thanks