summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_netem.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-11-30 02:34:50 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:31:40 +0100
commit814a175e7b1531a4bcaa63be47bf58cacdcb5010 (patch)
treec2d52dbaa3c7d586da3d1859b0d572a02b31fc2b /net/sched/sch_netem.c
parentRename class_destroy to avoid namespace conflicts. (diff)
downloadlinux-814a175e7b1531a4bcaa63be47bf58cacdcb5010.tar.xz
linux-814a175e7b1531a4bcaa63be47bf58cacdcb5010.zip
[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 <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_netem.c')
0 files changed, 0 insertions, 0 deletions