tty: Fix unsafe bit ops in tty_throttle_safe/unthrottle_safe
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 15 Apr 2013 15:06:06 +0000 (11:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Apr 2013 18:08:12 +0000 (11:08 -0700)
commit579a00a5c2f0a85fb4602a53e2c1beb77a646528
tree7a78af34a407997e0ecc49e0dfbf515587c0ec24
parent31815c08fc90f44d6165034fd473f23df5d31449
tty: Fix unsafe bit ops in tty_throttle_safe/unthrottle_safe

tty->flags needs to be atomically modified.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ioctl.c