From: Simon Horman Date: Thu, 28 Sep 2006 05:52:47 +0000 (-0700) Subject: [IPVS]: Reverse valid ip_vs_ftp ports fix: port check approach X-Git-Tag: v2.6.19-rc1~858^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e44fd82caf89a8548e7868592618b243e85c69e6;p=profile%2Fivi%2Fkernel-x86-ivi.git [IPVS]: Reverse valid ip_vs_ftp ports fix: port check approach This patch reverses 3f5af5b353ca36aca4f8a46e3da2172f669dbbbc as a better fix was suggested by Patrick McHardy. Signed-off-by: Simon Horman Signed-off-by: David S. Miller --- diff --git a/net/ipv4/ipvs/ip_vs_ftp.c b/net/ipv4/ipvs/ip_vs_ftp.c index 37fafb1..4df215c 100644 --- a/net/ipv4/ipvs/ip_vs_ftp.c +++ b/net/ipv4/ipvs/ip_vs_ftp.c @@ -365,12 +365,6 @@ static int __init ip_vs_ftp_init(void) for (i=0; i 0xffff) { - IP_VS_WARNING("ip_vs_ftp: Ignoring invalid " - "configuration port[%d] = %d\n", - i, ports[i]); - continue; - } ret = register_ip_vs_app_inc(app, app->protocol, ports[i]); if (ret) break;