kernel-ark/net/sched
Thomas Graf 0fbbeb1ba4 [PKT_SCHED]: Fix missing qdisc_destroy() in qdisc_create_dflt()
qdisc_create_dflt() is missing to destroy the newly allocated
default qdisc if the initialization fails resulting in leaks
of all kinds. The only caller in mainline which may trigger
this bug is sch_tbf.c in tbf_create_dflt_qdisc().

Note: qdisc_create_dflt() doesn't fulfill the official locking
      requirements of qdisc_destroy() but since the qdisc could
      never be seen by the outside world this doesn't matter
      and it can stay as-is until the locking of pkt_sched
      is cleaned up.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-08-23 10:12:44 -07:00
..
act_api.c
cls_api.c
cls_basic.c
cls_fw.c
cls_route.c
cls_rsvp6.c
cls_rsvp.c
cls_rsvp.h [NETLINK]: Missing padding fields in dumped structures 2005-06-28 12:56:45 -07:00
cls_tcindex.c
cls_u32.c
em_cmp.c
em_meta.c [EMATCH]: Remove feature ifdefs in meta ematch. 2005-07-24 19:44:23 -07:00
em_nbyte.c
em_text.c [PKT_SCHED]: Remove debugging leftover from textsearch ematch 2005-07-18 13:29:49 -07:00
em_u32.c
ematch.c
estimator.c
gact.c
ipt.c
Kconfig [NET]: move config options out to individual protocols 2005-07-11 21:13:56 -07:00
Makefile [PKT_SCHED]: Blackhole queueing discipline 2005-07-05 15:29:16 -07:00
mirred.c
pedit.c
police.c
sch_api.c [PKT_SCHED]: Report rate estimator configuration errors during qdisc allocation 2005-07-05 14:15:53 -07:00
sch_atm.c
sch_blackhole.c [PKT_SCHED]: Blackhole queueing discipline 2005-07-05 15:29:16 -07:00
sch_cbq.c [NETLINK]: Missing padding fields in dumped structures 2005-06-28 12:56:45 -07:00
sch_dsmark.c
sch_fifo.c
sch_generic.c [PKT_SCHED]: Fix missing qdisc_destroy() in qdisc_create_dflt() 2005-08-23 10:12:44 -07:00
sch_gred.c
sch_hfsc.c
sch_htb.c
sch_ingress.c
sch_netem.c
sch_prio.c
sch_red.c [NET]: Transform skb_queue_len() binary tests into skb_queue_empty() 2005-07-08 14:57:23 -07:00
sch_sfq.c
sch_tbf.c
sch_teql.c
simple.c