commit | 78a4ad28608a530b5bd85da60307d61133e68040 | [log] [tgz] |
---|---|---|
author | Qiujun Huang <hqjagain@gmail.com> | Sun Mar 08 17:45:27 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 13 10:45:14 2020 +0200 |
tree | 2d56cf035c4c0f0105063f80fe57936d92943767 | |
parent | ee433d1cdee016c73707b4636c9dd4424aaaad53 [diff] |
Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl commit 71811cac8532b2387b3414f7cd8fe9e497482864 upstream. Needn't call 'rfcomm_dlc_put' here, because 'rfcomm_dlc_exists' didn't increase dlc->refcnt. Reported-by: syzbot+4496e82090657320efc6@syzkaller.appspotmail.com Signed-off-by: Qiujun Huang <hqjagain@gmail.com> Suggested-by: Hillf Danton <hdanton@sina.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>