| Kernel v2.4.1 /net/sched/cls_u32.c |
|---|
 2.4.1
 net
 sched
 cls_u32.c
diff -u --recursive --new-file v2.4.0/linux/net/sched/cls_u32.c linux/net/sched/cls_u32.c
--- v2.4.0/linux/net/sched/cls_u32.c Mon Aug 23 10:01:02 1999
+++ linux/net/sched/cls_u32.c Mon Jan 22 13:30:21 2001
@@ -252,7 +252,7 @@
do {
if (++tp_c->hgenerator == 0x7FF)
tp_c->hgenerator = 1;
- } while (i>0 && u32_lookup_ht(tp_c, (tp_c->hgenerator|0x800)<<20));
+ } while (--i>0 && u32_lookup_ht(tp_c, (tp_c->hgenerator|0x800)<<20));
return i > 0 ? (tp_c->hgenerator|0x800)<<20 : 0;
}
|