Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
This commit is contained in:
@@ -113,7 +113,7 @@ struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp)
|
||||
return new;
|
||||
}
|
||||
|
||||
/* Free the shared key stucture */
|
||||
/* Free the shared key structure */
|
||||
static void sctp_auth_shkey_free(struct sctp_shared_key *sh_key)
|
||||
{
|
||||
BUG_ON(!list_empty(&sh_key->key_list));
|
||||
@@ -122,7 +122,7 @@ static void sctp_auth_shkey_free(struct sctp_shared_key *sh_key)
|
||||
kfree(sh_key);
|
||||
}
|
||||
|
||||
/* Destory the entire key list. This is done during the
|
||||
/* Destroy the entire key list. This is done during the
|
||||
* associon and endpoint free process.
|
||||
*/
|
||||
void sctp_auth_destroy_keys(struct list_head *keys)
|
||||
@@ -324,7 +324,7 @@ static struct sctp_auth_bytes *sctp_auth_asoc_create_secret(
|
||||
if (!peer_key_vector || !local_key_vector)
|
||||
goto out;
|
||||
|
||||
/* Figure out the order in wich the key_vectors will be
|
||||
/* Figure out the order in which the key_vectors will be
|
||||
* added to the endpoint shared key.
|
||||
* SCTP-AUTH, Section 6.1:
|
||||
* This is performed by selecting the numerically smaller key
|
||||
|
Reference in New Issue
Block a user