[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20201013052640.31112-1-zhangkaiheb@126.com>
Date: Tue, 13 Oct 2020 05:26:40 +0000
From: zhang kai <zhangkaiheb@....com>
To: netdev@...r.kernel.org, stephen@...workplumber.org,
edumazet@...gle.com
Cc: "zhangkaiheb@....com" <zhangkaiheb@....com>
Subject: [PATCH] tc: fq: clarify the length of orphan_mask.
From: "zhangkaiheb@....com" <zhangkaiheb@....com>
Signed-off-by: kai zhang <zhangkaiheb@....com>
---
tc/q_fq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tc/q_fq.c b/tc/q_fq.c
index 98d1bf40..b10d01e9 100644
--- a/tc/q_fq.c
+++ b/tc/q_fq.c
@@ -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));
--
2.17.1
Powered by blists - more mailing lists