net/rds/tcp_listen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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
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
© 2016 - 2026 Red Hat, Inc.