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:13:16 +0000 (10:13 +0200)
commit652c9689f58900bcae9585f3c38d6596700898f0
tree99e5a4736e03773e3f8b50c1f01eb3877a65cfd1
parent12d16c24f35f98f9dc083035a9a6d8dcf59fe198
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