From: Zhang Yanfei Date: Mon, 29 Apr 2013 18:55:10 +0000 (-0700) Subject: ipvs: change type of netns_ipvs->sysctl_sync_qlen_max X-Git-Tag: v3.11-rc1~16^2~172^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=079956742452494326081349a66942654498cafa;p=pandora-kernel.git ipvs: 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. Also, type of its related proc var sync_qlen_max and the return type of function sysctl_sync_qlen_max() should be changed to unsigned long, too. Besides, the type of ipvs_master_sync_state->sync_queue_len should be changed to unsigned long accordingly. Signed-off-by: Zhang Yanfei Cc: Julian Anastasov Cc: David Miller Signed-off-by: Andrew Morton Signed-off-by: Simon Horman --- Reading git-diff-tree failed