Re: routing oddity in 2.5.59-mm8

From: Andrew Morton (
Date: Sun Feb 09 2003 - 06:10:54 EST

Florian Schmitt <> wrote:
> in 2.5.59-mm8 the routing table behaves a bit strange:

me too:

vmm:/home/akpm# ip route show dev eth0 scope link dev lo scope link
default via dev eth0
vmm:/home/akpm# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface U 0 0 0 eth0 U 0 0 0 lo
vmm:/home/akpm# route del default
vmm:/home/akpm# route del default
SIOCDELRT: No such process

So `ip' can see the default route, but `route' cannot.

Reverting the spurious semicolon fix fixes it up.

diff -puN net/ipv4/fib_hash.c~a net/ipv4/fib_hash.c
--- 25/net/ipv4/fib_hash.c~a 2003-02-09 03:04:29.000000000 -0800
+++ 25-akpm/net/ipv4/fib_hash.c 2003-02-09 03:04:32.000000000 -0800
@@ -941,7 +941,7 @@ static __inline__ struct fib_node *fib_g
                         if (!iter->zone)
                                 goto out;
- if (iter->zone->fz_next)
+ if (iter->zone->fz_next);


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:21 EST