commit | 328be395a396b1333b56e04571365dc614c96e46 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Tue May 25 11:37:17 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jun 04 13:37:17 2010 -0700 |
tree | e4266351b4641c44f43747e776964d6321f10d3d | |
parent | e59e2bd9e85604ad601ec7dd056baffcd6ad56a0 [diff] |
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>