diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2019-02-25 11:33:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-25 18:41:14 +0100 |
commit | 9946b3410b61c6efa75a5cfb134cbd78b772b725 (patch) | |
tree | 3a4a0c714eb594027f90193c7387b855c28afb69 /net/ipv6/tcp_ipv6.c | |
parent | tcp: remove unused parameter of tcp_sacktag_bsearch() (diff) | |
download | linux-9946b3410b61c6efa75a5cfb134cbd78b772b725.tar.xz linux-9946b3410b61c6efa75a5cfb134cbd78b772b725.zip |
tcp: clean up SOCK_DEBUG()
Per discussion with Daniel[1] and Eric[2], these SOCK_DEBUG() calles in
TCP are not needed now.
We'd better clean up it.
[1] https://patchwork.ozlabs.org/patch/1035573/
[2] https://patchwork.ozlabs.org/patch/1040533/
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index e51cda79f0cc..57ef69a10889 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -220,8 +220,6 @@ static int tcp_v6_connect(struct sock *sk, struct sockaddr *uaddr, u32 exthdrlen = icsk->icsk_ext_hdr_len; struct sockaddr_in sin; - SOCK_DEBUG(sk, "connect: ipv4 mapped\n"); - if (__ipv6_only_sock(sk)) return -ENETUNREACH; |