Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755530AbbHCWVx (ORCPT ); Mon, 3 Aug 2015 18:21:53 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:45246 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751327AbbHCWVv (ORCPT ); Mon, 3 Aug 2015 18:21:51 -0400 Date: Mon, 03 Aug 2015 15:21:50 -0700 (PDT) Message-Id: <20150803.152150.1891006093180585787.davem@davemloft.net> To: baijiaju1990@163.com Cc: nhorman@tuxdriver.com, klassert@mathematik.tu-chemnitz.de, paul.gortmaker@windriver.com, dvlasenk@redhat.com, linux@rasmusvillemoes.dk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] 3c59x: Fix resource leaks in vortex_open From: David Miller In-Reply-To: <1438571892-28318-1-git-send-email-baijiaju1990@163.com> References: <1438571892-28318-1-git-send-email-baijiaju1990@163.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / 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]); Mon, 03 Aug 2015 15:21:51 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 634 Lines: 16 From: Jia-Ju Bai Date: Mon, 3 Aug 2015 11:18:12 +0800 > When vortex_up is failed, the skb buffers allocated by __netdev_alloc_skb > in vortex_open are not released, which may cause resource leaks. > This bug has been submitted before. > This patch modifies the error handling code to fix it. > > Signed-off-by: Jia-Ju Bai Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/