Re: Adding inode field to /proc/net/netlink
From: David Miller <davem@davemloft.net>
Date: 2010-02-28 09:00:39
From: David Miller <davem@davemloft.net>
Date: 2010-02-28 09:00:39
From: Masatake YAMATO <redacted> Date: Sun, 28 Feb 2010 14:45:37 +0900 (JST)
The Inode field in /proc/net/{tcp,udp,packet,raw,...} is useful to know the types of
file descriptors associated to a process. Actually lsof utility uses the field.
Unfortunately, unlike /proc/net/{tcp,udp,packet,raw,...}, /proc/net/netlink doesn't have the field.
This patch adds the field to /proc/net/netlink.
Signed-off-by: Masatake YAMATO <redacted>Unfortunately we cannot add new fields without breaking the parsing done by existing applications. Sorry.