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>
This commit is contained in:

committed by
Simon Horman

parent
f33c8b94fd
commit
0a925864c1
@@ -280,8 +280,8 @@ struct ip_vs_daemon_user {
|
||||
#define IPVS_GENL_VERSION 0x1
|
||||
|
||||
struct ip_vs_flags {
|
||||
__be32 flags;
|
||||
__be32 mask;
|
||||
__u32 flags;
|
||||
__u32 mask;
|
||||
};
|
||||
|
||||
/* Generic Netlink command attributes */
|
||||
|
Reference in New Issue
Block a user