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 17:53:59 -07:00
2006-07-24 13:52:13 -07:00
2006-09-28 17:53:58 -07:00
2006-09-22 14:55:09 -07:00
2006-09-25 16:52:16 -04:00
2006-09-28 18:02:48 -07:00
2006-08-05 21:15:58 -07:00
2006-08-13 18:56:26 -07:00
2006-07-12 13:58:59 -07:00
2006-07-21 15:52:20 -07:00
2006-09-22 14:53:34 -07:00
2005-04-16 15:20:36 -07:00