tty: n_hdlc not atomic use tty->flags.
authorIlya Zykov <ilya@ilyx.ru>
Mon, 7 Nov 2011 07:32:46 +0000 (11:32 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Nov 2011 12:30:49 +0000 (21:30 +0900)
N_HDLC can spoil tty->flags because use not atomic operations on tty->flags.
I use n_hdlc line discipline and it happens.

Signed-off-by: Ilya Zykov <ilya@ilyx.ru>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found