]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rds: tcp_listen: fix typos in comments
authorAvinash Duduskar <avinash.duduskar@gmail.com>
Tue, 12 May 2026 21:55:31 +0000 (03:25 +0530)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 May 2026 00:11:26 +0000 (17:11 -0700)
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>
Reviewed-by: Allison Henderson <achender@kernel.org>
Link: https://patch.msgid.link/20260512215531.1988662-1-avinash.duduskar@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rds/tcp_listen.c

index 08a506aa7ce7a886c513a2c27e9f7b6a417fd690..a3db9b057084d3926d91f2a733218d9ad909de44 100644 (file)
@@ -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);