diff options
author | Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com> | 2021-08-10 06:14:07 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-08-10 19:40:48 +0200 |
commit | 27c24fda62b601d6f9ca5e992502578c4310876f (patch) | |
tree | 8c8b233934f0504858aa56aaef312e24def204f6 /lib/glob.c | |
parent | Bluetooth: avoid circular locks in sco_sock_connect (diff) | |
download | linux-27c24fda62b601d6f9ca5e992502578c4310876f.tar.xz linux-27c24fda62b601d6f9ca5e992502578c4310876f.zip |
Bluetooth: switch to lock_sock in SCO
Since sco_sock_timeout is now scheduled using delayed work, it is no
longer run in SOFTIRQ context. Hence bh_lock_sock is no longer
necessary in SCO to synchronise between user contexts and SOFTIRQ
processing.
As such, calls to bh_lock_sock should be replaced with lock_sock to
synchronize with other concurrent processes that use lock_sock.
Signed-off-by: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'lib/glob.c')
0 files changed, 0 insertions, 0 deletions