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 1859e2bc83d1..bd7e6a6a815a 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 b6adef8a1e93..49493f335861 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -3994,7 +3994,7 @@ static sctp_ierror_t sctp_sf_authenticate(struct net *net, | |||
3994 | chunk->subh.auth_hdr = auth_hdr; | 3994 | chunk->subh.auth_hdr = auth_hdr; |
3995 | skb_pull(chunk->skb, sizeof(struct sctp_authhdr)); | 3995 | skb_pull(chunk->skb, sizeof(struct sctp_authhdr)); |
3996 | 3996 | ||
3997 | /* Make sure that we suport the HMAC algorithm from the auth | 3997 | /* Make sure that we support the HMAC algorithm from the auth |
3998 | * chunk. | 3998 | * chunk. |
3999 | */ | 3999 | */ |
4000 | if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) | 4000 | if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) |