git: 57171f6d143d - main - netlink: with debugging log event when a socket is stuck
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Feb 2025 18:09:23 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=57171f6d143dc36a31264ec8bee5493bfedec840
commit 57171f6d143dc36a31264ec8bee5493bfedec840
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-02-05 18:09:06 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-02-05 18:09:06 +0000
netlink: with debugging log event when a socket is stuck
---
sys/netlink/netlink_io.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/netlink/netlink_io.c b/sys/netlink/netlink_io.c
index d2022a6a2b0d..ce323910af3f 100644
--- a/sys/netlink/netlink_io.c
+++ b/sys/netlink/netlink_io.c
@@ -109,6 +109,7 @@ nl_process_received_one(struct nlpcb *nlp)
SOCK_RECVBUF_LOCK(so);
if (sb->sb_hiwat <= sb->sb_ccc) {
SOCK_RECVBUF_UNLOCK(so);
+ NL_LOG(LOG_DEBUG3, "socket %p stuck", so);
return (false);
}
SOCK_RECVBUF_UNLOCK(so);