ipvs: fix sparse warnings for some parameters
authorJulian Anastasov <ja@ssi.bg>
Wed, 17 Apr 2013 20:50:49 +0000 (23:50 +0300)
committerSimon Horman <horms@verge.net.au>
Tue, 23 Apr 2013 02:43:05 +0000 (11:43 +0900)
commit0a925864c1038a78fd1cc9b048d9a2b1ae04b63e
tree1e7816ea1ad26b9945b91d001450646ac489958a
parentf33c8b94fd51aeb0bc02f87ee172691ddf7936b6
ipvs: fix sparse warnings for some parameters

Some service fields are in network order:

- netmask: used once in network order and also as prefix len for IPv6
- port

Other parameters are in host order:

- struct ip_vs_flags: flags and mask moved between user and kernel only
- sync state: moved between user and kernel only
- syncid: sent over network as single octet

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
include/uapi/linux/ip_vs.h
net/netfilter/ipvs/ip_vs_core.c
net/netfilter/ipvs/ip_vs_ctl.c