[3.5.yuz,extended,stable] Patch "USB: mos7840: fix urb leak at release" has been added to staging queue

Submitted by Herton Ronaldo Krzesinski on Nov. 22, 2012, 4:49 a.m.


Message ID 1353559799-3654-1-git-send-email-herton.krzesinski@canonical.com
State New
Headers show

Commit Message

Herton Ronaldo Krzesinski Nov. 22, 2012, 4:49 a.m.
This is a note to let you know that I have just added a patch titled

    USB: mos7840: fix urb leak at release

to the linux-3.5.y-queue branch of the 3.5.yuz extended stable tree 
which can be found at:


If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.yuz tree, see



From 4c8e45f0dbd3eec7faf2aded0a9e3e67c980a8de Mon Sep 17 00:00:00 2001
From: Johan Hovold <jhovold@gmail.com>
Date: Thu, 25 Oct 2012 13:35:09 +0200
Subject: [PATCH] USB: mos7840: fix urb leak at release

commit 65a4cdbb170e4ec1a7fa0e94936d47e24a17b0e8 upstream.

Make sure control urb is freed at release.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
 drivers/usb/serial/mos7840.c |    1 +
 1 file changed, 1 insertion(+)


Patch hide | download patch | download mbox

diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c
index 009c1d9..748bc6a 100644
--- a/drivers/usb/serial/mos7840.c
+++ b/drivers/usb/serial/mos7840.c
@@ -2755,6 +2755,7 @@  static void mos7840_release(struct usb_serial *serial)
+			usb_free_urb(mos7840_port->control_urb);