Re: [PATCH net] cls_matchall: avoid panic when receiving a packet before filter set

From: Cong Wang
Date: Thu May 02 2019 - 12:22:35 EST


On Thu, May 2, 2019 at 1:55 AM Matteo Croce <mcroce@xxxxxxxxxx> wrote:
>
> On Thu, May 2, 2019 at 10:51 AM Matteo Croce <mcroce@xxxxxxxxxx> wrote:
> >
> > When a matchall classifier is added, there is a small time interval in
> > which tp->root is NULL. If we receive a packet in this small time slice
> > a NULL pointer dereference will happen, leading to a kernel panic:
> >
>
> Hi,
>
> I forgot to mark it as v2. Will someone handle it, or I have to
> resubmit a v2 or v3?

As long as David doesn't get confused on which one he should apply,
it is okay.

Thanks.