Files
linux-stable-mirror/include/net
Josh Hunt a2d133b1d4 sock: introduce SO_MEMINFO getsockopt
Allows reading of SK_MEMINFO_VARS via socket option. This way an
application can get all meminfo related information in single socket
option call instead of multiple calls.

Adds helper function, sk_get_meminfo(), and uses that for both
getsockopt and sock_diag_put_meminfo().

Suggested by Eric Dumazet.

Signed-off-by: Josh Hunt <johunt@akamai.com>
Reviewed-by: Jason Baron <jbaron@akamai.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-22 11:18:58 -07:00
..
2017-01-12 04:01:17 -05:00
2017-02-07 13:07:46 -05:00
2017-01-11 11:02:47 -05:00
2017-02-03 15:16:45 -05:00
2017-03-17 12:49:43 +01:00
2017-02-17 12:08:05 -05:00
2016-12-25 17:21:22 +01:00
2017-01-09 16:07:41 -05:00
2017-03-22 11:18:58 -07:00
2017-03-16 20:33:56 -07:00
2017-02-15 11:04:11 +01:00