this one fixes /proc/net/route missing the default route for me.
[see http://bugme.osdl.org/show_bug.cgi?id=528 ]
against 2.5.66-bk. please apply if it's correct.
rgds
-daniel
===== net/ipv4/fib_hash.c 1.10 vs edited =====
--- 1.10/net/ipv4/fib_hash.c Sat Feb 1 02:04:16 2003
+++ edited/net/ipv4/fib_hash.c Tue Apr 1 19:03:45 2003
@@ -936,14 +936,10 @@
goto out;
}
- for (;;) {
- iter->zone = iter->zone->fz_next;
+ iter->zone = iter->zone->fz_next;
- if (!iter->zone)
- goto out;
- if (iter->zone->fz_next)
- break;
- }
+ if (!iter->zone)
+ goto out;
iter->hash = iter->zone->fz_hash;
iter->bucket = 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/