From: Cong Wang <xiyou.wangc...@gmail.com> Date: Thu, 2 Nov 2017 17:32:08 -0700
> Callers of tcf_block_put() could pass NULL so > we can't use block->q before checking if block is > NULL or not. > > tcf_block_put_ext() callers are fine, it is always > non-NULL. > > Fixes: 8c4083b30e56 ("net: sched: add block bind/unbind notif. and extended > block_get/put") > Reported-by: Dave Taht <dave.t...@gmail.com> > Cc: Jiri Pirko <j...@mellanox.com> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Applied, thanks Cong.