android_kernel_xiaomi_sm7250/net/bluetooth/rfcomm
Mikko Rapeli 84950cf0ba [Bluetooth] Hangup TTY before releasing rfcomm_dev
The core problem is that RFCOMM socket layer ioctl can release
rfcomm_dev struct while RFCOMM TTY layer is still actively using
it. Calling tty_vhangup() is needed for a synchronous hangup before
rfcomm_dev is freed.

Addresses the oops at http://bugzilla.kernel.org/show_bug.cgi?id=7509

Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2007-07-11 07:01:26 +02:00
..
core.c [Bluetooth] Disconnect L2CAP connection after last RFCOMM DLC 2007-05-05 00:36:13 +02:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [Bluetooth] Move CRC table into RFCOMM core 2005-10-28 19:20:36 +02:00
sock.c [NET] BLUETOOTH: Fix whitespace errors. 2007-02-10 23:19:20 -08:00
tty.c [Bluetooth] Hangup TTY before releasing rfcomm_dev 2007-07-11 07:01:26 +02:00