diff options
| author | Eric Dumazet <[email protected]> | 2023-03-16 15:32:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-03-17 08:56:37 +0000 |
| commit | db6af4fdb150b45e1ba6b295ccfd3df482e022d2 (patch) | |
| tree | f416516c52a22529e60b103f9c2de8d3fc30b973 /net/ipv6/raw.c | |
| parent | udp6: constify __udp_v6_is_mcast_sock() socket argument (diff) | |
| download | kernel-db6af4fdb150b45e1ba6b295ccfd3df482e022d2.tar.gz kernel-db6af4fdb150b45e1ba6b295ccfd3df482e022d2.zip | |
ipv6: raw: constify raw_v6_match() socket argument
This clarifies raw_v6_match() intent.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/raw.c')
| -rw-r--r-- | net/ipv6/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index bac9ba747bde..6ac2f2690c44 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -64,7 +64,7 @@ struct raw_hashinfo raw_v6_hashinfo; EXPORT_SYMBOL_GPL(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) { |
