ipv6: mark address parameters of udp_tunnel6_xmit_skb() as const
authorBeniamino Galvani <b.galvani@gmail.com>
Sun, 24 Sep 2023 15:30:14 +0000 (17:30 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 Oct 2023 09:48:19 +0000 (11:48 +0200)
commitf25e621f5d4c423fa7217afbddd427007b0e0ec0
tree0be16c945aaf2ca669ea4ef65da7dcf112341052
parent32030345297e2a5c94afabb1427862299931b654
ipv6: mark address parameters of udp_tunnel6_xmit_skb() as const

The function doesn't modify the addresses passed as input, mark them
as 'const' to make that clear.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Link: https://lore.kernel.org/r/20230924153014.786962-1-b.galvani@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/udp_tunnel.h
net/ipv6/ip6_udp_tunnel.c