Files
linux/drivers/tty
Johan Hovold ce42ed5ae8 serdev: ttyport: fix tty locking in close
commit 90dbad8cd6 upstream.

Make sure to hold the tty lock as required when calling tty-driver
close() (e.g. to avoid racing with hangup()).

Note that the serport active flag is currently set under the lock at
controller open, but really isn't protected by it.

Fixes: cd6484e183 ("serdev: Introduce new bus for serial attached devices")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-14 09:52:44 +01:00
..
2017-07-30 07:35:27 -07:00
2017-07-30 07:35:28 -07:00
2017-08-28 20:51:22 +02:00
2016-05-01 13:22:54 -07:00
2016-03-07 16:11:14 -08:00
2017-08-29 15:10:44 -07:00