]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Add support for PIO p flag
authorPatrick Rohr <prohr@google.com>
Mon, 29 Jul 2024 22:00:59 +0000 (15:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2024 12:49:48 +0000 (13:49 +0100)
commit990c304930138dcd7a49763417e6e5313b81293e
treea24bd1219e6cfabffa37e78319d769e8b71205bd
parent59f726578c9bc0f50011b9e1f50f8bd15ed354a6
Add support for PIO p flag

draft-ietf-6man-pio-pflag is adding a new flag to the Prefix Information
Option to signal that the network can allocate a unique IPv6 prefix per
client via DHCPv6-PD (see draft-ietf-v6ops-dhcp-pd-per-device).

When ra_honor_pio_pflag is enabled, the presence of a P-flag causes
SLAAC autoconfiguration to be disabled for that particular PIO.

An automated test has been added in Android (r.android.com/3195335) to
go along with this change.

Cc: Maciej Żenczykowski <maze@google.com>
Cc: Lorenzo Colitti <lorenzo@google.com>
Cc: David Lamparter <equinox@opensourcerouting.org>
Cc: Simon Horman <horms@kernel.org>
Signed-off-by: Patrick Rohr <prohr@google.com>
Reviewed-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.rst
include/linux/ipv6.h
include/net/addrconf.h
net/ipv6/addrconf.c