This is a note to let you know that I've just added the patch titled
cdc-wdm: Don't clear WDM_READ unless entire read buffer is emptied
to the 3.3-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
cdc-wdm-don-t-clear-wdm_read-unless-entire-read-buffer-is-emptied.patch
and it can be found in the queue-3.3 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From b7a205545345578712611106b371538992e142ff Mon Sep 17 00:00:00 2001
From: Ben Hutchings <[email protected]>
Date: Sun, 12 Feb 2012 06:02:43 +0000
Subject: cdc-wdm: Don't clear WDM_READ unless entire read buffer is emptied
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Ben Hutchings <[email protected]>
commit b7a205545345578712611106b371538992e142ff upstream.
The WDM_READ flag is cleared later iff desc->length is reduced to 0.
Signed-off-by: Ben Hutchings <[email protected]>
Tested-by: Bjørn Mork <[email protected]>
Cc: Oliver Neukum <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/usb/class/cdc-wdm.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/usb/class/cdc-wdm.c
+++ b/drivers/usb/class/cdc-wdm.c
@@ -457,7 +457,6 @@ retry:
spin_unlock_irq(&desc->iuspin);
goto retry;
}
- clear_bit(WDM_READ, &desc->flags);
cntr = desc->length;
spin_unlock_irq(&desc->iuspin);
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.3/cdc-wdm-fix-more-races-on-the-read-path.patch
queue-3.3/cdc-wdm-don-t-clear-wdm_read-unless-entire-read-buffer-is-emptied.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html