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>
Sun, 11 Aug 2013 22:38:44 +0000 (15:38 -0700)
commitf31dfea03c3500dbf43d29c12f4bfcefc87a6557
treefa37d46bb3a9ad8c79067b21168e94038f5821b5
parentc062773fe4a98d935335b75e75c0d1a14a29b680
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