IPVS enhancement for v3.11

Tidy up type of sysctl_sync_qlen_max member of struct netns_ipvs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAABAgAGBQJRoUtHAAoJENfPZGlqN0++G1oP/3xqkMlkhUTZzAo4yCRZdqpF
0zDU4MBVE8glRo5q7PbT2va13nOCdYiGCTESBavTWw5V2wYky0Wn0DFgTlVKR0TI
/Yy4SBEZH1T4aRIMdEhGyf45APZJ8XOU8c+v5iFkokCVUdWFWlKJJ7mYxsfuw7IM
cpDsHk3ehnoTA40TpDrf1OXRLorRwS4s/OjTC4eLwcdYSn04HuZEzPek91Ee/7ir
8Y9IXBY5EV+7yghdZS+bp9eE4TXrde28dEzNOOQDzT7A9SsDqy1QJz+QGUejHe8N
hWVqVLvawPm/WWSRHpzU43R1Ze0/U5xcN5OpIPUpcvXuMR8DJeIecKIUiNmeo1au
+4h97WA3aEw4iNPQ3PQDiXosTYKrG0tMKmeHG/U0vzG6JVAhP2mVBYImVcZwRt75
1XGlNMxL6QXLhUt6EVRMj8UNxRjzHiklQ6Tr2R7WeGO+rZWQdaWfYtWiwq/GuVXU
bgWoL/mbXgHRsWuzu6K4hGRTmMnKVvawHfeUoSWez6ne5JiDFV3552QvUJLEMWKo
KuTVpEyzlJupOVOD/V6n2yN2OkQnveP/X1d/sk5yXH44ala62/reeTuDaIc6m17A
F8UaMg1GLfW12xZfcl03mUnY7dyKsZkMeFhUAyukFDtNfi5f78cVIt/ol/Nrma/b
8Usyr+guqYAQ9c+4fUYK
=KSrU
-----END PGP SIGNATURE-----
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 <zhangyanfei@cn.fujitsu.com>
Cc: Julian Anastasov <ja@ssi.bg>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
2 files changed