From: Marcelo Ricardo Leitner Date: Wed, 16 May 2018 00:49:55 +0000 (-0300) Subject: tc-netem: fix limit description in man page X-Git-Tag: v4.18.0~24^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f2c23811dc66d396be514f2cf6a1ec99f387373;p=thirdparty%2Fiproute2.git tc-netem: fix limit description in man page As the kernel code says, limit is actually the amount of packets it can hold queued at a time, as per: static int netem_enqueue(struct sk_buff *skb, struct Qdisc *sch, struct sk_buff **to_free) { ... if (unlikely(sch->q.qlen >= sch->limit)) return qdisc_drop_all(skb, sch, to_free); So lets fix the description of the field in the man page. Signed-off-by: Marcelo Ricardo Leitner Signed-off-by: David Ahern --- diff --git a/man/man8/tc-netem.8 b/man/man8/tc-netem.8 index b31384f57..f2cd86b6e 100644 --- a/man/man8/tc-netem.8 +++ b/man/man8/tc-netem.8 @@ -65,7 +65,7 @@ netem has the following options: .SS limit packets -limits the effect of selected options to the indicated number of next packets. +maximum number of packets the qdisc may hold queued at a time. .SS delay adds the chosen delay to the packets outgoing to chosen network interface. The