Subject: Re: [PATCH] Add sysctl to set the advertised TCP initial receive window.

From: [email-masked] (Eric W. Biederman)
Date: Sat, 12 Dec 2009 19:27:49 -0800

[email-masked] writes:
>  
>  /* Update system visible IP port range */
>  static void set_local_port_range(int range[2])
> @@ -656,6 +658,16 @@ static struct ctl_table ipv4_table[] = {
>  		.mode		= 0644,
>  		.proc_handler	= proc_dointvec
>  	},
> +	{
> +		.ctl_name	= CTL_UNNUMBERED,
> +		.procname	= "tcp_init_rcv_wnd",
> +		.data 		= &sysctl_tcp_init_rcv_wnd,
> +		.maxlen 	= sizeof(int),
> +		.mode 		= 0644,
> +		.proc_handler 	= proc_dointvec_minmax,
> +		.extra1		= &zero,
> +		.extra2		= &tcp_init_rcv_wnd_max
> +	},
>  #ifdef CONFIG_NETLABEL
>  	{
>  		.ctl_name	= NET_CIPSOV4_CACHE_ENABLE,

It looks like this won't be solved with a sysctl now, but I want to
mention that ctl_name is now gone.  So this patch won't compile in
mainline any more.

Eric