Re: [PATCH] net: set default value for somaxconn

2017-05-23 Thread Roman Kapl
On 05/22/2017 08:18 PM, David Miller wrote: From: Roman Kapl Date: Mon, 22 May 2017 14:22:41 +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 ac

Re: [PATCH] net: set default value for somaxconn

2017-05-22 Thread David Miller
From: Roman Kapl Date: Mon, 22 May 2017 14:22:41 +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] net: set default value for somaxconn

2017-05-22 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