From: Josh Hunt <joh...@akamai.com> 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 <joh...@akamai.com> > Reviewed-by: Jason Baron <jba...@akamai.com> > Acked-by: Eric Dumazet <eduma...@google.com> Applied, thanks.