[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110213.112132.58449746.davem@davemloft.net>
Date: Sun, 13 Feb 2011 11:21:32 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jj@...osbits.net
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
netdev@...r.kernel.org, gregkh@...e.de,
dbrownell@...rs.sourceforge.net, dhollis@...ehollis.com
Subject: Re: [PATCH] USB Network driver infrastructure: Fix leak when
usb_autopm_get_interface() returns less than zero in kevent().
From: Jesper Juhl <jj@...osbits.net>
Date: Thu, 10 Feb 2011 21:58:45 +0100 (CET)
> We'll leak the memory allocated to 'urb' in
> drivers/net/usb/usbnet.c:kevent() when we 'goto fail_lowmem' and the 'urb'
> variable goes out of scope while still completely unused.
>
> Signed-off-by: Jesper Juhl <jj@...osbits.net>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists