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

From: Matteo Croce
Date: Thu May 02 2019 - 04:55:32 EST

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:


I forgot to mark it as v2. Will someone handle it, or I have to
resubmit a v2 or v3?

Matteo Croce
per aspera ad upstream