From: Eric Dumazet Date: Mon, 5 Nov 2012 16:40:49 +0000 (+0000) Subject: htb: fix two bugs X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~436 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=196d97f6b1a5d44be17f12e5adba36368915ba52;p=pandora-kernel.git 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 Cc: Vimalkumar Signed-off-by: David S. Miller --- Reading git-diff-tree failed