diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_ftp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/ipv4/ipvs/ip_vs_ftp.c b/net/ipv4/ipvs/ip_vs_ftp.c index 37fafb1fbcff..4df215c51c71 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) | |||
365 | for (i=0; i<IP_VS_APP_MAX_PORTS; i++) { | 365 | for (i=0; i<IP_VS_APP_MAX_PORTS; i++) { |
366 | if (!ports[i]) | 366 | if (!ports[i]) |
367 | continue; | 367 | continue; |
368 | if (ports[i] < 0 || ports[i] > 0xffff) { | ||
369 | IP_VS_WARNING("ip_vs_ftp: Ignoring invalid " | ||
370 | "configuration port[%d] = %d\n", | ||
371 | i, ports[i]); | ||
372 | continue; | ||
373 | } | ||
374 | ret = register_ip_vs_app_inc(app, app->protocol, ports[i]); | 368 | ret = register_ip_vs_app_inc(app, app->protocol, ports[i]); |
375 | if (ret) | 369 | if (ret) |
376 | break; | 370 | break; |