[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpXZNj4356+yRg_FqCkDrS5CN2eNgAHQsN99bhFLwRutkg@mail.gmail.com>
Date: Mon, 22 Jul 2019 14:37:15 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Vlad Buslov <vladbu@...lanox.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
Jiri Pirko <jiri@...nulli.us>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH net-next] net: sched: verify that q!=NULL before setting q->flags
On Sun, Jul 21, 2019 at 7:44 AM Vlad Buslov <vladbu@...lanox.com> wrote:
>
> In function int tc_new_tfilter() q pointer can be NULL when adding filter
> on a shared block. With recent change that resets TCQ_F_CAN_BYPASS after
> filter creation, following NULL pointer dereference happens in case parent
> block is shared:
I completely overlooked shared filter block.
Thanks for fixing it!
Powered by blists - more mailing lists