Re: [PATCH v2] net: move somaxconn init from sysctl code

2017-05-25 Thread David Miller
From: Roman Kapl Date: Wed, 24 May 2017 10:22:22 +0200 > 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 bac

[PATCH v2] net: move somaxconn init from sysctl code

2017-05-24 Thread Roman Kapl
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_s