linux-stable-rt/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
..
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
act_api.c [NETLINK]: Missing initializations in dumped data 2005-06-28 12:55:30 -07:00
cls_api.c [NETLINK]: Missing initializations in dumped data 2005-06-28 12:55:30 -07:00
cls_basic.c [PKT_SCHED]: Dump classification result for basic classifier 2005-06-08 15:11:02 -07:00
cls_fw.c
cls_route.c
cls_rsvp.c
cls_rsvp.h [NETLINK]: Missing padding fields in dumped structures 2005-06-28 12:56:45 -07:00
cls_rsvp6.c
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
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 [PKT_SCHED]: Logic simplifications and codingstyle/whitespace cleanups 2005-06-18 22:53:29 -07:00
sch_fifo.c [PKT_SCHED]: Cleanup fifo qdisc and remove unnecessary code 2005-06-18 22:58:00 -07:00
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 [PKT_SCHED]: HTB: Drop packet when direct queue is full 2005-05-03 14:39:33 -07:00
sch_ingress.c
sch_netem.c [PKT_SCHED] netem: allow random reordering (with fix) 2005-05-26 12:55:48 -07:00
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