diff options
author | Joe Perches <joe@perches.com> | 2007-12-20 17:03:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-12-20 17:03:52 -0500 |
commit | 7aa1b54b74d813e01c46a5344c52f06037a95da0 (patch) | |
tree | 11a440ccad749e2f324816370ad339e99f605446 /net/sctp/sm_make_chunk.c | |
parent | e185446ce83f327428624fc4a0392794249311a2 (diff) |
[SCTP]: Spelling fixes
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
-rw-r--r-- | net/sctp/sm_make_chunk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index f4876291bb5e..ed7c9e30ebc9 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c | |||
@@ -286,7 +286,7 @@ struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, | |||
286 | 286 | ||
287 | sctp_addto_chunk(retval, sizeof(ecap_param), &ecap_param); | 287 | sctp_addto_chunk(retval, sizeof(ecap_param), &ecap_param); |
288 | 288 | ||
289 | /* Add the supported extensions paramter. Be nice and add this | 289 | /* Add the supported extensions parameter. Be nice and add this |
290 | * fist before addiding the parameters for the extensions themselves | 290 | * fist before addiding the parameters for the extensions themselves |
291 | */ | 291 | */ |
292 | if (num_ext) { | 292 | if (num_ext) { |
@@ -2859,7 +2859,7 @@ struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc, | |||
2859 | chunk_len -= length; | 2859 | chunk_len -= length; |
2860 | 2860 | ||
2861 | /* Skip the address parameter and store a pointer to the first | 2861 | /* Skip the address parameter and store a pointer to the first |
2862 | * asconf paramter. | 2862 | * asconf parameter. |
2863 | */ | 2863 | */ |
2864 | length = ntohs(addr_param->v4.param_hdr.length); | 2864 | length = ntohs(addr_param->v4.param_hdr.length); |
2865 | asconf_param = (sctp_addip_param_t *)((void *)addr_param + length); | 2865 | 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 | /* create an ASCONF_ACK chunk. | 2868 | /* create an ASCONF_ACK chunk. |
2869 | * Based on the definitions of parameters, we know that the size of | 2869 | * Based on the definitions of parameters, we know that the size of |
2870 | * ASCONF_ACK parameters are less than or equal to the twice of ASCONF | 2870 | * ASCONF_ACK parameters are less than or equal to the twice of ASCONF |
2871 | * paramters. | 2871 | * parameters. |
2872 | */ | 2872 | */ |
2873 | asconf_ack = sctp_make_asconf_ack(asoc, serial, chunk_len * 2); | 2873 | asconf_ack = sctp_make_asconf_ack(asoc, serial, chunk_len * 2); |
2874 | if (!asconf_ack) | 2874 | if (!asconf_ack) |
@@ -3062,7 +3062,7 @@ int sctp_process_asconf_ack(struct sctp_association *asoc, | |||
3062 | asconf_len -= length; | 3062 | asconf_len -= length; |
3063 | 3063 | ||
3064 | /* Skip the address parameter in the last asconf sent and store a | 3064 | /* Skip the address parameter in the last asconf sent and store a |
3065 | * pointer to the first asconf paramter. | 3065 | * pointer to the first asconf parameter. |
3066 | */ | 3066 | */ |
3067 | length = ntohs(addr_param->v4.param_hdr.length); | 3067 | length = ntohs(addr_param->v4.param_hdr.length); |
3068 | asconf_param = (sctp_addip_param_t *)((void *)addr_param + length); | 3068 | asconf_param = (sctp_addip_param_t *)((void *)addr_param + length); |