[PATCH 5/6] htb: use hlist for hash lists.

2006-08-02 Thread Stephen Hemminger
Use hlist instead of list for the hash list. This saves space, and we can check for double delete better. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/sched/sch_htb.c | 49 +++-- 1 files changed, 27 insertions(+), 22 deletions(-) diff

Re: [PATCH 5/6] htb: use hlist for hash lists.

2006-08-03 Thread Jarek Poplawski
On 03-08-2006 00:03, Stephen Hemminger wrote: ... Hi, By the way, isn't htb supposed to recognize here ids got like this: tc filter add ... classid 0:1 Some qdisc like prio do this and it is mentioned in sch_api.c which is passing this without error code: > @@ -220,12 +220,13 @@ #endif > stat

Re: [PATCH 5/6] htb: use hlist for hash lists.

2006-08-03 Thread Jarek Poplawski
On 03-08-2006 11:34, Jarek Poplawski wrote: ... > On the other hand I don't understand why it should be good > if there could be the real priority(from tos) only by accident > equal to the classid? OK! I've just done one more look and understand - this 0:Y is only possible from filter, so the fir