netdev
[Top] [All Lists]

[PATCH] Documentation fixes (was: Re: [RFC] Badly documented sysctl?)

To: jamal <hadi@xxxxxxxxxx>
Subject: [PATCH] Documentation fixes (was: Re: [RFC] Badly documented sysctl?)
From: Oskar Andreasson <blueflux@xxxxxxxxxxx>
Date: Mon, 4 Nov 2002 21:28:34 +0100 (CET)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <Pine.GSO.4.30.0211040833300.25806-100000@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Hi Jamal,

I have attached two patches for linux/Documentation/filesystems/proc.txt. 
One is for 2.5.45 kernels, and the other is for 2.4.19 kernels. I actually 
don't think there is a need for two patches, but I thought I would go with 
the safe side. 

This is a first time patch for me, so please forgive me if there's 
anything wrong with the format etc.

Let me know if there is any problems with the patches.

On Mon, 4 Nov 2002, jamal wrote:

> 
> You are correct. So fix the doc.
> 
> cheers,
> jamal
> 
> 
> On Fri, 1 Nov 2002, Oskar Andreasson wrote:
> 
> > Hi,
> >
> > I just started checking out the /proc/sys/net/ipv4/route/error_cost and
> > error_burst sysctl's. According to
> > linux/Documentation/filesystems/proc.txt:
> >
> > ----
> >
> > error_burst and error_cost
> > --------------------------
> >
> > These parameters are used to limit the warning messages written to the
> > kernel log from the routing code.  The higher the error_cost factor is,
> > the fewer messages will be written. Error_burst controls when messages
> > will be dropped. The default settings limit warning messages to one every
> > five seconds.
> >
> > ----
> >
> > I just spent some time reading the source code in question, and if I am
> > not totally off base... this is totally wrong? I am currently checking
> > linux/net/ipv4/route.c, and if I am right, it limits how many
> > ICMP_DEST_UNREACH we are sending to a specific host, and _possibly_ it
> > will also printk() in the ip_rt_send_redirect() function. I don't know for
> > sure, but I _think_ the default settings will limit ICMP_DEST_UNREACH
> > sending in ip_error() to 5 per second...
> >
> > If anyone would shed some light on this, I would be tremenduously happy!
> >
> > ----
> > Oskar Andreasson
> > http://www.frozentux.net
> > mailto:blueflux@xxxxxxxxxxx
> >
> >
> 
> 
> 

-- 
----
Oskar Andreasson
http://www.frozentux.net
http://iptables-tutorial.frozentux.net
http://ipsysctl-tutorial.frozentux.net
mailto:blueflux@xxxxxxxxxxx

Attachment: 2.4.19.docs.proc.txt.diff
Description: Text document

Attachment: 2.5.45.docs.proc.txt.diff
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>