summaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv6.c
diff options
context:
space:
mode:
authorDenis Kirjanov <kirjanov@gmail.com>2023-12-19 17:38:19 +0300
committerDavid S. Miller <davem@davemloft.net>2023-12-26 20:31:01 +0000
commit8e5443d2b8664b6a036b38b9d035eece9dfe6554 (patch)
tree6e865cf6b98c83c3ac4b06c7e80a7082de327c20 /net/dccp/ipv6.c
parente3eb47f2347b8cfae9de4a9a6fdddec79554652c (diff)
downloadlinux-stable-8e5443d2b8664b6a036b38b9d035eece9dfe6554.tar.gz
linux-stable-8e5443d2b8664b6a036b38b9d035eece9dfe6554.tar.bz2
linux-stable-8e5443d2b8664b6a036b38b9d035eece9dfe6554.zip
net: remove SOCK_DEBUG leftovers
SOCK_DEBUG comes from the old days. Let's move logging to standard net core ratelimited logging functions Signed-off-by: Denis Kirjanov <dkirjanov@suse.de> changes in v2: - remove SOCK_DEBUG macro altogether Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r--net/dccp/ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index 06d7324276ec..ded07e09f813 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -889,7 +889,7 @@ static int dccp_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");
+ net_dbg_ratelimited("connect: ipv4 mapped\n");
if (ipv6_only_sock(sk))
return -ENETUNREACH;