HomeFreeBSD

Map IPv6 link-local prefix to the link-local ifa.

Description

Map IPv6 link-local prefix to the link-local ifa.

Currently we create link-local route by creating an always-on IPv6 prefix
in the prefix list. This prefix is not tied to the link-local ifa.

This leads to the following problems:

First, when flushing interface addresses we skip on-link route, leaving
fe80::/64 prefix on the interface without any IPv6 addresses.
Second, when creating and removing link-local alias we lose fe80::/64 prefix
from the routing table.

Fix this by attaching link-local prefix to the ifa at the initial creation.

Reviewed by: hrs
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D28129

Details

Provenance
melifaroAuthored on Jan 12 2021, 11:14 PM
Reviewer
hrs
Differential Revision
D28129: Map IPv6 link-local prefix to the link-local ifa.
Parents
rGa339b4223a4f: linux: bump the default version from 3.10.0 to 3.17.0
Branches
Unknown
Tags
Unknown