Skip to content

Commit 7f47fce

Browse files
hormskuba-moo
authored andcommitted
sctp: Correct spelling in headers
Correct spelling in sctp.h and structs.h. As reported by codespell. Cc: Marcelo Ricardo Leitner <[email protected]> Signed-off-by: Simon Horman <[email protected]> Acked-by: Xin Long <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent a7a45f0 commit 7f47fce

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

include/net/sctp/sctp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define __net_sctp_h__
2929

3030
/* Header Strategy.
31-
* Start getting some control over the header file depencies:
31+
* Start getting some control over the header file dependencies:
3232
* includes
3333
* constants
3434
* structs

include/net/sctp/structs.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ struct sctp_datamsg {
521521
refcount_t refcnt;
522522
/* When is this message no longer interesting to the peer? */
523523
unsigned long expires_at;
524-
/* Did the messenge fail to send? */
524+
/* Did the message fail to send? */
525525
int send_error;
526526
u8 send_failed:1,
527527
can_delay:1, /* should this message be Nagle delayed */
@@ -792,7 +792,7 @@ struct sctp_transport {
792792
*/
793793
hb_sent:1,
794794

795-
/* Is the Path MTU update pending on this tranport */
795+
/* Is the Path MTU update pending on this transport */
796796
pmtu_pending:1,
797797

798798
dst_pending_confirm:1, /* need to confirm neighbour */
@@ -1223,7 +1223,7 @@ enum sctp_endpoint_type {
12231223
};
12241224

12251225
/*
1226-
* A common base class to bridge the implmentation view of a
1226+
* A common base class to bridge the implementation view of a
12271227
* socket (usually listening) endpoint versus an association's
12281228
* local endpoint.
12291229
* This common structure is useful for several purposes:
@@ -1353,7 +1353,7 @@ struct sctp_endpoint {
13531353
struct rcu_head rcu;
13541354
};
13551355

1356-
/* Recover the outter endpoint structure. */
1356+
/* Recover the outer endpoint structure. */
13571357
static inline struct sctp_endpoint *sctp_ep(struct sctp_ep_common *base)
13581358
{
13591359
struct sctp_endpoint *ep;
@@ -1906,7 +1906,7 @@ struct sctp_association {
19061906
__u32 rwnd_over;
19071907

19081908
/* Keeps treack of rwnd pressure. This happens when we have
1909-
* a window, but not recevie buffer (i.e small packets). This one
1909+
* a window, but not receive buffer (i.e small packets). This one
19101910
* is releases slowly (1 PMTU at a time ).
19111911
*/
19121912
__u32 rwnd_press;
@@ -1994,7 +1994,7 @@ struct sctp_association {
19941994

19951995
/* ADDIP Section 5.2 Upon reception of an ASCONF Chunk.
19961996
*
1997-
* This is needed to implement itmes E1 - E4 of the updated
1997+
* This is needed to implement items E1 - E4 of the updated
19981998
* spec. Here is the justification:
19991999
*
20002000
* Since the peer may bundle multiple ASCONF chunks toward us,
@@ -2005,7 +2005,7 @@ struct sctp_association {
20052005

20062006
/* These ASCONF chunks are waiting to be sent.
20072007
*
2008-
* These chunaks can't be pushed to outqueue until receiving
2008+
* These chunks can't be pushed to outqueue until receiving
20092009
* ASCONF_ACK for the previous ASCONF indicated by
20102010
* addip_last_asconf, so as to guarantee that only one ASCONF
20112011
* is in flight at any time.
@@ -2059,13 +2059,13 @@ struct sctp_association {
20592059
struct sctp_transport *new_transport;
20602060

20612061
/* SCTP AUTH: list of the endpoint shared keys. These
2062-
* keys are provided out of band by the user applicaton
2062+
* keys are provided out of band by the user application
20632063
* and can't change during the lifetime of the association
20642064
*/
20652065
struct list_head endpoint_shared_keys;
20662066

20672067
/* SCTP AUTH:
2068-
* The current generated assocaition shared key (secret)
2068+
* The current generated association shared key (secret)
20692069
*/
20702070
struct sctp_auth_bytes *asoc_shared_key;
20712071
struct sctp_shared_key *shkey;
@@ -2121,7 +2121,7 @@ enum {
21212121
SCTP_ASSOC_EYECATCHER = 0xa550c123,
21222122
};
21232123

2124-
/* Recover the outter association structure. */
2124+
/* Recover the outer association structure. */
21252125
static inline struct sctp_association *sctp_assoc(struct sctp_ep_common *base)
21262126
{
21272127
struct sctp_association *asoc;

0 commit comments

Comments
 (0)