public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Fernando Fernandez Mancera <fmancera@suse.de>
To: "Łukasz Stelmach" <steelman@post.pl>, netdev@vger.kernel.org
Subject: Re: [BUG] some temporary IPv6 address don't get regenerated
Date: Mon, 27 Apr 2026 16:55:00 +0200	[thread overview]
Message-ID: <8d648645-0352-4657-9cf0-c39a5cdc13ee@suse.de> (raw)
In-Reply-To: <87340td30q.fsf%steelman@post.pl>

On 4/17/26 5:23 PM, Łukasz Stelmach wrote:
> Hi,
> 
> Apparently, something in addrconf.c can go wrong and a temporary
> addresses may not get regenerated leaving users who wish to use them
> with only the stable ones. Below, 2a01:110f:4321:1002:abcc:78d7:2055:94ec
> while still valid is not preferred anymore. Even if it's not the only
> global temporary address it is the only usable to contact hosts on the
> Internet because the other temporary addresses are ULA.
> 

Hi,

I managed to reproduce this, it took me quite some time. It looks like a 
race condition somewhere. I am working on a fix and I will add a 
selftest covering this too.

Ideally, I will send a fix this week. I am now checking if this was 
introduced recently or was always broken.

> Neither received RAs nor adding and removing an address manually (one
> with a different prefix unrelated to these below) which as far as I
> understand, should trigger address maintenance code.
> 

Yup, same situation here.

Thanks,
Fernando.

> I noticed this phenomenon once or twice before. It seems to be very
> rare, yet quite undesirable I'd say. What might have triggered it today
> is a reboot of my router and (possible?) change in lifetime values it
> announced.
> 
> Even stranger is that there is a preferred fd89:: (ULA), but not 2a01::.
> 
> accept_ra as well as use_tempaddr are set to 2.
> 
> Of course, this ma be get fixed by a suspend/resume (no, it may not) or
> manual ifdown/ifup (of course it helped), but nevertheless I thought it
> was worth reporting.
> 
> --8<---------------cut here---------------start------------->8---
> 107: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
>      link/ether b8:ca:3a:d4:1e:97 brd ff:ff:ff:ff:ff:ff
>      inet 192.168.2.122/24 brd 192.168.2.255 scope global dynamic bond0
>         valid_lft 165585sec preferred_lft 165585sec
> 
>      inet6 fd89:82bb:420:2:cab3:d2d6:aeeb:e250/64 scope global temporary dynamic
>         valid_lft 597079sec preferred_lft 78177sec
> 
>      inet6 2a01:110f:4321:1002:abcc:78d7:2055:94ec/64 scope global temporary deprecated dynamic
>         valid_lft 60815sec preferred_lft 0sec
> 
>      inet6 2a01:110f:4321:1002:abac:3aff:fed4:beef/64 scope global dynamic mngtmpaddr proto kernel_ra
>         valid_lft 60815sec preferred_lft 60815sec
> 
>      inet6 fd89:82bb:420:2:24bf:fe8f:5c9c:c753/64 scope global temporary deprecated dynamic
>         valid_lft 511186sec preferred_lft 0sec
> 
>      inet6 fd89:82bb:420:2:abac:3aff:fed4:beef/64 scope global dynamic mngtmpaddr proto kernel_ra
>         valid_lft 2591805sec preferred_lft 604605sec
> 
>      inet6 fe80::abac:3aff:fed4:beef/64 scope link proto kernel_ll
>         valid_lft forever preferred_lft forever
> --8<---------------cut here---------------end--------------->8---
> 


      reply	other threads:[~2026-04-27 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-17 15:23 [BUG] some temporary IPv6 address don't get regenerated Łukasz Stelmach
2026-04-27 14:55 ` Fernando Fernandez Mancera [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d648645-0352-4657-9cf0-c39a5cdc13ee@suse.de \
    --to=fmancera@suse.de \
    --cc=netdev@vger.kernel.org \
    --cc=steelman@post.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox