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 /net/ipv4/udp.c | |
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 '')
-rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 53342ce17172..aa9f2ec3dc46 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -2563,7 +2563,7 @@ static struct sock *__udp4_lib_demux_lookup(struct net *net, struct sock *sk; udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { - if (INET_MATCH(net, sk, acookie, ports, dif, sdif)) + if (inet_match(net, sk, acookie, ports, dif, sdif)) return sk; /* Only check first socket in chain */ break; |