Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933305AbYFGBSX (ORCPT ); Fri, 6 Jun 2008 21:18:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753438AbYFGBJW (ORCPT ); Fri, 6 Jun 2008 21:09:22 -0400 Received: from sous-sol.org ([216.99.217.87]:42470 "EHLO sous-sol.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757030AbYFGBJR (ORCPT ); Fri, 6 Jun 2008 21:09:17 -0400 Message-Id: <20080607010620.971046358@sous-sol.org> References: <20080607010215.358296706@sous-sol.org> User-Agent: quilt/0.46-1 Date: Fri, 06 Jun 2008 18:02:47 -0700 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Masakazu Mokuno , John W Linville Subject: [patch 32/50] PS3: gelic: fix memory leak Content-Disposition: inline; filename=ps3-gelic-fix-memory-leak.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1114 Lines: 34 -stable review patch. If anyone has any objections, please let us know. --------------------- From: Masakazu Mokuno upstream commit: 6fc7431dc0775f21ad7a7a39c2ad0290291a56ea This fixes the bug that the I/O buffer is not freed at the driver removal. Signed-off-by: Masakazu Mokuno Signed-off-by: John W. Linville Signed-off-by: Chris Wright --- drivers/net/ps3_gelic_wireless.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/ps3_gelic_wireless.c +++ b/drivers/net/ps3_gelic_wireless.c @@ -2474,6 +2474,8 @@ static void gelic_wl_free(struct gelic_w pr_debug("%s: <-\n", __func__); + free_page((unsigned long)wl->buf); + pr_debug("%s: destroy queues\n", __func__); destroy_workqueue(wl->eurus_cmd_queue); destroy_workqueue(wl->event_queue); -- -- 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/