Re: [PATCH 3/3] tty_lock: Localise the lock
From: Alan Cox <hidden>
Date: 2012-05-07 16:08:40
Also in:
lkml
From: Alan Cox <hidden>
Date: 2012-05-07 16:08:40
Also in:
lkml
I don't believe that this change is correct. Consider the following scenario: tty_release -> tty_lock -> pty_close -> tty_vhangup -> tty_lock
We hang up tty->link not tty. It's now a per tty lock. So I think we are ok. Alan