[SCTP]: Spelling fixes
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e185446ce8
commit
7aa1b54b74
|
@ -286,7 +286,7 @@ struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
|
|||
|
||||
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
|
||||
*/
|
||||
if (num_ext) {
|
||||
|
@ -2859,7 +2859,7 @@ struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
|
|||
chunk_len -= length;
|
||||
|
||||
/* Skip the address parameter and store a pointer to the first
|
||||
* asconf paramter.
|
||||
* asconf parameter.
|
||||
*/
|
||||
length = ntohs(addr_param->v4.param_hdr.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,
|
|||
/* create an ASCONF_ACK chunk.
|
||||
* 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
|
||||
* paramters.
|
||||
* parameters.
|
||||
*/
|
||||
asconf_ack = sctp_make_asconf_ack(asoc, serial, chunk_len * 2);
|
||||
if (!asconf_ack)
|
||||
|
@ -3062,7 +3062,7 @@ int sctp_process_asconf_ack(struct sctp_association *asoc,
|
|||
asconf_len -= length;
|
||||
|
||||
/* 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);
|
||||
asconf_param = (sctp_addip_param_t *)((void *)addr_param + length);
|
||||
|
|
Loading…
Reference in New Issue