summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-04-23 09:58:26 -0500
committerBen Hutchings <ben@decadent.org.uk>2014-07-11 13:33:33 +0100
commit87520218746b8d973670e37237666f174590898c (patch)
tree47d80c86cb14fc43d58d6b697f718c80541a960c /include
parent0efda016ac2fb3db57ee19f5df746eca4250955d (diff)
downloadkernel-common-87520218746b8d973670e37237666f174590898c.tar.gz
kernel-common-87520218746b8d973670e37237666f174590898c.tar.bz2
kernel-common-87520218746b8d973670e37237666f174590898c.zip
bluetooth: hci_ldisc: fix deadlock condition
commit da64c27d3c93ee9f89956b9de86c4127eb244494 upstream. LDISCs shouldn't call tty->ops->write() from within ->write_wakeup(). ->write_wakeup() is called with port lock taken and IRQs disabled, tty->ops->write() will try to acquire the same port lock and we will deadlock. Acked-by: Marcel Holtmann <marcel@holtmann.org> Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Reported-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Tested-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> [bwh: Backported to 3.2: adjust context, indentation] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions