[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45FEABE1.9050003@trash.net>
Date: Mon, 19 Mar 2007 16:27:29 +0100
From: Patrick McHardy <kaber@...sh.net>
To: Pekka Savola <pekkas@...core.fi>
CC: netdev@...r.kernel.org
Subject: Re: 2.6.20.3-rc1 / iproute2 hoplimit 2^32-1 vs 2^8-1
Patrick McHardy wrote:
> Pekka Savola wrote:
>
>>On kernel based on 2.6.20.3-rc1 (FC6), 'ip -6 r l' shows:
>>
>>default via fe80::212:f0ff:fe5f:c4ec dev eth1 proto kernel metric
>>1024 expires 7191sec mtu 1500 advmss 1440 hoplimit 4294967295
>>
>>(this is the same with iproute2-ss061214 and iproute2-ss070313.)
>>
>>So, it seems that the data length for hoplimit is not quite right, or
>>it's reported as 2^32-1 instead of 2^8-1...
>
>
>
> Does this fix it?
Mhh actually this looks intentional:
icmpv6_send and some other output functions do:
int hlimit;
...
if (hlimit < 0)
hlimit = dst_metric(dst, RTAX_HOPLIMIT);
if (hlimit < 0)
hlimit = ipv6_get_hoplimit(dst->dev);
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists