Displaying 3 results from an estimated 3 matches for "qdisc_get_rtab".
2002 Mar 18
2
Failed to insmod sch_htb
...QoS support, and all QoS
scheds in modules instead off kernel. make clean dep bzImage modules
modules_install copy the new kernel
reboot
fine
But when i :
server:~# insmod sch_htb
Using /lib/modules/2.4.17/kernel/net/sched/sch_htb.o
/lib/modules/2.4.17/kernel/net/sched/sch_htb.o: unresolved symbol
qdisc_get_rtab/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
unregister_qdisc/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
qdisc_put_rtab/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
register_qdisc/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved...
2006 Jun 15
0
[PATCH 1/2] Runtime configuration of HTB''s HYSTERESIS option (kernel)
...if (!opt || rtattr_parse_nested(tb, TCA_HTB_RTAB, opt) ||
+ if (!opt || rtattr_parse_nested(tb, TCA_HTB_MAX, opt) ||
tb[TCA_HTB_PARMS-1] == NULL ||
RTA_PAYLOAD(tb[TCA_HTB_PARMS-1]) < sizeof(*hopt))
goto failure;
@@ -1544,6 +1542,10 @@ static int htb_change_class(struct Qdisc
ctab = qdisc_get_rtab(&hopt->ceil, tb[TCA_HTB_CTAB-1]);
if (!rtab || !ctab) goto failure;
+ uhopt = RTA_DATA(tb[TCA_HTB_NOHYST-1]);
+ if (uhopt != NULL && RTA_PAYLOAD(tb[TCA_HTB_NOHYST-1]) < sizeof(*uhopt))
+ goto failure;
+
if (!cl) { /* new class */
struct Qdisc *new_q;
/* check for vali...
2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic
house cleaning. The first four should cause no code change, but the
last two need more testing.
--
Stephen Hemminger <shemminger@osdl.org>
"And in the Packet there writ down that doome"
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to