]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net_sched: restore "overhead xxx" handling
authorEric Dumazet <edumazet@google.com>
Sun, 2 Jun 2013 13:55:05 +0000 (13:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2013 05:22:35 +0000 (22:22 -0700)
commit01cb71d2d47b78354358e4bb938bb06323e17498
tree76aee7a59adb57237616a87a6c23102f90eacd8f
parentc87a124a5d5e8cf8e21c4363c3372bcaf53ea190
net_sched: restore "overhead xxx" handling

commit 56b765b79 ("htb: improved accuracy at high rates")
broke the "overhead xxx" handling, as well as the "linklayer atm"
attribute.

tc class add ... htb rate X ceil Y linklayer atm overhead 10

This patch restores the "overhead xxx" handling, for htb, tbf
and act_police

The "linklayer atm" thing needs a separate fix.

Reported-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Vimalkumar <j.vimal@gmail.com>
Cc: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
net/sched/act_police.c
net/sched/sch_generic.c
net/sched/sch_htb.c
net/sched/sch_tbf.c