aboutsummaryrefslogtreecommitdiff
path: root/net/core/secure_seq.c
diff options
context:
space:
mode:
authorGary S. Robertson <gary.robertson@linaro.org>2013-11-11 10:34:03 -0600
committerGary S. Robertson <gary.robertson@linaro.org>2013-11-11 10:34:03 -0600
commitfebbb25c8856bfe03e2a06b3f88e69f7d9d10b81 (patch)
treeb89154f29c52cf14fcef442ea4df3164e62dd7a6 /net/core/secure_seq.c
parent5765ecb5ef2401f7bd0feaeeadbe6dbc558b9791 (diff)
parent4e77f7f1261f65cff06918bc5e66d02a418fc842 (diff)
Merge tag 'v3.10.18' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into linux-lnglinux-lng-3.10.18-2013.11
This is the 3.10.18 stable release
Diffstat (limited to 'net/core/secure_seq.c')
-rw-r--r--net/core/secure_seq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/secure_seq.c b/net/core/secure_seq.c
index 3f1ec1586ae1..8d9d05edd2eb 100644
--- a/net/core/secure_seq.c
+++ b/net/core/secure_seq.c
@@ -10,6 +10,7 @@
#include <net/secure_seq.h>
+#if IS_ENABLED(CONFIG_IPV6) || IS_ENABLED(CONFIG_INET)
#define NET_SECRET_SIZE (MD5_MESSAGE_BYTES / 4)
static u32 net_secret[NET_SECRET_SIZE] ____cacheline_aligned;
@@ -29,6 +30,7 @@ static void net_secret_init(void)
cmpxchg(&net_secret[--i], 0, tmp);
}
}
+#endif
#ifdef CONFIG_INET
static u32 seq_scale(u32 seq)