Kernel BUG: Qos seg. fault
Subsystems (2)
Quoted 7 lines · Jamal
Quoted 4 lines · Dmitry Torokhov
prio qdisc can have several child qdiscs attached to it so I can see why it supports filters. But what is the point of TBF having filter attached? TBF either drops packet or passes it to its only child, there isn't anything to filter. Or am I missing something?
Quoted 7 lines
If the TBF is pretending even in the slightest to be a classful qdisc which i believe it does in the latest reincarnation i think it would be a good idea to maintain the semantics of classful qdiscs - maintain a filter list.
What do you mean it will only pass it to its child? Why were you trying to attach a filter to it then? Sorry, I havent paid attention to how it was supposed to be used.
The only reason TBF has a class is that within current framework net/sched framework child qdisc can only be attached to a class. So TBF defines a class (there is only one per TBF qdisc, it's created automatically and can not be changed) much like sch_prio does. The difference is that sch_prio can have up to TCQ_PRIO_BANDS children so implementing filters for sch_prio makes sense. TBF has one and only one child qdisc. It starts with noop_qdisc from sch_generic and later user can change to to something else, like original poster did.
Since TBF has only one child no matter what I contend that implementing filters for TBF does not make sense, filters should be attached either to TBF's child ot to TBF's parent but not to TBF itself.
Dmitry
Quoted 10 lines · Dmitry Torokhov
The only reason TBF has a class is that within current framework net/sched framework child qdisc can only be attached to a class. So TBF defines a class (there is only one per TBF qdisc, it's created automatically and can not be changed) much like
sch_priodoes. The difference is thatsch_priocan have up toTCQ_PRIO_BANDSchildren so implementing filters forsch_priomakes sense. TBF has one and only one child qdisc. It starts withnoop_qdiscfromsch_genericand later user can change to to something else, like original poster did.
Quoted 4 lines
Since TBF has only one child no matter what I contend that implementing filters for TBF does not make sense, filters should be attached either to TBF's child ot to TBF's parent but not to TBF itself.
Ok, understood. Why does TBF have only one child?
cheers,
jamal
PS:- Very strange how netdev is not allowing my postings through.
Quoted 2 lines · jamal
PS:- Very strange how netdev is not allowing my postings through.
Oh, i see the cure was for me to say netdev was blocking my emails;-> About 3 or 4 postings i sent before this never made it. Now SMTP is no longer a reliable protocol.
cheers,
jamal