diff options
author | Eric Dumazet <edumazet@google.com> | 2022-05-13 20:55:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-16 11:31:06 +0200 |
commit | eda090c31fe923ab9463b884469744ec903ab0cc (patch) | |
tree | 61574829a8a9c493ce90134c11bb6b87daa86ed7 /include/net/inet_hashtables.h | |
parent | ipv6: add READ_ONCE(sk->sk_bound_dev_if) in INET6_MATCH() (diff) | |
download | linux-eda090c31fe923ab9463b884469744ec903ab0cc.tar.xz linux-eda090c31fe923ab9463b884469744ec903ab0cc.zip |
inet: rename INET_MATCH()
This is no longer a macro, but an inlined function.
INET_MATCH() -> inet_match()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Suggested-by: Olivier Hartkopp <socketcan@hartkopp.net>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_hashtables.h')
-rw-r--r-- | include/net/inet_hashtables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h index 59d72024ad1d..ebfa3df6f8dc 100644 --- a/include/net/inet_hashtables.h +++ b/include/net/inet_hashtables.h @@ -267,7 +267,7 @@ static inline struct sock *inet_lookup_listener(struct net *net, ((__force __u64)(__be32)(__saddr))) #endif /* __BIG_ENDIAN */ -static inline bool INET_MATCH(struct net *net, const struct sock *sk, +static inline bool inet_match(struct net *net, const struct sock *sk, const __addrpair cookie, const __portpair ports, int dif, int sdif) { |