]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net: change type of netns_ipvs->sysctl_sync_qlen_max
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thu, 7 Feb 2013 01:27:12 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:55 +0000 (16:46 +1100)
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 <zhangyanfei@cn.fujitsu.com>
Cc: Simon Horman <horms@verge.net.au>
Cc: Julian Anastasov <ja@ssi.bg>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/net/ip_vs.h

index 68c69d54d39281ee033d765a1b9b66567c55d06f..66e6c013bff4791e0303903f16d4d6d1856475e9 100644 (file)
@@ -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;