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>
This commit is contained in:
parent
ce4a03db9b
commit
9d2c881afd
@ -127,7 +127,7 @@ static struct sctp_association *sctp_association_init(struct sctp_association *a
|
|||||||
*/
|
*/
|
||||||
asoc->param_flags = sp->param_flags;
|
asoc->param_flags = sp->param_flags;
|
||||||
|
|
||||||
/* Initialize the maximum mumber of new data packets that can be sent
|
/* Initialize the maximum number of new data packets that can be sent
|
||||||
* in a burst.
|
* in a burst.
|
||||||
*/
|
*/
|
||||||
asoc->max_burst = sp->max_burst;
|
asoc->max_burst = sp->max_burst;
|
||||||
@ -230,7 +230,7 @@ static struct sctp_association *sctp_association_init(struct sctp_association *a
|
|||||||
|
|
||||||
/* Assume that the peer will tell us if he recognizes ASCONF
|
/* Assume that the peer will tell us if he recognizes ASCONF
|
||||||
* as part of INIT exchange.
|
* as part of INIT exchange.
|
||||||
* The sctp_addip_noauth option is there for backward compatibilty
|
* The sctp_addip_noauth option is there for backward compatibility
|
||||||
* and will revert old behavior.
|
* and will revert old behavior.
|
||||||
*/
|
*/
|
||||||
if (net->sctp.addip_noauth)
|
if (net->sctp.addip_noauth)
|
||||||
@ -1222,7 +1222,7 @@ void sctp_assoc_update(struct sctp_association *asoc,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SCTP-AUTH: Save the peer parameters from the new assocaitions
|
/* SCTP-AUTH: Save the peer parameters from the new associations
|
||||||
* and also move the association shared keys over
|
* and also move the association shared keys over
|
||||||
*/
|
*/
|
||||||
kfree(asoc->peer.peer_random);
|
kfree(asoc->peer.peer_random);
|
||||||
@ -1447,7 +1447,7 @@ void sctp_assoc_rwnd_decrease(struct sctp_association *asoc, unsigned int len)
|
|||||||
|
|
||||||
/* If we've reached or overflowed our receive buffer, announce
|
/* If we've reached or overflowed our receive buffer, announce
|
||||||
* a 0 rwnd if rwnd would still be positive. Store the
|
* a 0 rwnd if rwnd would still be positive. Store the
|
||||||
* the pottential pressure overflow so that the window can be restored
|
* the potential pressure overflow so that the window can be restored
|
||||||
* back to original value.
|
* back to original value.
|
||||||
*/
|
*/
|
||||||
if (rx_count >= asoc->base.sk->sk_rcvbuf)
|
if (rx_count >= asoc->base.sk->sk_rcvbuf)
|
||||||
|
Loading…
Reference in New Issue
Block a user