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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Oct 2015 21:37:51 +0000 (14:37 -0700)
commit2fc9fc91a54a04877e441e261efcfe38aea882bf
tree4fa6b62954a53d980a1e6378d5da9998b2b679f7
parent212c45ac20229c1752dd56fa38e9a8d57127974b
ipvs: fix crash with sync protocol v0 and FTP

commit 56184858d1fc95c46723436b455cb7261cd8be6f upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/ipvs/ip_vs_sync.c