diff options
author | zhangkaiheb@126.com <zhangkaiheb@126.com> | 2020-10-13 05:26:40 +0000 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2020-10-15 15:16:52 -0700 |
commit | 78ace1c2115f16a4f8edead7b63396f50b2b719e (patch) | |
tree | 2f9027fd4596d77bc37e4f920303d40458f46238 | |
parent | 0ca1312c208a6b4260898dccc59030a85c131b27 (diff) |
tc: fq: clarify the length of orphan_mask.v5.9.0
Signed-off-by: kai zhang <zhangkaiheb@126.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r-- | tc/q_fq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -253,7 +253,7 @@ static int fq_parse_opt(struct qdisc_util *qu, int argc, char **argv, &refill_delay, sizeof(refill_delay)); if (set_orphan_mask) addattr_l(n, 1024, TCA_FQ_ORPHAN_MASK, - &orphan_mask, sizeof(refill_delay)); + &orphan_mask, sizeof(orphan_mask)); if (set_ce_threshold) addattr_l(n, 1024, TCA_FQ_CE_THRESHOLD, &ce_threshold, sizeof(ce_threshold)); |