On Thu, Sep 12, 2019 at 3:31 AM Linus Torvalds <torva...@linux-foundation.org> wrote: > > On Thu, Sep 12, 2019 at 2:10 AM Cong Wang <xiyou.wangc...@gmail.com> wrote: > > > > On Wed, Sep 11, 2019 at 2:36 PM Eric Dumazet <eric.duma...@gmail.com> wrote: > > > > > > It seems a similar fix would be needed in net/sched/sch_dsmark.c ? > > > > > > > Yeah, or just add a NULL check in dsmark_destroy(). > > Well, this was why one of my suggestions was to just make > "qdisc_put()" be happy with a NULL pointer (or even an ERR_PTR()). > > That would have fixed not just sfb, but also dsmark with a single patch.
Sure, I don't have any preference here, just want to find a minimum fix for -stable. I will send v2. Thanks.