[patch] networking ipv4: remove total socket usage count from /proc/net/sockstat

2006-01-16 Thread Andy Gospodarek
Printing the total number of sockets used in /proc/net/sockstat is out of place in a file that is supposed to contain information related to ipv4 sockets. Removed output for total socket usage. Signed-off-by: Andy Gospodarek [EMAIL PROTECTED] --- proc.c |1 - 1 files changed, 1 deletion(-)

Re: [patch] networking ipv4: remove total socket usage count from /proc/net/sockstat

2006-01-16 Thread Lee Revell
On Mon, 2006-01-16 at 15:04 -0500, Andy Gospodarek wrote: Printing the total number of sockets used in /proc/net/sockstat is out of place in a file that is supposed to contain information related to ipv4 sockets. Removed output for total socket usage. Um, you can't do that, it will break

Re: [patch] networking ipv4: remove total socket usage count from /proc/net/sockstat

2006-01-16 Thread Jesper Juhl
On 1/16/06, Andy Gospodarek [EMAIL PROTECTED] wrote: What userspace app will break because of this? On 1/16/06, Lee Revell [EMAIL PROTECTED] wrote: On Mon, 2006-01-16 at 15:04 -0500, Andy Gospodarek wrote: Printing the total number of sockets used in /proc/net/sockstat is out of place

Re: [patch] networking ipv4: remove total socket usage count from /proc/net/sockstat

2006-01-16 Thread Andy Gospodarek
Jesper, Thanks for the explanation. Your reasoning makes sense. I will consider other ways to solve my current problem and post a patch that doesn't break userspace if necessary. -andy On 1/16/06, Jesper Juhl [EMAIL PROTECTED] wrote: On 1/16/06, Andy Gospodarek [EMAIL PROTECTED] wrote:

Re: [patch] networking ipv4: remove total socket usage count from /proc/net/sockstat

2006-01-16 Thread Jesper Juhl
On 1/16/06, Andy Gospodarek [EMAIL PROTECTED] wrote: [could you *please* not top post? It's pretty annoying] Jesper, Thanks for the explanation. Your reasoning makes sense. I will I'm glad you found it useful. consider other ways to solve my current problem and post a patch that doesn't

Re: [patch] networking ipv4: remove total socket usage count from /proc/net/sockstat

2006-01-16 Thread Andy Gospodarek
On 1/16/06, Jesper Juhl [EMAIL PROTECTED] wrote: Maybe if you described your current problem someone could suggest a solution... Sure, I'd be glad to. If I add up all the entries from the procfiles (in /proc/net) on my system packet = 1 netlink = 6 raw = 0 raw6 = 0 tcp = 5 tcp6 = 3 udp = 9

Re: [patch] networking ipv4: remove total socket usage count from /proc/net/sockstat

2006-01-16 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Mon, 16 Jan 2006 17:33:59 -0500), Andy Gospodarek [EMAIL PROTECTED] says: On 1/16/06, Jesper Juhl [EMAIL PROTECTED] wrote: Maybe if you described your current problem someone could suggest a solution... Sure, I'd be glad to. If I add up all the