Re: [PATCH 3/3] tty_lock: Localise the lock
From: Alan Cox
Date: Mon May 07 2012 - 12:08:36 EST
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/