From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] sis900: Fix mem leak in sis900_rx error path Date: Sat, 05 Feb 2011 18:09:07 -0800 (PST) Message-ID: <20110205.180907.189701283.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: venza@brownhat.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: jj@chaosbits.net Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:53485 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751530Ab1BFCIb (ORCPT ); Sat, 5 Feb 2011 21:08:31 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Jesper Juhl Date: Sat, 5 Feb 2011 21:41:53 +0100 (CET) > Fix memory leak in error path of sis900_rx(). If we don't do this we'll > leak the skb we dev_alloc_skb()'ed just a few lines above when the > variable goes out of scope. > > Signed-off-by: Jesper Juhl Applied, thanks Jesper.