From: Cong Wang <xiyou.wangc...@gmail.com> Date: Sun, 8 Sep 2019 13:40:51 -0700
> In case of TCA_HHF_NON_HH_WEIGHT or TCA_HHF_QUANTUM is zero, > it would make no progress inside the loop in hhf_dequeue() thus > kernel would get stuck. > > Fix this by checking this corner case in hhf_change(). > > Fixes: 10239edf86f1 ("net-qdisc-hhf: Heavy-Hitter Filter (HHF) qdisc") > Reported-by: syzbot+bc6297c11f19ee807...@syzkaller.appspotmail.com > Reported-by: syzbot+041483004a7f45f1f...@syzkaller.appspotmail.com > Reported-by: syzbot+55be5f513bed37fc4...@syzkaller.appspotmail.com > Cc: Jamal Hadi Salim <j...@mojatatu.com> > Cc: Jiri Pirko <j...@resnulli.us> > Cc: Terry Lam <vt...@google.com> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Applied and queued up for -stable.