diff options
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/endpointola.c | 2 | ||||
-rw-r--r-- | net/sctp/sm_statefuns.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c index 32ab55b18281..17a001bac2cc 100644 --- a/net/sctp/endpointola.c +++ b/net/sctp/endpointola.c | |||
@@ -163,7 +163,7 @@ static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, | |||
163 | 163 | ||
164 | list_add(&null_key->key_list, &ep->endpoint_shared_keys); | 164 | list_add(&null_key->key_list, &ep->endpoint_shared_keys); |
165 | 165 | ||
166 | /* Allocate and initialize transorms arrays for suported HMACs. */ | 166 | /* Allocate and initialize transorms arrays for supported HMACs. */ |
167 | err = sctp_auth_init_hmacs(ep, gfp); | 167 | err = sctp_auth_init_hmacs(ep, gfp); |
168 | if (err) | 168 | if (err) |
169 | goto nomem_hmacs; | 169 | goto nomem_hmacs; |
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index ebcd1eedb115..618ec7e216ca 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -4000,7 +4000,7 @@ static sctp_ierror_t sctp_sf_authenticate(struct net *net, | |||
4000 | chunk->subh.auth_hdr = auth_hdr; | 4000 | chunk->subh.auth_hdr = auth_hdr; |
4001 | skb_pull(chunk->skb, sizeof(struct sctp_authhdr)); | 4001 | skb_pull(chunk->skb, sizeof(struct sctp_authhdr)); |
4002 | 4002 | ||
4003 | /* Make sure that we suport the HMAC algorithm from the auth | 4003 | /* Make sure that we support the HMAC algorithm from the auth |
4004 | * chunk. | 4004 | * chunk. |
4005 | */ | 4005 | */ |
4006 | if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) | 4006 | if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) |