Re: [PATCHv5 6/7] tty/ldsem: Add lockdep asserts for ldisc_sem

From: Greg Kroah-Hartman
Date: Tue Sep 18 2018 - 09:50:01 EST


On Tue, Sep 18, 2018 at 12:52:57AM +0100, Dmitry Safonov wrote:
> Make sure under CONFIG_LOCKDEP that each change to line discipline
> is done with held write semaphor.
> Otherwise potential reader will have a good time dereferencing
> incomplete/uninitialized ldisc.

Note, I don't see patch 5/7 here, did it get lost? Please fix that up
for the next resend of this series.

thanks,

greg k-h