Skip to content

Commit 2bccbad

Browse files
wangweidongdavem330
authored andcommitted
sctp: fix some comments in chunk.c and associola.c
fix some typos Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 82d8189 commit 2bccbad

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎net/sctp/associola.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ void sctp_assoc_rm_peer(struct sctp_association *asoc,
602602

603603
/* Start a T3 timer here in case it wasn't running so
604604
* that these migrated packets have a chance to get
605-
* retrnasmitted.
605+
* retransmitted.
606606
*/
607607
if (!timer_pending(&active->T3_rtx_timer))
608608
if (!mod_timer(&active->T3_rtx_timer,
@@ -665,7 +665,7 @@ struct sctp_transport *sctp_assoc_add_peer(struct sctp_association *asoc,
665665
/* Set the path max_retrans. */
666666
peer->pathmaxrxt = asoc->pathmaxrxt;
667667

668-
/* And the partial failure retrnas threshold */
668+
/* And the partial failure retrans threshold */
669669
peer->pf_retrans = asoc->pf_retrans;
670670

671671
/* Initialize the peer's SACK delay timeout based on the

‎net/sctp/chunk.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc,
201201

202202
max = asoc->frag_point;
203203
/* If the the peer requested that we authenticate DATA chunks
204-
* we need to accound for bundling of the AUTH chunks along with
204+
* we need to account for bundling of the AUTH chunks along with
205205
* DATA.
206206
*/
207207
if (sctp_auth_send_cid(SCTP_CID_DATA, asoc)) {

0 commit comments

Comments
 (0)