diff options
| author | Peter Hurley <[email protected]> | 2014-11-05 12:13:07 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-05 18:50:43 -0800 |
| commit | fae76e9adfa450f4c2dd5773265eb3c811a9c484 (patch) | |
| tree | 88f6086470fe19b2299568b24e4b27d8e3c608f7 /tools/perf/scripts/python/netdev-times.py | |
| parent | e80a10ee4de8f654cf34170da00f989470331da8 (diff) | |
tty: Fix hung task on pty hangup
When hanging up one end of a pty pair, there may be waiting
readers/writers on the other end which may not exit, preventing
tty_ldisc_lock_pair() from acquiring the other side's ldisc lock.
Only acquire this side's ldisc lock; although this will no longer
prevent the other side from writing new input, that input will not
be processing until after the ldisc hangup is complete.
Reported-by: Sasha Levin <[email protected]>
Reviewed-by: Alan Cox <[email protected]>
Signed-off-by: Peter Hurley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions