mptcp: fix typos in comments
authorShi-Sheng Yang <fourcolor4c@gmail.com>
Thu, 2 May 2024 15:47:40 +0000 (23:47 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 May 2024 02:12:08 +0000 (19:12 -0700)
This patch fixes the spelling mistakes in comments.
The changes were generated using codespell and reviewed manually.

eariler -> earlier
greceful -> graceful

Signed-off-by: Shi-Sheng Yang <fourcolor4c@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240502154740.249839-1-fourcolor4c@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/subflow.c

index 97ec44d..0ac8d48 100644 (file)
@@ -911,7 +911,7 @@ create_child:
        }
 
        /* check for expected invariant - should never trigger, just help
-        * catching eariler subtle bugs
+        * catching earlier subtle bugs
         */
        WARN_ON_ONCE(child && *own_req && tcp_sk(child)->is_mptcp &&
                     (!mptcp_subflow_ctx(child) ||
@@ -1259,7 +1259,7 @@ static void mptcp_subflow_fail(struct mptcp_sock *msk, struct sock *ssk)
        struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk);
        unsigned long fail_tout;
 
-       /* greceful failure can happen only on the MPC subflow */
+       /* graceful failure can happen only on the MPC subflow */
        if (WARN_ON_ONCE(ssk != READ_ONCE(msk->first)))
                return;