summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPhilippe Rétornaz <philippe.retornaz@epfl.ch>2010-10-27 17:13:21 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-09 13:26:47 -0800
commitd22ed6613136322b8cd6a126b75f5c8175f5f00c (patch)
tree77a363720f8c608470d68c160e67b8488ae66f3c /arch
parent3fe5daa1d79cbd71c4b8eb7792ea339762399092 (diff)
tty_ldisc: Fix BUG() on hangup
commit 1c95ba1e1de7edffc0c4e275e147f1a9eb1f81ae upstream. 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 <philippe.retornaz@epfl.ch> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions