[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121106.190655.1944399936693318220.davem@davemloft.net>
Date: Tue, 06 Nov 2012 19:06:55 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, j.vimal@...il.com
Subject: Re: [PATCH v2 net-next] htb: fix two bugs
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 05 Nov 2012 18:40:49 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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 <edumazet@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists