net: sctp: Fix some typos
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>
This commit is contained in:
@@ -3217,7 +3217,7 @@ bool sctp_verify_asconf(const struct sctp_association *asoc,
|
|||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* This is unkown to us, reject! */
|
/* This is unknown to us, reject! */
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9327,7 +9327,7 @@ void sctp_copy_sock(struct sock *newsk, struct sock *sk,
|
|||||||
if (newsk->sk_flags & SK_FLAGS_TIMESTAMP)
|
if (newsk->sk_flags & SK_FLAGS_TIMESTAMP)
|
||||||
net_enable_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 attribute from ep.
|
||||||
*/
|
*/
|
||||||
security_sctp_sk_clone(ep, sk, newsk);
|
security_sctp_sk_clone(ep, sk, newsk);
|
||||||
|
|||||||
Reference in New Issue
Block a user