net: constify sk_dst_get() and __sk_dst_get() argument
authorEric Dumazet <edumazet@google.com>
Wed, 20 Sep 2023 17:29:41 +0000 (17:29 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jan 2024 16:17:00 +0000 (17:17 +0100)
commit22c8e0b87bcb03c9310c4a9e0781a77d1d2dfc8a
tree7ef78e8e8203e609ae2a5f53db41236f56d5ed4b
parentf797a2f74a8e4e24a4f9f19cb2d37e245d224c9b
net: constify sk_dst_get() and __sk_dst_get() argument

[ Upstream commit 5033f58d5feed1040eebeadb0c5efc95b8bf5720 ]

Both helpers only read fields from their socket argument.

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>
include/net/sock.h