]> git.proxmox.com Git - mirror_iproute2.git/commit
tc-netem: fix limit description in man page
authorMarcelo Ricardo Leitner <mleitner@redhat.com>
Wed, 16 May 2018 00:49:55 +0000 (21:49 -0300)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 16 May 2018 22:36:48 +0000 (15:36 -0700)
commit4f59f4a5afbb14ee7556f18b0d0663c2db5c0416
tree383c2ae8c3797b2fc309c78288b1b2eb7284c613
parent9b13cc98f5952f62b825461727c8170d37a4037d
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 <mleitner@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
man/man8/tc-netem.8