This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 6ab30c81edc51acd6a7186621e46ce2f633ce10d Author: Bowen Wang <[email protected]> AuthorDate: Tue Jul 28 15:07:27 2026 +0800 net/rpmsg: name the rejected connection in the backlog log When the backlog is full, the log only printed the backlog limit, so with several rpmsg servers it was impossible to tell which one dropped the connection. Print the peer CPU and the endpoint name as well. Signed-off-by: Bowen Wang <[email protected]> --- net/rpmsg/rpmsg_sockif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/rpmsg/rpmsg_sockif.c b/net/rpmsg/rpmsg_sockif.c index 03ad49692e8..3bfa45a6fcc 100644 --- a/net/rpmsg/rpmsg_sockif.c +++ b/net/rpmsg/rpmsg_sockif.c @@ -852,7 +852,8 @@ static void rpmsg_socket_ns_accept(FAR struct rpmsg_socket_conn_s *server, * first, this connection never joins the listener's pending list. */ - nerr("Reject the connection, Max listen %d\n", server->backlog); + nerr("Reject the connection from %s (ept:%s), max listen %d\n", + rpmsg_get_cpuname(rdev), name, server->backlog); nxmutex_unlock(&server->recvlock); new->server = NULL;
