git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19038ad
)
tty: Move tty hung up check from port->lock critical section
author
Peter Hurley
<peter@hurleysoftware.com>
Wed, 5 Nov 2014 17:40:03 +0000
(12:40 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:27 +0000
(14:57 -0800)
The port->lock does not protect the filp->f_op field; move
the tty_hung_up_p() test outside the port->lock critical section
in tty_port_close_start().
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_port.c
patch
|
blob
|
history
diff --cc
drivers/tty/tty_port.c
Simple merge