diff options
| author | Cong Wang <[email protected]> | 2019-09-08 13:40:51 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-09-10 18:31:00 +0100 |
| commit | d4d6ec6dac07f263f06d847d6f732d6855522845 (patch) | |
| tree | 86d68edb39cf667c360d0b198d00b14eb4214776 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 8b142a00edcf8422ca48b8de88d286efb500cb53 (diff) | |
sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero
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: [email protected]
Reported-by: [email protected]
Reported-by: [email protected]
Cc: Jamal Hadi Salim <[email protected]>
Cc: Jiri Pirko <[email protected]>
Cc: Terry Lam <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions