ipvs: Hoist computation of ipvs earlier in sctp_conn_schedule
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:01:38 +0000 (13:01 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:32 +0000 (09:34 +0900)
commit1daea8ed16ae3f949eb82893cd8656f3f08125eb
treee876cae4199a2b376e298b456d65b8a951305f54
parent227b9e8708b14a8a26ef67bbbe19b13626df4a35
ipvs: Hoist computation of ipvs earlier in sctp_conn_schedule

The addition of sysctl_sloppy_sctp in sctp_conn_schedule resulted
in a use of ipvs before it was computed.  Hoist the computation of
ipvs earlier to avoid this problem.

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_proto_sctp.c