summaryrefslogtreecommitdiff
path: root/net/llc/llc_if.c
diff options
context:
space:
mode:
authorRoman Kapl <roman.kapl@sysgo.com>2017-05-24 11:22:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-13 20:48:06 +0300
commit419490af01a63e6d57d8009a813b5030457b29d0 (patch)
tree24d2231970b488fe790d4ab36c9aced5f8668287 /net/llc/llc_if.c
parent71c0b3344e72959b3718c637f978185918be4688 (diff)
downloadlinux-419490af01a63e6d57d8009a813b5030457b29d0.tar.xz
net: move somaxconn init from sysctl code
[ Upstream commit 7c3f1875c66fbc19762760097cabc91849ea0bbb ] The default value for somaxconn is set in sysctl_core_net_init(), but this function is not called when kernel is configured without CONFIG_SYSCTL. This results in the kernel not being able to accept TCP connections, because the backlog has zero size. Usually, the user ends up with: "TCP: request_sock_TCP: Possible SYN flooding on port 7. Dropping request. Check SNMP counters." If SYN cookies are not enabled the connection is rejected. Before ef547f2ac16 (tcp: remove max_qlen_log), the effects were less severe, because the backlog was always at least eight slots long. Signed-off-by: Roman Kapl <roman.kapl@sysgo.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/llc/llc_if.c')
0 files changed, 0 insertions, 0 deletions