diff options
author | wangweidong <wangweidong1@huawei.com> | 2013-12-05 20:36:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-06 14:54:39 -0500 |
commit | 9d2c881afd41c18a67fb04c4386bb6812898cbf3 (patch) | |
tree | fedadeb3d9c8bc9574655b2e32db423fbe2392b4 /net/sctp | |
parent | ce4a03db9bec5f77fedab9d13ecc0b61925807ad (diff) |
sctp: fix some comments in associola.c
fix some typos
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/associola.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c index e803356179b0..3d7c6bd46311 100644 --- a/net/sctp/associola.c +++ b/net/sctp/associola.c | |||
@@ -127,7 +127,7 @@ static struct sctp_association *sctp_association_init(struct sctp_association *a | |||
127 | */ | 127 | */ |
128 | asoc->param_flags = sp->param_flags; | 128 | asoc->param_flags = sp->param_flags; |
129 | 129 | ||
130 | /* Initialize the maximum mumber of new data packets that can be sent | 130 | /* Initialize the maximum number of new data packets that can be sent |
131 | * in a burst. | 131 | * in a burst. |
132 | */ | 132 | */ |
133 | asoc->max_burst = sp->max_burst; | 133 | asoc->max_burst = sp->max_burst; |
@@ -230,7 +230,7 @@ static struct sctp_association *sctp_association_init(struct sctp_association *a | |||
230 | 230 | ||
231 | /* Assume that the peer will tell us if he recognizes ASCONF | 231 | /* Assume that the peer will tell us if he recognizes ASCONF |
232 | * as part of INIT exchange. | 232 | * as part of INIT exchange. |
233 | * The sctp_addip_noauth option is there for backward compatibilty | 233 | * The sctp_addip_noauth option is there for backward compatibility |
234 | * and will revert old behavior. | 234 | * and will revert old behavior. |
235 | */ | 235 | */ |
236 | if (net->sctp.addip_noauth) | 236 | if (net->sctp.addip_noauth) |
@@ -1222,7 +1222,7 @@ void sctp_assoc_update(struct sctp_association *asoc, | |||
1222 | } | 1222 | } |
1223 | } | 1223 | } |
1224 | 1224 | ||
1225 | /* SCTP-AUTH: Save the peer parameters from the new assocaitions | 1225 | /* SCTP-AUTH: Save the peer parameters from the new associations |
1226 | * and also move the association shared keys over | 1226 | * and also move the association shared keys over |
1227 | */ | 1227 | */ |
1228 | kfree(asoc->peer.peer_random); | 1228 | kfree(asoc->peer.peer_random); |
@@ -1447,7 +1447,7 @@ void sctp_assoc_rwnd_decrease(struct sctp_association *asoc, unsigned int len) | |||
1447 | 1447 | ||
1448 | /* If we've reached or overflowed our receive buffer, announce | 1448 | /* If we've reached or overflowed our receive buffer, announce |
1449 | * a 0 rwnd if rwnd would still be positive. Store the | 1449 | * a 0 rwnd if rwnd would still be positive. Store the |
1450 | * the pottential pressure overflow so that the window can be restored | 1450 | * the potential pressure overflow so that the window can be restored |
1451 | * back to original value. | 1451 | * back to original value. |
1452 | */ | 1452 | */ |
1453 | if (rx_count >= asoc->base.sk->sk_rcvbuf) | 1453 | if (rx_count >= asoc->base.sk->sk_rcvbuf) |