mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 08:39:31 +02:00
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:
|
||
|---|---|---|
| .. | ||
| core.c | ||
| Kconfig | ||
| Makefile | ||
| serdev-ttyport.c | ||