usb: cdc-acm: move ldisc dcd notification outside of acm's read lock
authorDan Drown <dan-netdev@drown.org>
Thu, 17 Aug 2023 01:09:43 +0000 (20:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2023 12:45:02 +0000 (14:45 +0200)
commitf72ae60881ff685004d7de7152517607fcd9968f
tree49862cbd69a3d128534af6eb5d3fd25ba91e3283
parent23e60c8daf5ec2ab1b731310761b668745fcf6ed
usb: cdc-acm: move ldisc dcd notification outside of acm's read lock

dcd_change notification call moved outside of the acm->read_lock
to protect any future tty ldisc that calls wait_serial_change()

Signed-off-by: Dan Drown <dan-netdev@drown.org>
Acked-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/ZN1zV/zjPgpGlHXo@vps3.drown.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c