mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8964be4a9a
commit
e994b7c901
1 changed files with 1 additions and 7 deletions
|
@ -26,13 +26,7 @@
|
|||
#include <net/inet_common.h>
|
||||
#include <net/xfrm.h>
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
#define SYNC_INIT 0 /* let the user enable it */
|
||||
#else
|
||||
#define SYNC_INIT 1
|
||||
#endif
|
||||
|
||||
int sysctl_tcp_syncookies __read_mostly = SYNC_INIT;
|
||||
int sysctl_tcp_syncookies __read_mostly = 1;
|
||||
EXPORT_SYMBOL(sysctl_tcp_syncookies);
|
||||
|
||||
int sysctl_tcp_abort_on_overflow __read_mostly;
|
||||
|
|
Loading…
Reference in a new issue