From: Josh Hunt <[email protected]> Date: Mon, 20 Mar 2017 15:22:03 -0400
> 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 <[email protected]> > Reviewed-by: Jason Baron <[email protected]> > Acked-by: Eric Dumazet <[email protected]> Applied, thanks.
