Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6_route_output,rt6_fill_node+0x175

From: Eugene Teo
Date: Mon Aug 11 2008 - 21:42:03 EST


Eugene Teo wrote:
> Eugene Teo wrote:
>> David Miller wrote:
>>> From: Eugene Teo <eteo@xxxxxxxxxx>
>>> Date: Mon, 11 Aug 2008 16:40:24 +0800
> [...]
>> With the patch I posted, this is the behaviour I get:
>>
>> $ ip -f inet6 route get fec0::1
>> unreachable fec0::1 dev lo table unspec proto none src
>> fe80::214:4fff:fe0f:7332 metric -1 error -101 hoplimit 255
>
> Ok, so there's a mistake in my patch. It should return the loopback MAC

s/MAC/ipv6/

> address instead. I'm wondering if the fix should be related to
> initialising rt6i_idev in addrconf_init routine like in the upstream
> commit: c62dba9011b93fd88fde929848582b2a98309878. The code changed quite
> a lot.

So I checked, it's initialised in ip6_route_init().

Eugene
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/