Commit d640516a authored by Menglong Dong's avatar Menglong Dong Committed by Jakub Kicinski

net: mptcp: fix some spelling mistake in mptcp

codespell finds some spelling mistake in mptcp:

net/mptcp/subflow.c:1624: interaces ==> interfaces
net/mptcp/pm_netlink.c:1130: regarless ==> regardless

Just fix them.
Signed-off-by: default avatarMenglong Dong <imagedong@tencent.com>
Reviewed-by: default avatarMatthieu Baerts <matthieu.baerts@tessares.net>
Link: https://lore.kernel.org/r/20220627121626.1595732-1-imagedong@tencent.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent eba3a981
...@@ -1127,7 +1127,7 @@ void mptcp_pm_nl_subflow_chk_stale(const struct mptcp_sock *msk, struct sock *ss ...@@ -1127,7 +1127,7 @@ void mptcp_pm_nl_subflow_chk_stale(const struct mptcp_sock *msk, struct sock *ss
} }
unlock_sock_fast(ssk, slow); unlock_sock_fast(ssk, slow);
/* always try to push the pending data regarless of re-injections: /* always try to push the pending data regardless of re-injections:
* we can possibly use backup subflows now, and subflow selection * we can possibly use backup subflows now, and subflow selection
* is cheap under the msk socket lock * is cheap under the msk socket lock
*/ */
......
...@@ -1617,7 +1617,7 @@ int mptcp_subflow_create_socket(struct sock *sk, struct socket **new_sock) ...@@ -1617,7 +1617,7 @@ int mptcp_subflow_create_socket(struct sock *sk, struct socket **new_sock)
/* the newly created socket really belongs to the owning MPTCP master /* the newly created socket really belongs to the owning MPTCP master
* socket, even if for additional subflows the allocation is performed * socket, even if for additional subflows the allocation is performed
* by a kernel workqueue. Adjust inode references, so that the * by a kernel workqueue. Adjust inode references, so that the
* procfs/diag interaces really show this one belonging to the correct * procfs/diag interfaces really show this one belonging to the correct
* user. * user.
*/ */
SOCK_INODE(sf)->i_ino = SOCK_INODE(sk->sk_socket)->i_ino; SOCK_INODE(sf)->i_ino = SOCK_INODE(sk->sk_socket)->i_ino;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment