Re: [PATCH] fix numbering of lines in /proc/net/tcp(linux-2.6.0-test7)

From: David S. Miller
Date: Tue Oct 14 2003 - 12:53:41 EST


On Wed, 15 Oct 2003 01:38:48 +0900 (JST)
YOSHIFUJI Hideaki / _$B5HF#1QL@ <yoshfuji@xxxxxxxxxxxxxx> wrote:

> In article <200310141619.h9EGJWWB013461@xxxxxxxxxxxxxxxxxx> (at Tue, 14 Oct 2003 12:19:32 -0400), Tim Shepard <shep@xxxxxxxxxxxx> says:
>
> > I am not sure what the behavior is supposed to be. Is there a spec
> > anywhere for the interface with /proc/net/tcp?
>
> Yes, I think the original is okay because the bucket is shared between
> tcp6 and tcp4, and I don't want to change this behavior in 2.6 from 2.4.x.
> (so, we need to fix 2.6.x.)

In the meantime I've applied Tim's patch because it is definitely
a step in the right direction and the current 2.6.x behavior makes
no sense at all :-)

We can add a fix on top to make 2.6.x behave more closely to 2.4.x
(by sharing numbers between v4 and v6). If that proves to be very
difficult to do, it's not absolutely critical to preserve this behavior
I think.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/