netlink: Adding inode field to /proc/net/netlink
authorMasatake YAMATO <yamato@redhat.com>
Sat, 27 Feb 2010 19:45:37 +0000 (19:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Feb 2010 09:29:49 +0000 (01:29 -0800)
commitcf0aa4e07c32b0c211c24742aa015c0e7a135293
treed010a4d165d71965529338fc9f41a8f5549d7ed0
parent60bbc725b5b3009bb1bf2628ce5033d9bc108881
netlink: Adding inode field to /proc/net/netlink

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 <yamato@redhat.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c