sysctl net: Keep tcp_syn_retries inside the boundary
authorMichal Tesar <mtesar@redhat.com>
Fri, 19 Jul 2013 12:09:01 +0000 (14:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 01:35:25 +0000 (18:35 -0700)
commitc41d4725934c8a747c8157252ea53d76a0fdaece
tree04471181033da9f0eaa85346f2297cf6fceba4f7
parent773c8fef67aa54c6533b26d5a162a1a3531e1d9f
sysctl net: Keep tcp_syn_retries inside the boundary

[ Upstream commit 651e92716aaae60fc41b9652f54cb6803896e0da ]

Limit the min/max value passed to the
/proc/sys/net/ipv4/tcp_syn_retries.

Signed-off-by: Michal Tesar <mtesar@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/sysctl_net_ipv4.c