Simon Horman 28b06c380f [IPVS]: Make sure ip_vs_ftp ports are valid: module_param_array approach
I'm not entirely sure what happens in the case of a valid port,
at best it'll be silently ignored. This patch ensures that
the port values are unsigned short values, and thus always valid.

This is a second take at fixing this problem, it is simpler
and arguably more correct than the previous approach
that was committed as 3f5af5b353ca36aca4f8a46e3da2172f669dbbbc.
Prior to this patch a patch that reverses
3f5af5b353ca36aca4f8a46e3da2172f669dbbbc was sent.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-28 18:02:56 -07:00
..
2006-09-28 18:01:05 -07:00
2006-09-28 18:02:23 -07:00
2006-09-28 18:02:24 -07:00
2006-09-28 18:02:02 -07:00
2006-09-28 18:02:29 -07:00
2006-09-28 18:01:09 -07:00
2006-09-28 18:02:22 -07:00
2006-09-24 20:13:03 -07:00
2006-09-22 14:53:33 -07:00
2005-04-16 15:20:36 -07:00
2006-09-28 18:01:54 -07:00
2006-09-22 15:18:04 -07:00
2006-09-22 15:18:03 -07:00