Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next] rds: tcp_listen: fix typos in comments
@ 2026-05-12 21:55 Avinash Duduskar
  2026-05-13  5:49 ` Allison Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Avinash Duduskar @ 2026-05-12 21:55 UTC (permalink / raw)
  To: netdev
  Cc: achender, davem, kuba, pabeni, edumazet, horms, linux-rdma,
	rds-devel, linux-kernel

Two typos in comments:

- "reconneect" -> "reconnect" (block comment above
  rds_tcp_accept_one_path()).
- "acccepted" -> "accepted" (block comment inside
  rds_tcp_conn_slots_available()).

Signed-off-by: Avinash Duduskar <avinash.duduskar@gmail.com>
---
 net/rds/tcp_listen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/rds/tcp_listen.c b/net/rds/tcp_listen.c
index 08a506aa7ce7..a3db9b057084 100644
--- a/net/rds/tcp_listen.c
+++ b/net/rds/tcp_listen.c
@@ -69,7 +69,7 @@ rds_tcp_get_peer_sport(struct socket *sock)
 
 /* rds_tcp_accept_one_path(): if accepting on cp_index > 0, make sure the
  * client's ipaddr < server's ipaddr. Otherwise, close the accepted
- * socket and force a reconneect from smaller -> larger ip addr. The reason
+ * socket and force a reconnect from smaller -> larger ip addr. The reason
  * we special case cp_index 0 is to allow the rds probe ping itself to itself
  * get through efficiently.
  */
@@ -143,7 +143,7 @@ void rds_tcp_conn_slots_available(struct rds_connection *conn, bool fan_out)
 	 *
 	 * Doing so is necessary to address the case where an
 	 * incoming connection on "rds_tcp_listen_sock" is ready
-	 * to be acccepted prior to a free slot being available:
+	 * to be accepted prior to a free slot being available:
 	 * the -ENOBUFS case in "rds_tcp_accept_one".
 	 */
 	rds_tcp_accept_work(rtn);

base-commit: 73d587ae684d176fac9db94173f77d78a794ea4f
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] rds: tcp_listen: fix typos in comments
  2026-05-12 21:55 [PATCH net-next] rds: tcp_listen: fix typos in comments Avinash Duduskar
@ 2026-05-13  5:49 ` Allison Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Allison Henderson @ 2026-05-13  5:49 UTC (permalink / raw)
  To: Avinash Duduskar, netdev
  Cc: davem, kuba, pabeni, edumazet, horms, linux-rdma, rds-devel,
	linux-kernel

On Wed, 2026-05-13 at 03:25 +0530, Avinash Duduskar wrote:
> Two typos in comments:
> 
> - "reconneect" -> "reconnect" (block comment above
>   rds_tcp_accept_one_path()).
> - "acccepted" -> "accepted" (block comment inside
>   rds_tcp_conn_slots_available()).
> 
> Signed-off-by: Avinash Duduskar <avinash.duduskar@gmail.com>

Looks fine to me.  Thanks for the cleanups!

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

> ---
>  net/rds/tcp_listen.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/net/rds/tcp_listen.c b/net/rds/tcp_listen.c
> index 08a506aa7ce7..a3db9b057084 100644
> --- a/net/rds/tcp_listen.c
> +++ b/net/rds/tcp_listen.c
> @@ -69,7 +69,7 @@ rds_tcp_get_peer_sport(struct socket *sock)
>  
>  /* rds_tcp_accept_one_path(): if accepting on cp_index > 0, make sure the
>   * client's ipaddr < server's ipaddr. Otherwise, close the accepted
> - * socket and force a reconneect from smaller -> larger ip addr. The reason
> + * socket and force a reconnect from smaller -> larger ip addr. The reason
>   * we special case cp_index 0 is to allow the rds probe ping itself to itself
>   * get through efficiently.
>   */
> @@ -143,7 +143,7 @@ void rds_tcp_conn_slots_available(struct rds_connection *conn, bool fan_out)
>  	 *
>  	 * Doing so is necessary to address the case where an
>  	 * incoming connection on "rds_tcp_listen_sock" is ready
> -	 * to be acccepted prior to a free slot being available:
> +	 * to be accepted prior to a free slot being available:
>  	 * the -ENOBUFS case in "rds_tcp_accept_one".
>  	 */
>  	rds_tcp_accept_work(rtn);
> 
> base-commit: 73d587ae684d176fac9db94173f77d78a794ea4f


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-13  5:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 21:55 [PATCH net-next] rds: tcp_listen: fix typos in comments Avinash Duduskar
2026-05-13  5:49 ` Allison Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox