Hi,

Here's a patch against 2.5.1-pre11 to make sure nfs over the usbnet driver does
not deadlock.  It was done by Oliver Neukum.

thanks,

greg k-h


diff -Nru a/drivers/usb/usbnet.c b/drivers/usb/usbnet.c
--- a/drivers/usb/usbnet.c      Thu Dec 13 12:52:39 2001
+++ b/drivers/usb/usbnet.c      Thu Dec 13 12:52:39 2001
@@ -1577,7 +1577,7 @@
        struct nc_trailer       *trailer = 0;
 #endif /* CONFIG_USB_NET1080 */
 
-       flags = in_interrupt () ? GFP_ATOMIC : GFP_KERNEL;
+       flags = in_interrupt () ? GFP_ATOMIC : GFP_NOIO; /* might be used for nfs */
 
        // some devices want funky USB-level framing, for
        // win32 driver (usually) and/or hardware quirks


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to