Re: Patch for panic in n_tty_read()
From: Alan Cox <hidden>
Date: 2012-08-08 08:55:48
From: Alan Cox <hidden>
Date: 2012-08-08 08:55:48
On Wed, 08 Aug 2012 09:58:40 +0200 Stanislav Kozina [off-list ref] wrote:
Alan, I am not sure if you got my last email, so I'm resending it now: > I am very sorry, but I don't see it. We didn't held the lock while calling tty_audit_push() before, and we don't hold it after the patch neither. > So what's the locking scheme change here? Is there some binding between n_tty_read() and tty_audit_push() I just don't see?
No - looking at it again you are right, the lock is still dropped during the audit call. Alan