kernel-fxtec-pro1x/net/bluetooth
Dave Young f951375d47 [BLUETOOTH]: rfcomm tty BUG_ON() code fix
1) In tty.c the BUG_ON at line 115 will never be called, because the the
   before list_del_init in this same function.
	115          BUG_ON(!list_empty(&dev->list));
   So move the list_del_init to rfcomm_dev_del 

2) The rfcomm_dev_del could be called from diffrent path
   (rfcomm_tty_hangup/rfcomm_dev_state_change/rfcomm_release_dev),

   So add another BUG_ON when the rfcomm_dev_del is called more than
   one time.

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-10 22:22:52 -08:00
..
bnep [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00
cmtp [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00
hidp [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00
rfcomm [BLUETOOTH]: rfcomm tty BUG_ON() code fix 2008-01-10 22:22:52 -08:00
af_bluetooth.c [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
hci_conn.c [BLUETOOTH]: put_device before device_del fix 2007-12-29 19:17:47 -08:00
hci_core.c [Bluetooth] Add support for handling simple eSCO links 2007-10-22 02:59:47 -07:00
hci_event.c [Bluetooth] Add support for handling simple eSCO links 2007-10-22 02:59:47 -07:00
hci_sock.c [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00
hci_sysfs.c [BLUETOOTH]: put_device before device_del fix 2007-12-29 19:17:47 -08:00
Kconfig [S390] Kconfig: unwanted menus for s390. 2007-05-10 15:46:07 +02:00
l2cap.c [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00
lib.c [NET] BLUETOOTH: Fix whitespace errors. 2007-02-10 23:19:20 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sco.c [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00