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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:28:01 +0000 (12:28 +0200)
commitf1175881ddd91db46648c28eec05628e30e14c65
treef02a8ec8af7ef44eb0d2e35182a39c06577bb453
parentbd9bd085c6816885dedcd690de22d088975e6df2
net: use sk_forward_alloc_get() in sk_get_meminfo()

[ Upstream commit 66d58f046c9d3a8f996b7138d02e965fd0617de0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/core/sock.c