]> git.baikalelectronics.ru Git - kernel.git/commit
net: Allow to show socket-specific information in /proc/[pid]/fdinfo/[fd]
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 9 Dec 2019 10:03:40 +0000 (13:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Dec 2019 01:04:54 +0000 (17:04 -0800)
commit29937c89c6f88f61e275b2c04843700b30bfecbc
tree9cd9cecda77261092922976494939bebb7a4050b
parentb08560d0791679b17ff5d92e5f015a5a2c98a0d9
net: Allow to show socket-specific information in /proc/[pid]/fdinfo/[fd]

This adds .show_fdinfo to socket_file_ops, so protocols will be able
to print their specific data in fdinfo.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/net.h
net/socket.c