Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932434AbcKMCHk (ORCPT ); Sat, 12 Nov 2016 21:07:40 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:58210 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753115AbcKMCHj (ORCPT ); Sat, 12 Nov 2016 21:07:39 -0500 Date: Sat, 12 Nov 2016 21:07:37 -0500 (EST) Message-Id: <20161112.210737.1176459612012588179.davem@davemloft.net> To: ivan.khoronzhuk@linaro.org Cc: mugunthanvnm@ti.com, grygorii.strashko@ti.com, netdev@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: ethernet: ti: davinci_cpdma: free memory while channel destroy From: David Miller In-Reply-To: <1478610965-25288-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1478610965-25288-1-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 12 Nov 2016 17:08:08 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 423 Lines: 13 From: Ivan Khoronzhuk Date: Tue, 8 Nov 2016 15:16:05 +0200 > While create/destroy channel operation memory is not freed. It was > supposed that memory is freed while driver remove. But a channel > can be created and destroyed many times while changing number of > channels with ethtool. > > Based on net-next/master > > Signed-off-by: Ivan Khoronzhuk Applied.