Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.1 /net/sched/cls_u32.c

Filename:/net/sched/cls_u32.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.1-pre12  2.4.1-pre11  2.4.1-pre10  2.4.0-ac11  2.4.0-ac10  2.4.0-ac9 
(Following) 2.4.1-ac1  2.4.8-pre6  2.4.8-pre7  2.4.8-pre8  2.4.8  2.4.9-ac17 

Location
[  2.4.1
  [  net
    [  sched
       o  cls_u32.c

Patch

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;
 }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.