Commit 8e007b4d authored by Shi-Sheng Yang's avatar Shi-Sheng Yang Committed by Gang Yan
Browse files

mptcp: fix typos in comments

mainline inclusion
from mainline-v6.10-rc1
commit 46a5d3abedbeb78640376257ee5c3aa690f6ee41
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I9VYQ9
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=46a5d3abedbeb78640376257ee5c3aa690f6ee41



--------------------------------

This patch fixes the spelling mistakes in comments.
The changes were generated using codespell and reviewed manually.

eariler -> earlier
greceful -> graceful

Signed-off-by: default avatarShi-Sheng Yang <fourcolor4c@gmail.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Reviewed-by: default avatarMatthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240502154740.249839-1-fourcolor4c@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarGang Yan <yangang@kylinos.cn>
parent d72146e8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -904,7 +904,7 @@ static struct sock *subflow_syn_recv_sock(const struct sock *sk,
	}

	/* 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) ||
@@ -1265,7 +1265,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;