diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-04-20 01:58:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-04-22 11:47:50 +0000 |
| commit | 89e9c7280075f6733b22dd0740daeddeb1256ebf (patch) | |
| tree | 926a7145056285b2d72e09438f605bbd798c47ca /net/ipv6/tcp_ipv6.c | |
| parent | USB2NET : SR9800 : change SR9800_BULKIN_SIZE from global to static (diff) | |
| download | kernel-89e9c7280075f6733b22dd0740daeddeb1256ebf.tar.gz kernel-89e9c7280075f6733b22dd0740daeddeb1256ebf.zip | |
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 <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
| -rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 782df529ff69..54277de7474b 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -230,7 +230,7 @@ static int tcp_v6_connect(struct sock *sk, struct sockaddr *uaddr, u32 exthdrlen = icsk->icsk_ext_hdr_len; struct sockaddr_in sin; - if (__ipv6_only_sock(sk)) + if (ipv6_only_sock(sk)) return -ENETUNREACH; sin.sin_family = AF_INET; |
