ipv6: Constify the sk parameter of several helper functions.
authorGuillaume Nault <gnault@redhat.com>
Tue, 11 Jul 2023 13:06:21 +0000 (15:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2023 07:27:33 +0000 (08:27 +0100)
commit5bc67a854cb4982aa7746e8d2206a00b46a9cc0f
treee2e1f4cfae9594e1fe00690de1a4088b2e4848e6
parent8d6eba33a2726e463eeab5c42b8eb373d7462127
ipv6: Constify the sk parameter of several helper functions.

icmpv6_flow_init(), ip6_datagram_flow_key_init() and ip6_mc_hdr() don't
need to modify their sk argument. Make that explicit using const.

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/icmpv6.h
net/ipv6/datagram.c
net/ipv6/icmp.c
net/ipv6/mcast.c