aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorPeter Hurley <[email protected]>2016-01-11 06:40:56 +0000
committerGreg Kroah-Hartman <[email protected]>2016-01-27 07:17:54 +0000
commit6d27a63caad3f13e96cf065d2d96828c2006be6b (patch)
tree9ac73a342940bb6c283e37f23e8384155c59dfb1 /drivers/acpi/cppc_acpi.c
parenttty: Fix unsafe ldisc reference via ioctl(TIOCGETD) (diff)
downloadkernel-6d27a63caad3f13e96cf065d2d96828c2006be6b.tar.gz
kernel-6d27a63caad3f13e96cf065d2d96828c2006be6b.zip
n_tty: Fix unsafe reference to "other" ldisc
Although n_tty_check_unthrottle() has a valid ldisc reference (since the tty core gets the ldisc ref in tty_read() before calling the line discipline read() method), it does not have a valid ldisc reference to the "other" pty of a pty pair. Since getting an ldisc reference for tty->link essentially open-codes tty_wakeup(), just replace with the equivalent tty_wakeup(). Cc: <[email protected]> Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions