[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100825.205302.241913926.davem@davemloft.net>
Date: Wed, 25 Aug 2010 20:53:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: anton@...ba.org
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org, miltonm@....com
Subject: Re: [PATCH] tcp: Fix sysctl_tcp_max_orphans when PAGE_SIZE != 4k
From: Anton Blanchard <anton@...ba.org>
Date: Thu, 26 Aug 2010 10:38:34 +1000
> # cat /proc/sys/net/ipv4/tcp_max_syn_backlog
> 128
>
> We probably want to use max():
>
>> - sysctl_max_syn_backlog = min(128, cnt / 256);
>> + sysctl_max_syn_backlog = max(128, cnt / 256);
>
> With that change:
...
> Tested-by: Anton Blanchard <anton@...ba.org>
Thanks a lot Anton.
Did you test my percpu orphan fix yet?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists