net: inet: diag: expose sockets cgroup classid

This is useful for directly looking up a task based on class id rather than
having to scan through all open file descriptors.

Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Levin, Alexander (Sasha Levin)
2017-08-17 00:35:11 +00:00
committed by David S. Miller
parent f21e507701
commit 0888e372c3
2 changed files with 12 additions and 0 deletions

View File

@@ -142,6 +142,7 @@ enum {
INET_DIAG_PAD,
INET_DIAG_MARK,
INET_DIAG_BBRINFO,
INET_DIAG_CLASS_ID,
__INET_DIAG_MAX,
};