diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 13:35:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 00:50:23 +0200 |
commit | e673927d8a210ab1db27047080fc1bdb47f7e372 (patch) | |
tree | c817dc32bbc54e323909004a098fd29d16ee1ffb /drivers/virt | |
parent | TTY: ircomm, use flags from tty_port (diff) | |
download | linux-e673927d8a210ab1db27047080fc1bdb47f7e372.tar.xz linux-e673927d8a210ab1db27047080fc1bdb47f7e372.zip |
TTY: ircomm, revamp locking
Use self->spinlock only for ctrl_skb and tx_skb. TTY stuff is now
protected by tty_port->lock. This is needed for further cleanup (and
conversion to tty_port helpers).
This also closes the race in the end of close.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Samuel Ortiz <samuel@sortiz.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions