Commit 0cfbca35 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[RANDOM]: Remove TCP MD4 code if not CONFIG_INET

Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9a573bdd
...@@ -2046,6 +2046,7 @@ static void sysctl_init_random(struct entropy_store *random_state) ...@@ -2046,6 +2046,7 @@ static void sysctl_init_random(struct entropy_store *random_state)
* *
********************************************************************/ ********************************************************************/
#ifdef CONFIG_INET
/* /*
* TCP initial sequence number picking. This uses the random number * TCP initial sequence number picking. This uses the random number
* generator to pick an initial secret value. This value is hashed * generator to pick an initial secret value. This value is hashed
...@@ -2445,3 +2446,4 @@ __u32 check_tcp_syn_cookie(__u32 cookie, __u32 saddr, __u32 daddr, __u16 sport, ...@@ -2445,3 +2446,4 @@ __u32 check_tcp_syn_cookie(__u32 cookie, __u32 saddr, __u32 daddr, __u16 sport,
return (cookie - tmp[17]) & COOKIEMASK; /* Leaving the data behind */ return (cookie - tmp[17]) & COOKIEMASK; /* Leaving the data behind */
} }
#endif #endif
#endif /* CONFIG_INET */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment