aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dpms
diff options
context:
space:
mode:
authorReid Linnemann <rlinnemann@netgate.com>2025-09-05 19:57:44 +0000
committerKristof Provost <kp@FreeBSD.org>2025-09-05 21:48:48 +0000
commit9e792f7ef7298080c058fbc2d36a4e60e596dae9 (patch)
tree2e6421abb719e802524d9340bae0233961705915 /sys/dev/dpms
parentaf60084978a43632c5ab2d6e3aca41be7a658d8c (diff)
sys/netinet6: Fix SLAAC for interfaces with no /64 LL address
in6_ifadd() asserts that an interface has an existing LL address with a /64 prefix from which to extract the ifid for SLAAC address selection (even though the comments suggest that an ifid will be generated if one does not exist). This is adequate for most generic cases, however to support PPP links with /128 LL addresses we must be able to fall back on another source for the ifid since we cannot assume the /128 LL has a unique ifid in the lower 64 bits. To do this, the static function get_ifid() in in6_ifattach.c is renamed to non-static in6_get_ifid(), and this is used in lieu of a proper /64 LL address to attempt to obtain a valid ifid. Reviewed by kp Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D51778
Diffstat (limited to 'sys/dev/dpms')
0 files changed, 0 insertions, 0 deletions