From a2e32dd43894d40bcba3a77c787d125972f7feb8 Mon Sep 17 00:00:00 2001 From: Zhang Yanfei Date: Thu, 7 Feb 2013 12:27:12 +1100 Subject: [PATCH] net: change type of netns_ipvs->sysctl_sync_qlen_max This member of struct netns_ipvs is calculated from nr_free_buffer_pages so change its type to unsigned long in case of overflow. Signed-off-by: Zhang Yanfei Cc: Simon Horman Cc: Julian Anastasov Cc: David Miller Signed-off-by: Andrew Morton --- include/net/ip_vs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 68c69d54d392..66e6c013bff4 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -966,7 +966,7 @@ struct netns_ipvs { int sysctl_snat_reroute; int sysctl_sync_ver; int sysctl_sync_ports; - int sysctl_sync_qlen_max; + unsigned long sysctl_sync_qlen_max; int sysctl_sync_sock_size; int sysctl_cache_bypass; int sysctl_expire_nodest_conn; -- 2.39.5