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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Sep 2013 00:57:06 +0000 (01:57 +0100)
commit2dec485f87d4bcfe9808e379f002a8444c09321c
treed97f3dc243b9be7a166c7540a8682658eb8db3c3
parent7d406db24d89f4cbbf13d5b5f80386e145d8b6fa
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: Ben Hutchings <ben@decadent.org.uk>
net/ipv4/sysctl_net_ipv4.c