diff options
author | Mark Brown <broonie@linaro.org> | 2013-11-05 20:06:43 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-05 20:06:43 +0000 |
commit | 47cf66ff098ac408194713be6531a7bb57d1b99b (patch) | |
tree | 6711205bc3d5f6200adea4ba2173f2d1d9b0c063 /net/core/secure_seq.c | |
parent | 66cadb7bd46c6691eea6f671380405ab03b423ad (diff) | |
parent | 7c9373fbcd0b29f6ccc28407c11ecd51cfa7a3c2 (diff) |
Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android
Diffstat (limited to 'net/core/secure_seq.c')
-rw-r--r-- | net/core/secure_seq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/secure_seq.c b/net/core/secure_seq.c index 3f1ec1586ae..8d9d05edd2e 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) |