aboutsummaryrefslogtreecommitdiff
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-05-05 00:36:10 +0200
committerMarcel Holtmann <marcel@holtmann.org>2007-05-05 00:36:10 +0200
commit77f2a45fa1ba33147fd6cc8ae546188504a822cd (patch)
treec714c55fde74c5dd82b031b8ac605121a2b3f5b7 /kernel/profile.c
parent48db9ca4f2ac9f39eb90ccb12ad3ca7b645a552c (diff)
[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>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions