[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <d630f87aa617098553c3a3361fcf50aa@mail.marples.name>
Date: Sun, 10 Aug 2014 19:56:05 +0000
From: Roy Marples <roy@...ples.name>
To: netdev@...r.kernel.org
Cc: "David S. Miller\" <davem@...emloft.net>, Alexey Kuznetsov
<kuznet@....inr.ac.ru>, Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Patrick McHardy" <kaber@...sh.net>
Subject: [PATCH] ipv6: do not add link-local address if one already exists
Hi
Currently the kernel will always add an IPv6 link-local address
based on the hardware address when the interface is brought up.
This is probably based on the assumption that userland would
never add one before the interface is brought up.
However, one at least one userland application (dhcpcd) does this so
it can implement RFC7217 which can be used for link-local addresses
as well.
Attached is a patch which checks to see if a link-local address exists
before indiscriminately adding one.
Thanks
Roy
View attachment "linux-ipv6-onelladdr.diff" of type "text/x-diff" (598 bytes)
Powered by blists - more mailing lists