Re: [PATCH] IPv6: Fix Prefix Length of Link-local Addresses

Derek Fawcus (dfawcus@cisco.com)
Wed, 9 Oct 2002 17:00:18 +0100


On Tue, Oct 08, 2002 at 12:05:59AM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@?(B wrote:
> Hi,
>
> Prefix length for link-local address should be 64, not 10.
> This patch fixes prefix length of link-local address.
>
> Following patch is against 2.4.19.

Huh?

Without reading the kernel routing table code a bit more, I'm not certain
what that change does, but it looks as if it might be changing the
connected route for a link local from fe80::/10 to fe80::/64.

I'd actually say that is wrong.

All link local's are currently supposed to have those top bits
('tween 10 and 64) zero'd, however any address within the link local
prefix _is_ on link / connected and should go to the interface.

i.e. it's perfectly valid for me to assign a link local of fe80:1910::10
to an interface and expect it to be work, likewise for a packet
destined to any link local address to trigger ND.

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