aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorOliver Neukum <[email protected]>2020-04-15 14:17:50 +0000
committerGreg Kroah-Hartman <[email protected]>2020-04-16 12:59:48 +0000
commitf6cc6093a729ede1ff5658b493237c42b82ba107 (patch)
treec82c00190b727efc03aa224facd0de50e5a5046a /drivers/usb/class/cdc-acm.c
parentUAS: no use logging any details in case of ENODEV (diff)
downloadkernel-f6cc6093a729ede1ff5658b493237c42b82ba107.tar.gz
kernel-f6cc6093a729ede1ff5658b493237c42b82ba107.zip
UAS: fix deadlock in error handling and PM flushing work
A SCSI error handler and block runtime PM must not allocate memory with GFP_KERNEL. Furthermore they must not wait for tasks allocating memory with GFP_KERNEL. That means that they cannot share a workqueue with arbitrary tasks. Fix this for UAS using a private workqueue. Signed-off-by: Oliver Neukum <[email protected]> Fixes: f9dc024a2da1f ("uas: pre_reset and suspend: Fix a few races") Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions