Commit 7aa1b54b authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

[SCTP]: Spelling fixes

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e185446c
...@@ -286,7 +286,7 @@ struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, ...@@ -286,7 +286,7 @@ struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
sctp_addto_chunk(retval, sizeof(ecap_param), &ecap_param); sctp_addto_chunk(retval, sizeof(ecap_param), &ecap_param);
/* Add the supported extensions paramter. Be nice and add this /* Add the supported extensions parameter. Be nice and add this
* fist before addiding the parameters for the extensions themselves * fist before addiding the parameters for the extensions themselves
*/ */
if (num_ext) { if (num_ext) {
...@@ -2859,7 +2859,7 @@ struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc, ...@@ -2859,7 +2859,7 @@ struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
chunk_len -= length; chunk_len -= length;
/* Skip the address parameter and store a pointer to the first /* Skip the address parameter and store a pointer to the first
* asconf paramter. * asconf parameter.
*/ */
length = ntohs(addr_param->v4.param_hdr.length); length = ntohs(addr_param->v4.param_hdr.length);
asconf_param = (sctp_addip_param_t *)((void *)addr_param + length); asconf_param = (sctp_addip_param_t *)((void *)addr_param + length);
...@@ -2868,7 +2868,7 @@ struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc, ...@@ -2868,7 +2868,7 @@ struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
/* create an ASCONF_ACK chunk. /* create an ASCONF_ACK chunk.
* Based on the definitions of parameters, we know that the size of * Based on the definitions of parameters, we know that the size of
* ASCONF_ACK parameters are less than or equal to the twice of ASCONF * ASCONF_ACK parameters are less than or equal to the twice of ASCONF
* paramters. * parameters.
*/ */
asconf_ack = sctp_make_asconf_ack(asoc, serial, chunk_len * 2); asconf_ack = sctp_make_asconf_ack(asoc, serial, chunk_len * 2);
if (!asconf_ack) if (!asconf_ack)
...@@ -3062,7 +3062,7 @@ int sctp_process_asconf_ack(struct sctp_association *asoc, ...@@ -3062,7 +3062,7 @@ int sctp_process_asconf_ack(struct sctp_association *asoc,
asconf_len -= length; asconf_len -= length;
/* Skip the address parameter in the last asconf sent and store a /* Skip the address parameter in the last asconf sent and store a
* pointer to the first asconf paramter. * pointer to the first asconf parameter.
*/ */
length = ntohs(addr_param->v4.param_hdr.length); length = ntohs(addr_param->v4.param_hdr.length);
asconf_param = (sctp_addip_param_t *)((void *)addr_param + length); asconf_param = (sctp_addip_param_t *)((void *)addr_param + length);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment