From: Dmitry Shmidt Date: Wed, 28 Oct 2015 01:09:40 +0000 (-0700) Subject: tcp: fix tcp_default_init_rwnd() for 4.1 X-Git-Tag: firefly_0821_release~2958^2~415 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dcc8ef44353408913246228dc5f9b933d19c353a;p=firefly-linux-kernel-4.4.55.git tcp: fix tcp_default_init_rwnd() for 4.1 Change-Id: If3ecf5f59acf379ffcc468f28434830a92b0383d Signed-off-by: Dmitry Shmidt --- diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index dd825be50089..b1784c897e6c 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -153,7 +153,7 @@ static int ipv4_ping_group_range(struct ctl_table *table, int write, } /* Validate changes from /proc interface. */ -static int proc_tcp_default_init_rwnd(ctl_table *ctl, int write, +static int proc_tcp_default_init_rwnd(struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) {