From 3823c8b26e6e64427898d75c4f20bb44f04ef438 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Tue, 27 Oct 2015 18:09:40 -0700 Subject: [PATCH] ANDROID: tcp: fix tcp_default_init_rwnd() for 4.1 Change-Id: If3ecf5f59acf379ffcc468f28434830a92b0383d Signed-off-by: Dmitry Shmidt --- net/ipv4/sysctl_net_ipv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 4ebc5378d3f7..cf7cfa45c7d2 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -152,7 +152,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) {