Messages in this thread Patch in this message |  | | Date | Wed, 06 Feb 2013 13:20:46 +0800 | From | Zhang Yanfei <> | Subject | [PATCH 6/7] 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 <zhangyanfei@cn.fujitsu.com> --- include/net/ip_vs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 68c69d5..66e6c01 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; -- 1.7.1
|  |