OSDN Git Service

net: sctp: Fix some typos
authorLu Wei <luwei32@huawei.com>
Sat, 27 Mar 2021 02:27:23 +0000 (10:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 00:52:50 +0000 (17:52 -0700)
Modify "unkown" to "unknown" in net/sctp/sm_make_chunk.c and
Modify "orginal" to "original" in net/sctp/socket.c.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Lu Wei <luwei32@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_make_chunk.c
net/sctp/socket.c

index f77484d..54e6a70 100644 (file)
@@ -3217,7 +3217,7 @@ bool sctp_verify_asconf(const struct sctp_association *asoc,
                                return false;
                        break;
                default:
-                       /* This is unkown to us, reject! */
+                       /* This is unknown to us, reject! */
                        return false;
                }
        }
index a710917..76a388b 100644 (file)
@@ -9327,7 +9327,7 @@ void sctp_copy_sock(struct sock *newsk, struct sock *sk,
        if (newsk->sk_flags & SK_FLAGS_TIMESTAMP)
                net_enable_timestamp();
 
-       /* Set newsk security attributes from orginal sk and connection
+       /* Set newsk security attributes from original sk and connection
         * security attribute from ep.
         */
        security_sctp_sk_clone(ep, sk, newsk);