cdc-wdm: untangle a circular dependency between callback and softint
authorOliver Neukum <oneukum@suse.com>
Mon, 26 Apr 2021 09:26:22 +0000 (11:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 08:29:55 +0000 (10:29 +0200)
commit9984778818e8cad44c835a1ebd68c39252a182ce
tree8aec46832aefb823cb7bb4af806a97756e277453
parentf57a08ed6d0513ef943486750733c66c416f6203
cdc-wdm: untangle a circular dependency between callback and softint

commit 18abf874367456540846319574864e6ff32752e2 upstream.

We have a cycle of callbacks scheduling works which submit
URBs with those callbacks. This needs to be blocked, stopped
and unblocked to untangle the circle.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20210426092622.20433-1-oneukum@suse.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-wdm.c