aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorNiels Dossche <[email protected]>2022-04-05 19:37:52 +0200
committerMarcel Holtmann <[email protected]>2022-05-13 13:05:49 +0200
commitfb048cae51bacdfbbda2954af3c213fdb1d484f4 (patch)
tree96641604e4a77081c2e4b01add51dc00f1a1642b /net/lapb/lapb_timer.c
parent50a3633ae5e98cf1b80ef5b73c9e341aee9ad896 (diff)
Bluetooth: use hdev lock for accept_list and reject_list in conn req
All accesses (both reads and modifications) to hdev->{accept,reject}_list are protected by hdev lock, except the ones in hci_conn_request_evt. This can cause a race condition in the form of a list corruption. The solution is to protect these lists in hci_conn_request_evt as well. I was unable to find the exact commit that introduced the issue for the reject list, I was only able to find it for the accept list. Fixes: a55bd29d5227 ("Bluetooth: Add white list lookup for incoming connection requests") Signed-off-by: Niels Dossche <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions