patch-2.4.1 linux/net/sched/cls_u32.c
Next file: linux/net/sched/sch_dsmark.c
Previous file: linux/net/irda/af_irda.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jan 22 13:30:21 2001
- Orig file:
v2.4.0/linux/net/sched/cls_u32.c
- Orig date:
Mon Aug 23 10:01:02 1999
diff -u --recursive --new-file v2.4.0/linux/net/sched/cls_u32.c linux/net/sched/cls_u32.c
@@ -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;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)