net: use sk_forward_alloc_get() in sk_get_meminfo()
authorEric Dumazet <edumazet@google.com>
Thu, 31 Aug 2023 13:52:08 +0000 (13:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2023 06:27:33 +0000 (07:27 +0100)
commit66d58f046c9d3a8f996b7138d02e965fd0617de0
tree6ca2ce6fd83039274c7f8c902f51b0743ce094a5
parent82ba0ff7bf0483d962e592017bef659ae022d754
net: use sk_forward_alloc_get() in sk_get_meminfo()

inet_sk_diag_fill() has been changed to use sk_forward_alloc_get(),
but sk_get_meminfo() was forgotten.

Fixes: 292e6077b040 ("net: introduce sk_forward_alloc_get()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c