ipvs: Cache ipvs in ip_vs_genl_set_cmd
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:01:55 +0000 (13:01 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:35 +0000 (09:34 +0900)
commitcd58278bd4a409af4619bb1d7dc4d80dc3017a50
treeaf7f03e67fe130d82e9b68fc8363bba67cd12a60
parent8e743f1b455d40dd34dd76a234e3a01427a7d123
ipvs: Cache ipvs in ip_vs_genl_set_cmd

Compute ipvs early in ip_vs_genl_set_cmd and use the cached value to
access ipvs->sync_state.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_ctl.c