aboutsummaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2014-05-26 19:23:15 +0200
committerJiri Slaby <jslaby@suse.cz>2014-07-02 12:06:18 +0200
commit097280999c085494a3e7c441fa1251e4c67ee927 (patch)
tree44dcbde5fe9d8ebcf697e1cf4e51de186e5c0d70 /Kconfig
parent8cba48efceae500f796be3174ae69034d08257ef (diff)
USB: usb_wwan: fix write and suspend race
commit 170fad9e22df0063eba0701adb966786d7a4ec5a upstream. Fix race between write() and suspend() which could lead to writes being dropped (or I/O while suspended) if the device is runtime suspended while a write request is being processed. Specifically, suspend() releases the susp_lock after determining the device is idle but before setting the suspended flag, thus leaving a window where a concurrent write() can submit an urb. Fixes: 383cedc3bb43 ("USB: serial: full autosuspend support for the option driver") Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions