[3049] in linux-net channel archive
Re: Persistent SLIP statistics
daemon@ATHENA.MIT.EDU (Michael Callahan)
Wed May 29 12:50:24 1996
Date: Wed, 29 May 1996 16:12:37 +0100 (BST)
From: Michael Callahan <callahan@maths.ox.ac.uk>
Reply-To: Michael Callahan <callahan@maths.ox.ac.uk>
To: Paul Gortmaker <gpg109@rsphy6.anu.edu.au>
cc: linux-net@vger.rutgers.edu
In-Reply-To: <9605291236.AA14844@rsphy6.anu.edu.au>
On Wed, 29 May 1996, Paul Gortmaker wrote:
> I just noticed a minor side effect of the dynamic SLIP devices as
> compared to the static sl0 -> sl3 found in a v1.2.x kernel.
>
> When the device goes down (even due to an inadvertent hangup followed
> by an immediate redial), the statistics for that device are lost, and
> reset to zero. While this doesn't upset me in any big way, the fact
> remains that it is not consistent with the behaviour of any other
> compiled in net device, such as ethernet cards. People like ISP's who
> provide dedicated lines to clients might not like this.
Well, it's not entirely inconsistent: PPP does the same thing. I _think_
PPP has always done this.
I can't remember if I thought about this at the time, but I think that my
logic at the time might have been (would have been?) that the connections
over a given PPP device may not, in general, have anything to do with one
another. Therefore, it is probably more useful to know the statistics
for _this_ connection, unconfused by the stats for previous connections.
Michael