diff options
author | 2023-07-11 15:06:14 +0200 | |
---|---|---|
committer | 2023-07-14 08:27:33 +0100 | |
commit | 8d6eba33a2726e463eeab5c42b8eb373d7462127 (patch) | |
tree | 0240f64ac0bf225bb8871252dcb2e3a4c3c59166 /include/linux/icmpv6.h | |
parent | security: Constify sk in the sk_getsecid hook. (diff) | |
download | wireguard-linux-8d6eba33a2726e463eeab5c42b8eb373d7462127.tar.xz wireguard-linux-8d6eba33a2726e463eeab5c42b8eb373d7462127.zip |
ipv4: Constify the sk parameter of ip_route_output_*().
These functions don't need to modify the socket, so let's allow the
callers to pass a const struct sock *.
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>
Diffstat (limited to 'include/linux/icmpv6.h')
0 files changed, 0 insertions, 0 deletions