fix /proc/net/route missing the default route
Subsystems (2)
PATCH 1/1 fix /proc/net/route missing the default route
hi
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 =====
net/ipv4/fib_hash.c +3 -7
@@ -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 ;
David S. Miller
Applied From: Daniel Ritz <[email protected]>
Date: Tue, 1 Apr 2003 19:17:07 +0200
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.
I've applied your patch, thanks Daniel.