diff options
author | Kuniyuki Iwashima <kuniyu@amazon.co.jp> | 2022-04-20 04:58:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-22 14:47:50 +0300 |
commit | 89e9c7280075f6733b22dd0740daeddeb1256ebf (patch) | |
tree | 926a7145056285b2d72e09438f605bbd798c47ca /net/dccp/ipv6.c | |
parent | 0844d36f771d3fe3c418df7569396a9a58feab85 (diff) | |
download | linux-89e9c7280075f6733b22dd0740daeddeb1256ebf.tar.xz |
ipv6: Remove __ipv6_only_sock().
Since commit 9fe516ba3fb2 ("inet: move ipv6only in sock_common"),
ipv6_only_sock() and __ipv6_only_sock() are the same macro. Let's
remove the one.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index eab3bd1ee9a0..4d95b6400915 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c @@ -892,7 +892,7 @@ static int dccp_v6_connect(struct sock *sk, struct sockaddr *uaddr, SOCK_DEBUG(sk, "connect: ipv4 mapped\n"); - if (__ipv6_only_sock(sk)) + if (ipv6_only_sock(sk)) return -ENETUNREACH; sin.sin_family = AF_INET; |