sctp: fix some comments in chunk.c and associola.c
authorwangweidong <wangweidong1@huawei.com>
Sat, 26 Oct 2013 08:06:30 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2013 05:02:34 +0000 (01:02 -0400)
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>
net/sctp/associola.c
net/sctp/chunk.c

index cef509985192a041f8d437adc35cd540e32f58bd..c9b91cb1cb0dfdd4561ef3632d7443416a66b19d 100644 (file)
@@ -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
                 * that these migrated packets have a chance to get
-                * retrnasmitted.
+                * retransmitted.
                 */
                if (!timer_pending(&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.  */
        peer->pathmaxrxt = asoc->pathmaxrxt;
 
-       /* And the partial failure retrnas threshold */
+       /* And the partial failure retrans threshold */
        peer->pf_retrans = asoc->pf_retrans;
 
        /* Initialize the peer's SACK delay timeout based on the
index 7bd5ed4a865727c87e729ec129a4350f93354a9a..f2044fcb9dd113d4764877f08bde77146be5d1a3 100644 (file)
@@ -201,7 +201,7 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc,
 
        max = asoc->frag_point;
        /* 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.
         */
        if (sctp_auth_send_cid(SCTP_CID_DATA, asoc)) {