aboutsummaryrefslogtreecommitdiff
path: root/net/ethernet
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2006-09-27 22:53:24 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:02:56 -0700
commit28b06c380fca7e248c90e45f0aad1753097f6824 (patch)
tree7070f82b1f85780927e69abe8d8aa50bed9655cd /net/ethernet
parente44fd82caf89a8548e7868592618b243e85c69e6 (diff)
[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>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions