diff options
| author | Desmond Cheong Zhi Xi <[email protected]> | 2021-08-10 12:14:09 +0800 |
|---|---|---|
| committer | Luiz Augusto von Dentz <[email protected]> | 2021-08-10 10:40:48 -0700 |
| commit | b7ce436a5d798bc59e71797952566608a4b4626b (patch) | |
| tree | 4027da5c88197d11c1f693419b636c74904fccea /tools/perf/scripts/python/netdev-times.py | |
| parent | 3f2c89fb465f63fe14da804a8afcd7ac6776508e (diff) | |
Bluetooth: switch to lock_sock in RFCOMM
Other than rfcomm_sk_state_change and rfcomm_connect_ind, functions in
RFCOMM use lock_sock to lock the socket.
Since bh_lock_sock and spin_lock_bh do not provide synchronization
with lock_sock, these calls should be changed to lock_sock.
This is now safe to do because packet processing is now done in a
workqueue instead of a tasklet, so bh_lock_sock/spin_lock_bh are no
longer necessary to synchronise between user contexts and SOFTIRQ
processing.
Signed-off-by: Desmond Cheong Zhi Xi <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions