> On 2017年9月9日, at 下午1:16, David Miller wrote:
>
> From: 严海双
> Date: Sat, 9 Sep 2017 13:09:57 +0800
>
>>
>>
>>> On 2017年9月9日, at 下午12:35, Cong Wang wrote:
>>>
>>> On Fri, Sep 8, 2017 at 6:25 PM, 严海双
>>> wrote:
> On 2017年9月9日, at 上午6:13, Cong Wang wrote:
>
> On
From: 严海双
Date: Sat, 9 Sep 2017 13:09:57 +0800
>
>
>> On 2017年9月9日, at 下午12:35, Cong Wang wrote:
>>
>> On Fri, Sep 8, 2017 at 6:25 PM, 严海双
>> wrote:
>>>
>>>
On 2017年9月9日, at 上午6:13, Cong Wang wrote:
On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan
wrote:
> Differen
> On 2017年9月9日, at 下午12:35, Cong Wang wrote:
>
> On Fri, Sep 8, 2017 at 6:25 PM, 严海双 wrote:
>>
>>
>>> On 2017年9月9日, at 上午6:13, Cong Wang wrote:
>>>
>>> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan
>>> wrote:
Different namespace application might require different maximal number
On Fri, Sep 8, 2017 at 6:25 PM, 严海双 wrote:
>
>
>> On 2017年9月9日, at 上午6:13, Cong Wang wrote:
>>
>> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan
>> wrote:
>>> Different namespace application might require different maximal number
>>> of TCP sockets independently of the host.
>>
>> So after your p
> On 2017年9月9日, at 上午6:13, Cong Wang wrote:
>
> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan
> wrote:
>> Different namespace application might require different maximal number
>> of TCP sockets independently of the host.
>
> So after your patch we could have N * net->ipv4.sysctl_tcp_max_orph
On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan
wrote:
> Different namespace application might require different maximal number
> of TCP sockets independently of the host.
So after your patch we could have N * net->ipv4.sysctl_tcp_max_orphans
in a whole system, right? This just makes OOM easier to
Different namespace application might require different maximal number
of TCP sockets independently of the host.
Signed-off-by: Haishuang Yan
---
include/net/netns/ipv4.h | 1 +
include/net/tcp.h | 5 +++--
net/ipv4/sysctl_net_ipv4.c | 14 +++---
net/ipv4/tcp.c |