diff options
author | Eric Dumazet <edumazet@google.com> | 2023-03-16 16:32:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-17 09:56:37 +0100 |
commit | db6af4fdb150b45e1ba6b295ccfd3df482e022d2 (patch) | |
tree | f416516c52a22529e60b103f9c2de8d3fc30b973 /include/net/rawv6.h | |
parent | udp6: constify __udp_v6_is_mcast_sock() socket argument (diff) | |
download | linux-db6af4fdb150b45e1ba6b295ccfd3df482e022d2.tar.xz linux-db6af4fdb150b45e1ba6b295ccfd3df482e022d2.zip |
ipv6: raw: constify raw_v6_match() socket argument
This clarifies raw_v6_match() intent.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rawv6.h')
-rw-r--r-- | include/net/rawv6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/rawv6.h b/include/net/rawv6.h index bc70909625f6..82810cbe3798 100644 --- a/include/net/rawv6.h +++ b/include/net/rawv6.h @@ -6,7 +6,7 @@ #include <net/raw.h> extern struct raw_hashinfo raw_v6_hashinfo; -bool raw_v6_match(struct net *net, struct sock *sk, unsigned short num, +bool raw_v6_match(struct net *net, const struct sock *sk, unsigned short num, const struct in6_addr *loc_addr, const struct in6_addr *rmt_addr, int dif, int sdif); |