diff options
author | 2010-05-25 11:37:17 +0200 | |
---|---|---|
committer | 2010-06-04 13:37:17 -0700 | |
commit | 328be395a396b1333b56e04571365dc614c96e46 (patch) | |
tree | e4266351b4641c44f43747e776964d6321f10d3d /drivers/acpi/debug.c | |
parent | serial: bfin_5xx: fix typo in IER check (diff) | |
download | linux-dev-328be395a396b1333b56e04571365dc614c96e46.tar.xz linux-dev-328be395a396b1333b56e04571365dc614c96e46.zip |
TTY/n_gsm: potential double lock
In gsm_dlci_data_kick() we call gsm_dlci_data_sweep() with the
"gsm->tx_lock" held so we can't lock it again inside
gsm_dlci_data_sweep(). I removed that lock from and added one to
gsmld_write_wakeup() instead. The sweep function is only called from
those two places.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/acpi/debug.c')
0 files changed, 0 insertions, 0 deletions