mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
bbe15d54ea
When a Bluetooth device is powered down while RFCOMM connections are open, there are race conditions where RFCOMM tries to use an HCI connection after the data structures have been deleted. Since the powerdown procedure runs in process context, it is possible to lock sockets before accessing them to close connections. This change adds that locking, which will serialize socket access between processors during powerdown. Change-Id: I587720799b35d9ee6e66340bdeda8a2b9e2ea7b5 CRs-fixed: 336893 Signed-off-by: Mat Martineau <mathewm@codeaurora.org> |
||
---|---|---|
.. | ||
acpi | ||
asm-generic | ||
crypto | ||
drm | ||
keys | ||
linux | ||
math-emu | ||
media | ||
misc | ||
mtd | ||
net | ||
pcmcia | ||
rdma | ||
rxrpc | ||
scsi | ||
sound | ||
target | ||
trace | ||
video | ||
xen | ||
Kbuild |