diff options
| author | 2014-05-26 19:23:42 +0200 | |
|---|---|---|
| committer | 2014-05-27 15:04:09 -0700 | |
| commit | 703df3297fb1950b0aa53e656108eb936d3f21d9 (patch) | |
| tree | 009c2cf915a37af41b63c3226886cf027b162e5f /include/linux/memory.h | |
| parent | USB: cdc-acm: fix potential urb leak and PM imbalance in write (diff) | |
USB: cdc-acm: fix open and suspend race
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: 088c64f81284 ("USB: cdc-acm: re-write read processing")
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/memory.h')
0 files changed, 0 insertions, 0 deletions
