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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 28 Oct 2015 02:13:54 +0000 (22:13 -0400)
commit025976366982a779dbef69ecea2c76fb8e65d362
tree28d18bcf0774ef23a29efb32d5993856c036beed
parent4cf3ff315fc5f0949dcf9a4f14f6ba76c2422c5c
ipvs: fix crash with sync protocol v0 and FTP

[ Upstream commit 56184858d1fc95c46723436b455cb7261cd8be6f ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
net/netfilter/ipvs/ip_vs_sync.c