linux/net/bluetooth/rfcomm
Marcel Holtmann 77f2a45fa1 [Bluetooth] Check that device is in rfcomm_dev_list before deleting
If RFCOMM_RELEASE_ONHUP flag is on and rfcomm_release_dev is called
before connection is closed, rfcomm_dev is deleted twice from the
rfcomm_dev_list and refcount is messed up. This patch adds a check
before deleting device that the device actually is listed.

Signed-off-by: Ville Tervo <ville.tervo@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2007-05-05 00:36:10 +02:00
..
core.c [Bluetooth] Use in-kernel sockets API 2007-05-05 00:36:06 +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] Check that device is in rfcomm_dev_list before deleting 2007-05-05 00:36:10 +02:00