mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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>
This commit is contained in:
committed by
David S. Miller
parent
5d368f0328
commit
eda090c31f
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user