This patch implements the procfs logic for the stable_address knob: The secret is formatted as an ipv6 address and will be stored per interface and per namespace. We track initialized flag and return EIO errors until the secret is set. We don't inherit the secret to newly created namespaces.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -170,6 +170,7 @@ enum { · 169 unmodified lines | |||
| 170 | DEVCONF_ACCEPT_RA_FROM_LOCAL, | 170 | DEVCONF_ACCEPT_RA_FROM_LOCAL, |
| 171 | DEVCONF_USE_OPTIMISTIC, | 171 | DEVCONF_USE_OPTIMISTIC, |
| 172 | DEVCONF_ACCEPT_RA_MTU, | 172 | DEVCONF_ACCEPT_RA_MTU, |
| 173 | DEVCONF_STABLE_SECRET, | ||
| 173 | DEVCONF_MAX | 174 | DEVCONF_MAX |
| 174 | }; | 175 | }; |
| 175 | 176 | ||