ipvs: fix crash with sync protocol v0 and FTP
authorJulian Anastasov <ja@ssi.bg>
Wed, 8 Jul 2015 05:31:33 +0000 (08:31 +0300)
committerSimon Horman <horms@verge.net.au>
Tue, 14 Jul 2015 07:41:27 +0000 (16:41 +0900)
commit56184858d1fc95c46723436b455cb7261cd8be6f
tree088055e73ab61fba9994e645e648f2184f0abc70
parent71563f3414e917c62acd8e0fb0edf8ed6af63e4b
ipvs: fix crash with sync protocol v0 and FTP

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

Fixes: 749c42b620a9 ("ipvs: reduce sync rate with time thresholds")
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_sync.c