Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/ipv6nd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,15 @@ ipv6nd_expirera(void *arg)
rap->iface->name, rinfo->sprefix);
TAILQ_REMOVE(&rap->rinfos, rinfo, next);
free(rinfo);
expired = true;
continue;

@rsmarples rsmarples Sep 12, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we also need to set expired = true here so that rt_build() is called below.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless I'm missing something that's existing behaviour that is missing that? Happy to pick it up at the same time.

}

/* A non expired route information option keeps the RA valid. */
valid = true;
if (ltime != ND6_INFINITE_LIFETIME &&
(next == 0 || ltime < next))
next = ltime;
}

/* Work out expiry for ND options */
Expand Down