From: Patrick McHardy Date: Thu, 30 Nov 2006 01:34:50 +0000 (-0800) Subject: [NET_SCHED]: sch_htb: perform qlen adjustment immediately in ->delete X-Git-Tag: v2.6.20-rc1~34^2~40^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=814a175e7b1531a4bcaa63be47bf58cacdcb5010;p=pandora-kernel.git [NET_SCHED]: sch_htb: perform qlen adjustment immediately in ->delete qlen adjustment should happen immediately in ->delete and not in the class destroy function because the reference count will not hit zero in ->delete (sch_api holds a reference) but in ->put. Since the qdisc lock is released between deletion of the class and final destruction this creates an externally visible error in the qlen counter. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed