]> git.baikalelectronics.ru Git - kernel.git/commit
sock_diag: Introduce the meminfo nla core (v2)
authorPavel Emelyanov <xemul@parallels.com>
Fri, 30 Dec 2011 00:53:13 +0000 (00:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2011 21:42:19 +0000 (16:42 -0500)
commit8c2ae82070caedd7425c5b63894d81df859acb6d
tree61ae9157e41b00a19f58518d58d0c739393cbccb
parente71deb75207b8049285550dddea8a282f6f45582
sock_diag: Introduce the meminfo nla core (v2)

Add a routine that dumps memory-related values of a socket.
It's made as an array to make it possible to add more stuff
here later without breaking compatibility.

Since v1: The SK_MEMINFO_ constants are in userspace
visible part of sock_diag.h, the rest is under __KERNEL__.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sock_diag.h
net/core/sock_diag.c