This is a note to let you know that I've just added the patch titled

     Subject: usbcore: fix refcount bug in endpoint removal

to my gregkh-2.6 tree.  Its filename is

     usbcore-fix-refcount-bug-in-endpoint-removal.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From [EMAIL PROTECTED] Tue Oct 10 08:56:16 2006
Date: Tue, 10 Oct 2006 11:55:47 -0400 (EDT)
From: Alan Stern <[EMAIL PROTECTED]>
To: Greg KH <[EMAIL PROTECTED]>
cc: USB development list <linux-usb-devel@lists.sourceforge.net>
Subject: usbcore: fix refcount bug in endpoint removal
Message-ID: <[EMAIL PROTECTED]>

This patch (as799) fixes a nasty refcount error in the USB endpoint class.

Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

---
 drivers/usb/core/endpoint.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

--- gregkh-2.6.orig/drivers/usb/core/endpoint.c
+++ gregkh-2.6/drivers/usb/core/endpoint.c
@@ -282,8 +282,6 @@ void usb_remove_ep_files(struct usb_host
                sysfs_remove_group(&endpoint->ep_dev->dev.kobj, 
&ep_dev_attr_grp);
                device_unregister(&endpoint->ep_dev->dev);
                endpoint->ep_dev = NULL;
+               destroy_endpoint_class();
        }
-       destroy_endpoint_class();
 }
-
-


Patches currently in gregkh-2.6 which might be from [EMAIL PROTECTED] are

driver/driver-core-don-t-ignore-error-returns-from-probing.patch
usb/usb-unusual_devs-entry-for-nokia-6131.patch
usb/ehci-hcd-fix-budget_pool-allocation-for-machines-with-multiple-ehci-controllers.patch
usb/uhci-workaround-for-asus-motherboard.patch
usb/usbcore-fix-endpoint-device-creation.patch
usb/usbcore-fix-refcount-bug-in-endpoint-removal.patch
usb/usb-takes-31-devices-per-hub.patch
usb/usb-hub-root-hub-code-takes-more-than-15-devices.patch
ehci-repair-remote-wakeup-support.patch
usb-hub-autosuspend-autoresume.patch

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to