ipvs: fix crash with sync protocol v0 and FTP

commit 56184858d1 upstream.

Fix crash in 3.5+ if FTP is used after switching
sync_version to 0.

Fixes: 749c42b620 ("ipvs: reduce sync rate with time thresholds")
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Julian Anastasov 2015-07-08 08:31:33 +03:00 • committed by Greg Kroah-Hartman
commit 6f2abd993c