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

     Subject: usbfs: use the correct signal number for disconnection

to my gregkh-2.6 tree.  Its filename is

     usbfs-use-the-correct-signal-number-for-disconnection.patch

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


>From [EMAIL PROTECTED] Thu Jun 22 10:28:13 2006
Date: Thu, 22 Jun 2006 13:28:11 -0400 (EDT)
From: Alan Stern <[EMAIL PROTECTED]>
To: Greg KH <[EMAIL PROTECTED]>
cc: USB development list <linux-usb-devel@lists.sourceforge.net>, 
    Zoran Marceta <[EMAIL PROTECTED]>
Subject: usbfs: use the correct signal number for disconnection
Message-ID: <[EMAIL PROTECTED]>

From: Zoran Marceta <[EMAIL PROTECTED]>


usbfs stores the wrong signal number in the siginfo structure used for
notifying user programs about device disconnect.  This patch (as726)
fixes it.

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


---
 drivers/usb/core/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- gregkh-2.6.orig/drivers/usb/core/inode.c
+++ gregkh-2.6/drivers/usb/core/inode.c
@@ -696,7 +696,7 @@ static void usbfs_remove_device(struct u
                wake_up_all(&ds->wait);
                list_del_init(&ds->list);
                if (ds->discsignr) {
-                       sinfo.si_signo = SIGPIPE;
+                       sinfo.si_signo = ds->discsignr;
                        sinfo.si_errno = EPIPE;
                        sinfo.si_code = SI_ASYNCIO;
                        sinfo.si_addr = ds->disccontext;


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

usb/usb-hub-don-t-return-status-0-from-resume.patch
usb/usb-storage-fix-race-between-reset-and-disconnect.patch
usb/usb-storage-unusual_devs-entry-for-motorola-razr-v3x.patch
usb/usbfs-use-the-correct-signal-number-for-disconnection.patch

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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