From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 155D01B1B9 for ; Wed, 24 Jan 2018 16:37:58 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B4BEF223B5; Wed, 24 Jan 2018 10:37:57 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:37:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=7IaYIbt2XLqUTq9N0 5qeEXfckfu+JwbcpE6IBwfga70=; b=HgSQBnN+f9vMKv/dDfPY1EbpuAcbLKZkC BjwjFOP/Z/GwhR91+RWu9IZNRAKtiuJKwdT0jdmPn5eWaw/51sSuuafB5SduUfs4 mLvb2luIsHGkM/YB70qxTGBS9k503+YFP3CCsh+0Cy+cbH4eAQXwH4BNADdcUOxh zK05riIZqbbo0zSoivGGcNAqL7VgIAT7Lq4tu64buCgXaxoJx2fBZalffOCLCr89 DciQRoByu4zmzOWOG6OZKiA1F0RtDt4+X6VTwovlxrbzydGdZDpjp0dBwhSwLZLr GQ4GqZm31KsI4vb3IRBBArxeSZnwu+fLnLMGdpSxoT1B1xNRcOOFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=7IaYIbt2XLqUTq9N05qeEXfckfu+JwbcpE6IBwfga70=; b=NhnMsgQl 6VgpWInteyWOHyP3zw/3HkfzkW612tpiWatCChTdl0ipoDURmY5GuQpsKv4JIrMB 4JqHrnddIsbt3bmFv+9iRlwWMqCYFkv90Z6+TxaE4YNZ6uH3j9VJx0gEK1OZObGD bEt6srXYB6LXdF8GdctHKQZ/laTOlwf0nVW0fInL4fhSiwp49aZ/F859O1wBaBbV YRuBcvnugazGHwKjS//XJ5CJxZBDHLjot0c8M21GhLDutJx9MaYZy0CX/g9LFVHb gmCVzjtpHTV29HsdnpyN9KzQHr4j7e0nmCH9kLEOakiXLoebWhr+LrYz4c4QFtPT F4QHmT+rmbE0zQ== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 8F3577E448; Wed, 24 Jan 2018 10:37:55 -0500 (EST) From: Yuanhan Liu To: Andrew Rybchenko Cc: Ivan Malov , dpdk stable Date: Wed, 24 Jan 2018 23:31:56 +0800 Message-Id: <1516808026-25523-48-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/sfc: fix DMA memory leak after kvarg processing failure' has been queued to LTS release 17.11.1 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: Wed, 24 Jan 2018 15:37:58 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 7bde4179ecfb45410a49de26fcf0d07f80596b0a Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Wed, 13 Dec 2017 07:12:18 +0000 Subject: [PATCH] net/sfc: fix DMA memory leak after kvarg processing failure [ upstream commit 1883f4b8a5fa87f4d62992127012602c14c312e8 ] Fixes: e56fa9c23e7a ("net/sfc: add kvarg control for MAC statistics update period") Signed-off-by: Andrew Rybchenko Reviewed-by: Ivan Malov --- drivers/net/sfc/sfc_port.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/sfc/sfc_port.c b/drivers/net/sfc/sfc_port.c index d71ec18..6cfd0e3 100644 --- a/drivers/net/sfc/sfc_port.c +++ b/drivers/net/sfc/sfc_port.c @@ -404,6 +404,8 @@ sfc_port_attach(struct sfc_adapter *sa) return 0; fail_kvarg_stats_update_period_ms: + sfc_dma_free(sa, &port->mac_stats_dma_mem); + fail_mac_stats_dma_alloc: rte_free(port->mac_stats_buf); -- 2.7.4