Re: [PATCH net-next 3/4] ipv6: Constify the sk parameter of several helper functions.
From: David Ahern <dsahern@kernel.org>
Date: 2023-07-13 21:34:55
From: David Ahern <dsahern@kernel.org>
Date: 2023-07-13 21:34:55
On 7/11/23 7:06 AM, Guillaume Nault wrote:
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 <redacted> --- include/linux/icmpv6.h | 10 ++++------ net/ipv6/datagram.c | 7 ++++--- net/ipv6/icmp.c | 6 ++---- net/ipv6/mcast.c | 8 +++----- 4 files changed, 13 insertions(+), 18 deletions(-)
Reviewed-by: David Ahern <dsahern@kernel.org>