]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2750c7d77a062a10fea2f8ddf8661f43c1c63239
tree7df7a368eaf518dd91febe35a2fb0ea7a84b6416
parent9dfeb8c45ff18dc024608a1273faab0f4d48273b
tty: n_hdlc not atomic use tty->flags.

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>
drivers/tty/n_hdlc.c