From: Zhang Yanfei Date: Thu, 7 Feb 2013 01:27:12 +0000 (+1100) Subject: net: change type of netns_ipvs->sysctl_sync_qlen_max X-Git-Tag: next-20130218~1^2~311 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a2e32dd43894d40bcba3a77c787d125972f7feb8;p=karo-tx-linux.git 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 --- 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;