PATCH: TTY ldisc and termios locking work
A message that is not in the archive (sent off-list or not yet received): [email protected]
Alan,
this seems to be corrupted. A quick read-through found this ingeneric_serial.c:
+ ld = tty_ldisc_ref(tty);
+ if (ld != NULL) {
+ ld->flush_buffer)
+ ld->flush_buffer(tty);
+ tty_ldisc_deref(ld);
+ }
I can see the missing "if (" in my mind, but I'm wondering what else I might have missed. Ie can we have this patch be tested a bit more first?
Linus
Quoted 9 lines · Linus Torvalds
(quoted diff) +6
-0+ ld = tty_ldisc_ref(tty); + if (ld != NULL) { + ld->flush_buffer) + ld->flush_buffer(tty); + tty_ldisc_deref(ld); + }I can see the missing "if (" in my mind, but I'm wondering what else I might have missed. Ie can we have this patch be tested a bit more first?
Its been running for several days. generic_serial got missed because its BROKEN_ON_SMP for all users and so never got built. Fixed in my tree now.
Alan