From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: [PATCH 1/3] usbnet: fix leak of transfer buffer of dev->interrupt Date: Mon, 30 Apr 2012 10:58:14 +0200 Message-ID: <201204301058.14913.oneukum@suse.de> References: <1335775864-4873-1-git-send-email-tom.leiming@gmail.com> <1335775864-4873-2-git-send-email-tom.leiming@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , "Greg Kroah-Hartman" , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ming Lei Return-path: In-Reply-To: <1335775864-4873-2-git-send-email-tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org Am Montag, 30. April 2012, 10:51:02 schrieb Ming Lei: > The transfer buffer of dev->interrupt is allocated in .probe path, > but not freed in .disconnet path, so mark the interrupt URB as > URB_FREE_BUFFER to free the buffer when the URB is destroyed. > > Signed-off-by: Ming Lei Acked-by: Oliver Neukum -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html