Commit e994b7c9 authored by David S. Miller's avatar David S. Miller

tcp: Don't make syn cookies initial setting depend on CONFIG_SYSCTL

That's extremely non-intuitive, noticed by William Allen Simpson.

And let's make the default be on, it's been suggested by a lot of
people so we'll give it a try.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8964be4a
...@@ -26,13 +26,7 @@ ...@@ -26,13 +26,7 @@
#include <net/inet_common.h> #include <net/inet_common.h>
#include <net/xfrm.h> #include <net/xfrm.h>
#ifdef CONFIG_SYSCTL int sysctl_tcp_syncookies __read_mostly = 1;
#define SYNC_INIT 0 /* let the user enable it */
#else
#define SYNC_INIT 1
#endif
int sysctl_tcp_syncookies __read_mostly = SYNC_INIT;
EXPORT_SYMBOL(sysctl_tcp_syncookies); EXPORT_SYMBOL(sysctl_tcp_syncookies);
int sysctl_tcp_abort_on_overflow __read_mostly; int sysctl_tcp_abort_on_overflow __read_mostly;
......
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