Skip to content

tty: close registration race and add termios reset feature

Johan Hovold lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tty: close race between device register and opendrivers/tty/tty_io.c+20 -200 replies
2/3tty: drop obsolete termios_locked commentsdrivers/tty/tty_io.c+1 -60 replies
3/3tty: reset termios state on device registrationdrivers/tty/tty_io.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] tty: close registration race and add termios reset feature

The first patch in this series closes a race between tty device registration and tty open due to the character device being registered before the class device has been registered.

The second patch removes some obsolete references to termios_locked, and the final patch makes sure that any saved termios state is reset during device registration when reusing a minor number.

Johan

Johan Hovold (3):
tty: close race between device register and open
tty: drop obsolete termios_locked comments
tty: reset termios state on device registration

 drivers/tty/tty_io.c | 58 +++++++++++++++++++++++++++++-----------------------
 1 file changed, 32 insertions(+), 26 deletions(-)
Signature · 1 line
2.12.2