netdev
[Top] [All Lists]

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

To: "YOSHIFUJI Hideaki / ?$B5HF#1QL@?(B" <yoshfuji@xxxxxxxxxxxxxx>
Subject: Re: [PATCH] IPv6: Fix Prefix Length of Link-local Addresses
From: Derek Fawcus <dfawcus@xxxxxxxxx>
Date: Wed, 9 Oct 2002 17:00:18 +0100
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, usagi@xxxxxxxxxxxxxx
In-reply-to: <20021008.000559.17528416.yoshfuji@linux-ipv6.org>; from yoshfuji@linux-ipv6.org on Tue, Oct 08, 2002 at 12:05:59AM +0900
References: <20021008.000559.17528416.yoshfuji@linux-ipv6.org>
Sender: netdev-bounce@xxxxxxxxxxx
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


<Prev in Thread] Current Thread [Next in Thread>