summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2020-04-15 17:13:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-16 14:59:49 +0200
commit0afccd7601514c4b83d8cc58c740089cc447051d (patch)
treec30222401442d5626449f2fb8e4cf32eb6b90ceb /drivers/soc
parentf6cc6093a729ede1ff5658b493237c42b82ba107 (diff)
downloadlinux-0afccd7601514c4b83d8cc58c740089cc447051d.tar.bz2
cdc-acm: close race betrween suspend() and acm_softint
Suspend increments a counter, then kills the URBs, then kills the scheduled work. The scheduled work, however, may reschedule the URBs. Fix this by having the work check the counter. Signed-off-by: Oliver Neukum <oneukum@suse.com> Cc: stable <stable@vger.kernel.org> Tested-by: Jonas Karlsson <jonas.karlsson@actia.se> Link: https://lore.kernel.org/r/20200415151358.32664-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions