[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOxq_8NN1xi7Y1kiN-un+usU0Nz_CX8bkvhM50VSTsFXNJnGaA@mail.gmail.com>
Date: Wed, 7 Jan 2015 15:46:55 -0800
From: Ani Sinha <ani@...sta.com>
To: David Laight <David.Laight@...lab.com>
Cc: "corbet@....net" <corbet@....net>,
"davem@...emloft.net" <davem@...emloft.net>,
"edumazet@...gle.com" <edumazet@...gle.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"P@...igbrady.com" <P@...igbrady.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"fruggeri@...sta.com" <fruggeri@...sta.com>
Subject: Re: [PATCH 1/1] update ip-sysctl.txt documentation
On Wed, Jan 7, 2015 at 2:11 AM, David Laight <David.Laight@...lab.com> wrote:
> From: Ani Sinha
>> Update documentation to reflect the fact that
>> /proc/sys/net/ipv4/route/max_size is no longer used for ipv4.
>>
>> Signed-off-by: Ani Sinha <ani@...sta.com>
>> ---
>> Documentation/networking/ip-sysctl.txt | 6 ++++--
>> 1 files changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
>> index 9bffdfc..2a28261 100644
>> --- a/Documentation/networking/ip-sysctl.txt
>> +++ b/Documentation/networking/ip-sysctl.txt
>> @@ -64,8 +64,10 @@ fwmark_reflect - BOOLEAN
>> Default: 0
>>
>> route/max_size - INTEGER
>> - Maximum number of routes allowed in the kernel. Increase
>> - this when using large numbers of interfaces and/or routes.
>> + Post linux kernel 3.6, this is deprecated for ipv4 as route cache is no
>> + longer used. For ipv6, this is used to limit the maximum number of ipv6
>> + routes allowed in the kernel. Increase this when using large numbers of
>> + interfaces and/or routes.
>
> Now imagine you are reading ip-sysctl.txt, the new text is all wrong.
> Something like:
> Limit on the size of the ip route caches.
> Ignored for ipv4 after kernel 3.6 because the ipv4 route cache was removed.
> Increase this when using large numbers of interfaces and/or routes.
> would read better.
Ok please take a look at my patch v2.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists