diff options
| author | Pavel Skripkin <[email protected]> | 2021-07-21 19:34:36 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-07-27 13:15:24 +0000 |
| commit | 9be550ee43919b070bcd77f9228bdbbbc073245b (patch) | |
| tree | f63643934000d8f130482e91eea36b90811428b8 /net/unix/af_unix.c | |
| parent | staging: rtl8723bs: select CONFIG_CRYPTO_LIB_ARC4 (diff) | |
| download | kernel-9be550ee43919b070bcd77f9228bdbbbc073245b.tar.gz kernel-9be550ee43919b070bcd77f9228bdbbbc073245b.zip | |
staging: rtl8712: get rid of flush_scheduled_work
This patch is preparation for following patch for error handling
refactoring.
flush_scheduled_work() takes (wq_completion)events lock and
it can lead to deadlock when r871xu_dev_remove() is called from workqueue.
To avoid deadlock sutiation we can change flush_scheduled_work() call to
flush_work() call for all possibly scheduled works in this driver,
since next patch adds device_release_driver() in case of fw load failure.
Signed-off-by: Pavel Skripkin <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/6e028b4c457eeb7156c76c6ea3cdb3cb0207c7e1.1626895918.git.paskripkin@gmail.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
