Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2bccbadf authored by wangweidong's avatar wangweidong Committed by David S. Miller
Browse files

sctp: fix some comments in chunk.c and associola.c



fix some typos

Acked-by: default avatarVlad Yasevich <vyasevich@gmail.com>
Signed-off-by: default avatarWang Weidong <wangweidong1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 82d81898
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -602,7 +602,7 @@ void sctp_assoc_rm_peer(struct sctp_association *asoc,


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


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


	/* Initialize the peer's SACK delay timeout based on the
	/* Initialize the peer's SACK delay timeout based on the
+1 −1
Original line number Original line Diff line number Diff line
@@ -201,7 +201,7 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc,


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