Subject: Re: [PATCH] Phonet: sockets list through proc_fs

From: Eric Dumazet <[email-masked]>
Date: Mon, 20 Jul 2009 12:31:41 +0200

Marcel Holtmann a écrit :
> Hi Remi,
> 
>>>>>> From: Rémi Denis-Courmont <[email-masked]>
>>>>> isn't there are proper explaining commit message missing here?
>>>> AFAIK, a one-liners stick to the Subject line.
>>>>
>>>> (I use explicit From: due to my broken Microsoft-provided MTA).
>>> the From: is not the problem here. However it would be nice to have a
>>> description of the change. Especially details like this is for debugging
>>> or this is a public API or etc.
>> It's just like most network protocols exposing their sockets list in 
>> /proc/net. Debugging/monitoring indeed.
> 
> I think that for new protocols, we should not do this anymore and just
> use debugfs. Since that is exactly its job.

netstat uses /proc/net

iproute2 uses netlink

Now you suggest adding debugfs support ?

What a mess...