🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
3 messages
3 total messages Started by Wentao Liang Wed, 04 Nov 2026 02:28
[PATCH] svcrdma: drop the extra reference on the backchannel transport
#10752
Author: Wentao Liang
Date: Wed, 04 Nov 2026 02:28
39 lines
9551 bytes
xprt_setup_rdma_bc() takes two references on the new rpc_xprt: one for
the xpt_bc_xprt link, which svc_xprt_free() drops, and a second one
whose final put used to live in __svc_rdma_free().  That put was
removed when svc_xprt_free() took over releasing the backchannel
transport, but svc_xprt_free() only drops the reference belonging to
the xpt_bc_xprt link.  The second reference is therefore never
released: the rpc_xprt outlives the callback client and the
connection, and the net namespace reference taken by xprt_alloc() is
leaked with it.

Keep only the reference that svc_xprt_free() releases, the same way
the TCP backchannel transport does, and drop the comment pointing at
the function that no longer performs the put.

Fixes: 729580ddc53e ("svcrdma: xpt_bc_xprt is already clear in __svc_rdma_free()")
Cc: stable@vger.kernel.org
Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
---
 net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c
index e5a78b761012..6a504806165c 100644
--- a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c
+++ b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c
@@ -269,9 +269,6 @@ xprt_setup_rdma_bc(struct xprt_create *args)
 	xprt_get(xprt);
 	args->bc_xprt->xpt_bc_xprt = xprt;
 	xprt->bc_xprt = args->bc_xprt;
-
-	/* Final put for backchannel xprt is in __svc_rdma_free */
-	xprt_get(xprt);
 	return xprt;
 }
 
-- 
2.34.1
Re: [PATCH] svcrdma: drop the extra reference on the backchannel transport
#10761
Author: netdev-bot+sinfo
Date: Wed, 04 Nov 2026 02:33
22 lines
8900 bytes
Hi!

This is an automated message. This series looks like a fix, but its
commit messages seem to be missing some information:

 - How the issue was discovered, e.g. hit in production, hit during
   development, syzbot report, manual code inspection, LLM or static
   analysis tool scan.

 - Whether the issue was actually triggered, or is only theoretical
   (e.g. found by code inspection). If it was triggered please include
   the symptoms, like the stack trace or error messages.

Please do not repost the series just to address the above. Instead,
reply to this email with the missing information, so that reviewers
can take it into account. If the series needs another revision for
other reasons, please include the information in the commit messages
then.

The evaluation is done by an LLM so it may be wrong, if you think
that is the case please reply and explain.
Re: [PATCH] svcrdma: drop the extra reference on the backchannel transport
#10824
Author: Krzysztof Kozlowski
Date: Wed, 04 Nov 2026 07:11
63 lines
10629 bytes
On Wed, 04 Nov 2026 02:28:13 +0000, Wentao Liang wrote:
> xprt_setup_rdma_bc() takes two references on the new rpc_xprt: one for
> the xpt_bc_xprt link, which svc_xprt_free() drops, and a second one
> whose final put used to live in __svc_rdma_free().  That put was
> removed when svc_xprt_free() took over releasing the backchannel
> transport, but svc_xprt_free() only drops the reference belonging to
> the xpt_bc_xprt link.  The second reference is therefore never
> released: the rpc_xprt outlives the callback client and the
> connection, and the net namespace reference taken by xprt_alloc() is
> leaked with it.
> 
> Keep only the reference that svc_xprt_free() releases, the same way
> the TCP backchannel transport does, and drop the comment pointing at
> the function that no longer performs the put.
> 
> Fixes: 729580ddc53e ("svcrdma: xpt_bc_xprt is already clear in __svc_rdma_free()")
> Cc: stable@vger.kernel.org
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
> Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
> ---
>  net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 3 ---
>  1 file changed, 3 deletions(-)
> 

Multiple things here:
1. Your team ignored completely previous feedback. Multiple times.

2. You use multiple identities with this email address, thus I doubt that we
   speak with an actual person.

3. Your bot does not even bother running checkpatch, right?

4. Nothing of this was reproduced nor tested.

5. Finally, the same feedback:
You sent multiple independent patches, to multiple independent
subsystems. The amount of these patches clearly suggest this was
AI generated and most likely not tested.

More importantly, you sent all this work without properly organizing
relevant patches into patchsets. This makes reviewing difficult
and might cause multiple reviewers to address the same issue.
Replying to the entire set is impossible and requires handling each
patch independently, instead of applying or discarding the set.
Maintainers also won't see the bigger picture of your work. Quite
worrying.

This is on the verge of hostile patch: bomb us with so many
contributions, we won't be able to handle them in efficient manner,
like responding ONCE to ask you to slow down.  Considering all this
is untested and LLM generated, I have even more doubts whether this
should be considered for review.

Please read kernel documentation BEFORE posting more work. It will
explain you how to identify subsystems, how to organize your work per
subsystem (so a patchset grouping multiple patches with a short cover
letter), how to document the issue discovery method and what was
or was not tested.

Best regards,
Krzysztof
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads