mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
USB: cdc-acm: fix open and suspend race
commit703df3297fupstream. We must not do the usb_autopm_put_interface() before submitting the read urbs or we might end up doing I/O to a suspended device. Fixes:088c64f812("USB: cdc-acm: re-write read processing") Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
88da9d741b
commit
9f074718f0
1 changed files with 3 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue