diff options
| author | Eric Dumazet <[email protected]> | 2012-11-05 16:40:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-11-06 19:06:29 -0500 |
| commit | 196d97f6b1a5d44be17f12e5adba36368915ba52 (patch) | |
| tree | 2e512f8271b19ba3d15dcb370ff0015eb110329e /tools/perf/scripts/python | |
| parent | bd473da35bc21a0004b8ad35c19e0c8b53b03f36 (diff) | |
htb: fix two bugs
Commit 56b765b79e9 (htb: improved accuracy at high rates)
introduced two bugs :
1) one bstats_update() was inadvertently removed from
htb_dequeue_tree(), breaking statistics/rate estimation.
2) Missing qdisc_put_rtab() calls in htb_change_class(),
leaking kernel memory, now struct htb_class no longer
retains pointers to qdisc_rate_table structs.
Since only rate is used, dont use qdisc_get_rtab() calls
copying data we ignore anyway.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Vimalkumar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions