diff options
author | Felipe Balbi <balbi@ti.com> | 2014-04-23 09:58:26 -0500 |
---|---|---|
committer | Huang Shijie <b32955@freescale.com> | 2014-04-28 14:28:41 +0800 |
commit | 2b2ab2029243b98bd8cd23f44ce757e39df6fb2e (patch) | |
tree | a9caf5b30fc2430794f2f3c94a4f73433a328113 /include/linux/hwmon.h | |
parent | c868f352379d739076256e75ce81fe9d7f934f35 (diff) |
bluetooth: hci_ldisc: fix deadlock condition
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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'include/linux/hwmon.h')
0 files changed, 0 insertions, 0 deletions