The generic usbserial driver in Linux 2.6.31 halts its receiving channel in response to throttle requests from the line discipline. Unfortunately it drops the contents of the first URB received after throttling takes effect. This patch corrects that problem. Signed-off-by: Joris van Rantwijk <jorispubl@xxxxxxxxx> Note: This patch is not related to the WARNING-on-unthrottle issue I reported earlier. diff -urNp linux-2.6.31/drivers/usb/serial/generic.c linux-2.6.31-throttle/drivers/usb/serial/generic.c --- linux-2.6.31/drivers/usb/serial/generic.c 2009-09-10 00:13:59.000000000 +0200 +++ linux-2.6.31-throttle/drivers/usb/serial/generic.c 2009-09-23 20:25:36.000000000 +0200 @@ -530,7 +530,7 @@ void usb_serial_generic_unthrottle(struc if (was_throttled) { /* Resume reading from device */ - usb_serial_generic_resubmit_read_urb(port, GFP_KERNEL); + flush_and_resubmit_read_urb(port); } } -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html