On Fri, Aug 18, 2017 at 1:10 AM, Jiri Pirko <[email protected]> wrote:
> From: Jiri Pirko <[email protected]>
>
> The dereference before check is wrong and leads to an oops when
> p_filter_chain is NULL. The check needs to be done on the pointer to
> prevent NULL dereference.
>
> Fixes: f93e1cdcf42c ("net/sched: fix filter flushing")
> Signed-off-by: Jiri Pirko <[email protected]>

Acked-by: Cong Wang <[email protected]>

Reply via email to