mptcp: Fix spelling mistakes and cleanup code
Subsystems (3)
PATCH 1/1 mptcp: Fix spelling mistakes and cleanup code
From: Xie Shaowen <[email protected]>
fix follow spelling misktakes:
regarless ==> regardless interaces ==> interfaces
Reported-by Hacash Robot <[email protected]>
Signed-off-by Xie Shaowen <[email protected]>
--- net/mptcp/pm_netlink.c | 2 +- net/mptcp/subflow.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
net/mptcp/pm_netlink.c +1 -1
@@ -1134,7 +1134,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 */
net/mptcp/subflow.c +1 -1
@@ -1634,7 +1634,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;
Signature · 1 line
2.25.1
Quoted 8 lines · On Sat, 30 Jul 2022, [email protected] wrote:
From: Xie Shaowen <[email protected]>
fix follow spelling misktakes:
regarless ==> regardless interaces ==> interfacesReported-by Hacash Robot <[email protected]>Signed-off-by Xie Shaowen <[email protected]>
Hello Xie Shaowen -
These spelling errors were already fixed in commit d640516a65d8, merged 2022-06-28. Please make sure to work from an up-to-date branch!
Thanks for your patch,
Mat
Quoted 35 lines
---
net/mptcp/pm_netlink.c| 2 +-net/mptcp/subflow.c| 2 +-2 files changed, 2 insertions(+), 2 deletions(-)net/mptcp/pm_netlink.c +1
-1@@ -1134,7 +1134,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 */ net/mptcp/subflow.c +1
-1@@ -1634,7 +1634,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;Signature · 1 line
2.25.1
--
Mat Martineau
Intel