]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: mptcp: fix some spelling mistake in mptcp
authorMenglong Dong <imagedong@tencent.com>
Mon, 27 Jun 2022 12:16:25 +0000 (20:16 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Jun 2022 05:11:45 +0000 (22:11 -0700)
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: Menglong Dong <imagedong@tencent.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Link: https://lore.kernel.org/r/20220627121626.1595732-1-imagedong@tencent.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm_netlink.c
net/mptcp/subflow.c

index e099f2a12504a78edff538c9160e2d97d9203593..3de83e2a261151b04c77531659799efe3a645b7a 100644 (file)
@@ -1127,7 +1127,7 @@ void mptcp_pm_nl_subflow_chk_stale(const struct mptcp_sock *msk, struct sock *ss
                        }
                        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
                         * is cheap under the msk socket lock
                         */
index 8841e8cd9ad8dbde4f9853e0dd16d6ace244f09e..ad565ff9ebc32160238042430076d57391b041e0 100644 (file)
@@ -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
         * socket, even if for additional subflows the allocation is performed
         * 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.
         */
        SOCK_INODE(sf)->i_ino = SOCK_INODE(sk->sk_socket)->i_ino;