[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091120.092408.208010931.davem@davemloft.net>
Date: Fri, 20 Nov 2009 09:24:08 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: william.allen.simpson@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next-2.6 PATCH v7 3/7 RFC] TCPCT part 1c:
sysctl_tcp_cookie_size, socket option TCP_COOKIE_TRANSACTIONS
From: William Allen Simpson <william.allen.simpson@...il.com>
Date: Fri, 20 Nov 2009 09:33:51 -0500
> @@ -59,6 +59,14 @@ int sysctl_tcp_base_mss __read_mostly = 512;
> /* By default, RFC2861 behavior. */
> int sysctl_tcp_slow_start_after_idle __read_mostly = 1;
>
> +#ifdef CONFIG_SYSCTL
> +/* By default, let the user enable it. */
> +int sysctl_tcp_cookie_size __read_mostly = 0;
> +#else
> +int sysctl_tcp_cookie_size __read_mostly = TCP_COOKIE_MAX;
> +#endif
> +
I would prefer if the default did not depend upon whether
SYSCTL is enabled or not. That's extremely non-intuitive.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists