Skip to contentSkip to conversation

rds: tcp_listen: fix typos in comments

PATCH Applied Avinash Duduskar 3 participants 3 messages May 12 – May 15

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rds: tcp_listen: fix typos in comments

Two typos in comments:

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

---
 net/rds/tcp_listen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/rds/tcp_listen.c +2 -2
index 08a506aa7ce7..a3db9b057084 100644
@@ -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

Signature · 1 line
2.54.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Avinash Duduskar

Two typos in comments:

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

Looks fine to me. Thanks for the cleanups!

Quoted 28 lines
---
 net/rds/tcp_listen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/rds/tcp_listen.c +2 -2
index 08a506aa7ce7..a3db9b057084 100644
@@ -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 lore raw
In reply to Avinash Duduskar
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Wed, 13 May 2026 03:25:31 +0530 you 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()).

[...]

Here is the summary with links:
- [net-next] rds: tcp_listen: fix typos in comments

    https://git.kernel.org/netdev/net-next/c/1b2ba91c4505

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html