[PATCH net-next v2] net/rds: update outdated comment in rds_send_xmit

Kexin Sun posted 1 patch 1 month, 2 weeks ago
net/rds/send.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH net-next v2] net/rds: update outdated comment in rds_send_xmit
Posted by Kexin Sun 1 month, 2 weeks ago
The function rds_send_reset() was subsumed by rds_send_path_reset()
by commit d769ef81d5b5 ("RDS: Update rds_conn_shutdown to work with
rds_conn_path").  Update the comment accordingly.

Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
---
 net/rds/send.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/rds/send.c b/net/rds/send.c
index a1039e422a38..d8b14ff9d366 100644
--- a/net/rds/send.c
+++ b/net/rds/send.c
@@ -284,7 +284,7 @@ int rds_send_xmit(struct rds_conn_path *cp)
 		 *
 		 * cp_xmit_rm holds a ref while we're sending this message down
 		 * the connection.  We can use this ref while holding the
-		 * send_sem.. rds_send_reset() is serialized with it.
+		 * send_sem.. rds_send_path_reset() is serialized with it.
 		 */
 		if (!rm) {
 			unsigned int len;
-- 
2.25.1
Re: [PATCH net-next v2] net/rds: update outdated comment in rds_send_xmit
Posted by Allison Henderson 1 month, 2 weeks ago
On Wed, 2026-02-25 at 13:35 +0800, Kexin Sun wrote:
> The function rds_send_reset() was subsumed by rds_send_path_reset()
> by commit d769ef81d5b5 ("RDS: Update rds_conn_shutdown to work with
> rds_conn_path").  Update the comment accordingly.
> 
> Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Looks good, thanks Kexin.

Reviewed-by: Allison Henderson <achender@kernel.org>

> ---
>  net/rds/send.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/rds/send.c b/net/rds/send.c
> index a1039e422a38..d8b14ff9d366 100644
> --- a/net/rds/send.c
> +++ b/net/rds/send.c
> @@ -284,7 +284,7 @@ int rds_send_xmit(struct rds_conn_path *cp)
>  		 *
>  		 * cp_xmit_rm holds a ref while we're sending this message down
>  		 * the connection.  We can use this ref while holding the
> -		 * send_sem.. rds_send_reset() is serialized with it.
> +		 * send_sem.. rds_send_path_reset() is serialized with it.
>  		 */
>  		if (!rm) {
>  			unsigned int len;