diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-30 17:53:32 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-30 17:53:32 -0400 |
commit | 65fb0d23fcddd8697c871047b700c78817bdaa43 (patch) | |
tree | 119e6e5f276622c4c862f6c9b6d795264ba1603a /net/sched/sch_cbq.c | |
parent | 8c083f081d0014057901c68a0a3e0f8ca7ac8d23 (diff) | |
parent | dfbbe89e197a77f2c8046a51c74e33e35f878080 (diff) |
Merge branch 'linus' into cpumask-for-linus
Conflicts:
arch/x86/kernel/cpu/common.c
Diffstat (limited to 'net/sched/sch_cbq.c')
-rw-r--r-- | net/sched/sch_cbq.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/sched/sch_cbq.c b/net/sched/sch_cbq.c index 9e43ed949167..d728d8111732 100644 --- a/net/sched/sch_cbq.c +++ b/net/sched/sch_cbq.c | |||
@@ -1960,8 +1960,11 @@ static int cbq_delete(struct Qdisc *sch, unsigned long arg) | |||
1960 | cbq_rmprio(q, cl); | 1960 | cbq_rmprio(q, cl); |
1961 | sch_tree_unlock(sch); | 1961 | sch_tree_unlock(sch); |
1962 | 1962 | ||
1963 | if (--cl->refcnt == 0) | 1963 | BUG_ON(--cl->refcnt == 0); |
1964 | cbq_destroy_class(sch, cl); | 1964 | /* |
1965 | * This shouldn't happen: we "hold" one cops->get() when called | ||
1966 | * from tc_ctl_tclass; the destroy method is done from cops->put(). | ||
1967 | */ | ||
1965 | 1968 | ||
1966 | return 0; | 1969 | return 0; |
1967 | } | 1970 | } |