Messages in this thread | | | Subject | Re: [PATCHv5 6/7] tty/ldsem: Add lockdep asserts for ldisc_sem | From | Dmitry Safonov <> | Date | Tue, 18 Sep 2018 15:21:43 +0100 |
| |
On Tue, 2018-09-18 at 15:49 +0200, Greg Kroah-Hartman wrote: > 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.
Oh yeah, sorry, I've screwed up the Cc tags for that patch: https://lore.kernel.org/lkml/20180917235258.5719-6-dima@arista.com/
Will resend.
-- Thanks, Dmitry
| |