Commit e2478d59 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by David S. Miller

IPv4 Syncookies: Remove pointless CONFIG_SYN_COOKIES ifdef.

parent a913f889
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
* Missing: IPv6 support. * Missing: IPv6 support.
*/ */
#include <linux/config.h>
#if defined(CONFIG_SYN_COOKIES)
#include <linux/tcp.h> #include <linux/tcp.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/random.h> #include <linux/random.h>
...@@ -194,4 +192,3 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, ...@@ -194,4 +192,3 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb,
ret = get_cookie_sock(sk, skb, req, &rt->u.dst); ret = get_cookie_sock(sk, skb, req, &rt->u.dst);
out: return ret; out: return ret;
} }
#endif
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