On Fri, Aug 18, 2017 at 1:10 AM, Jiri Pirko <j...@resnulli.us> wrote: > From: Jiri Pirko <j...@mellanox.com> > > 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 <j...@mellanox.com>
Acked-by: Cong Wang <xiyou.wangc...@gmail.com>