[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703201026300.25136@netcore.fi>
Date: Tue, 20 Mar 2007 10:27:51 +0200 (EET)
From: Pekka Savola <pekkas@...core.fi>
To: David Miller <davem@...emloft.net>
cc: kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: 2.6.20.3-rc1 / iproute2 hoplimit 2^32-1 vs 2^8-1
On Mon, 19 Mar 2007, David Miller wrote:
> From: Patrick McHardy <kaber@...sh.net>
> Date: Mon, 19 Mar 2007 16:27:29 +0100
>
>> 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);
>
> Yep, negative value has a specific meaning.
Which seems to indicate that the kernel-internal implementation has a
need to store a negative TTL. Reporting it to the userspace as a
negative doesn't seem right though?
--
Pekka Savola "You each name yourselves king, yet the
Netcore Oy kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
-
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