diff options
author | Philippe Rétornaz <[email protected]> | 2010-10-27 17:13:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-11-09 15:05:50 -0800 |
commit | 1c95ba1e1de7edffc0c4e275e147f1a9eb1f81ae (patch) | |
tree | 9c0db77569313d05ac0e7298984897f9c003da95 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 100eeae2c5ce23b4db93ff320ee330ef1d740151 (diff) |
tty_ldisc: Fix BUG() on hangup
A kernel BUG when bluetooth rfcomm connection drop while the associated
serial port is open is sometime triggered.
It seems that the line discipline can disappear between the
tty_ldisc_put and tty_ldisc_get. This patch fall back to the N_TTY line
discipline if the previous discipline is not available anymore.
Signed-off-by: Philippe Retornaz <[email protected]>
Acked-by: Alan Cox <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions