kcm: kcmsock.c: Couple of typo fixes
authorBhaskar Chowdhury <unixbhaskar@gmail.com>
Fri, 26 Mar 2021 23:12:43 +0000 (04:42 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 00:31:13 +0000 (17:31 -0700)
s/synchonization/synchronization/
s/aready/already/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/kcm/kcmsock.c

index d0b56ffbb0577c56fc9a403ab39693036574f74a..6201965bd822f0cef1f8716c26e28e7bc915701d 100644 (file)
@@ -663,7 +663,7 @@ do_frag:
 
                                /* Hard failure in sending message, abort this
                                 * psock since it has lost framing
-                                * synchonization and retry sending the
+                                * synchronization and retry sending the
                                 * message from the beginning.
                                 */
                                kcm_abort_tx_psock(psock, ret ? -ret : EPIPE,
@@ -1419,7 +1419,7 @@ static int kcm_attach(struct socket *sock, struct socket *csock,
 
        write_lock_bh(&csk->sk_callback_lock);
 
-       /* Check if sk_user_data is aready by KCM or someone else.
+       /* Check if sk_user_data is already by KCM or someone else.
         * Must be done under lock to prevent race conditions.
         */
        if (csk->sk_user_data) {