summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ipv6.h
diff options
context:
space:
mode:
authorHannes Frederic Sowa2015-03-23 23:36:00 +0100
committerDavid S. Miller2015-03-24 03:12:08 +0100
commit3d1bec99320d4e96897805440f8cf4f68eff226b (patch)
tree4926f2e4fe0ef525249397d391443e24cbea3fc2 /include/uapi/linux/ipv6.h
parentlib: EXPORT_SYMBOL sha_init (diff)
downloadkernel-qcow2-linux-3d1bec99320d4e96897805440f8cf4f68eff226b.tar.gz
kernel-qcow2-linux-3d1bec99320d4e96897805440f8cf4f68eff226b.tar.xz
kernel-qcow2-linux-3d1bec99320d4e96897805440f8cf4f68eff226b.zip
ipv6: introduce secret_stable to ipv6_devconf
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. Cc: Erik Kline <ek@google.com> Cc: Fernando Gont <fgont@si6networks.com> Cc: Lorenzo Colitti <lorenzo@google.com> Cc: YOSHIFUJI Hideaki/吉藤英明 <hideaki.yoshifuji@miraclelinux.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/ipv6.h')
-rw-r--r--include/uapi/linux/ipv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ipv6.h b/include/uapi/linux/ipv6.h
index 437a6a4b125a..5efa54ae567c 100644
--- a/include/uapi/linux/ipv6.h
+++ b/include/uapi/linux/ipv6.h
@@ -170,6 +170,7 @@ enum {
DEVCONF_ACCEPT_RA_FROM_LOCAL,
DEVCONF_USE_OPTIMISTIC,
DEVCONF_ACCEPT_RA_MTU,
+ DEVCONF_STABLE_SECRET,
DEVCONF_MAX
};