Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sctp: Correct spelling in headers

Correct spelling in sctp.h and structs.h.
As reported by codespell.

Cc: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Simon Horman <horms@kernel.org>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link: https://patch.msgid.link/20240822-net-spell-v1-10-3a98971ce2d2@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Simon Horman and committed by
Jakub Kicinski
7f47fcea a7a45f02

+11 -11
+1 -1
include/net/sctp/sctp.h
··· 28 28 #define __net_sctp_h__ 29 29 30 30 /* Header Strategy. 31 - * Start getting some control over the header file depencies: 31 + * Start getting some control over the header file dependencies: 32 32 * includes 33 33 * constants 34 34 * structs
+10 -10
include/net/sctp/structs.h
··· 521 521 refcount_t refcnt; 522 522 /* When is this message no longer interesting to the peer? */ 523 523 unsigned long expires_at; 524 - /* Did the messenge fail to send? */ 524 + /* Did the message fail to send? */ 525 525 int send_error; 526 526 u8 send_failed:1, 527 527 can_delay:1, /* should this message be Nagle delayed */ ··· 792 792 */ 793 793 hb_sent:1, 794 794 795 - /* Is the Path MTU update pending on this tranport */ 795 + /* Is the Path MTU update pending on this transport */ 796 796 pmtu_pending:1, 797 797 798 798 dst_pending_confirm:1, /* need to confirm neighbour */ ··· 1223 1223 }; 1224 1224 1225 1225 /* 1226 - * A common base class to bridge the implmentation view of a 1226 + * A common base class to bridge the implementation view of a 1227 1227 * socket (usually listening) endpoint versus an association's 1228 1228 * local endpoint. 1229 1229 * This common structure is useful for several purposes: ··· 1353 1353 struct rcu_head rcu; 1354 1354 }; 1355 1355 1356 - /* Recover the outter endpoint structure. */ 1356 + /* Recover the outer endpoint structure. */ 1357 1357 static inline struct sctp_endpoint *sctp_ep(struct sctp_ep_common *base) 1358 1358 { 1359 1359 struct sctp_endpoint *ep; ··· 1906 1906 __u32 rwnd_over; 1907 1907 1908 1908 /* 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 1910 1910 * is releases slowly (1 PMTU at a time ). 1911 1911 */ 1912 1912 __u32 rwnd_press; ··· 1994 1994 1995 1995 /* ADDIP Section 5.2 Upon reception of an ASCONF Chunk. 1996 1996 * 1997 - * This is needed to implement itmes E1 - E4 of the updated 1997 + * This is needed to implement items E1 - E4 of the updated 1998 1998 * spec. Here is the justification: 1999 1999 * 2000 2000 * Since the peer may bundle multiple ASCONF chunks toward us, ··· 2005 2005 2006 2006 /* These ASCONF chunks are waiting to be sent. 2007 2007 * 2008 - * These chunaks can't be pushed to outqueue until receiving 2008 + * These chunks can't be pushed to outqueue until receiving 2009 2009 * ASCONF_ACK for the previous ASCONF indicated by 2010 2010 * addip_last_asconf, so as to guarantee that only one ASCONF 2011 2011 * is in flight at any time. ··· 2059 2059 struct sctp_transport *new_transport; 2060 2060 2061 2061 /* 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 2063 2063 * and can't change during the lifetime of the association 2064 2064 */ 2065 2065 struct list_head endpoint_shared_keys; 2066 2066 2067 2067 /* SCTP AUTH: 2068 - * The current generated assocaition shared key (secret) 2068 + * The current generated association shared key (secret) 2069 2069 */ 2070 2070 struct sctp_auth_bytes *asoc_shared_key; 2071 2071 struct sctp_shared_key *shkey; ··· 2121 2121 SCTP_ASSOC_EYECATCHER = 0xa550c123, 2122 2122 }; 2123 2123 2124 - /* Recover the outter association structure. */ 2124 + /* Recover the outer association structure. */ 2125 2125 static inline struct sctp_association *sctp_assoc(struct sctp_ep_common *base) 2126 2126 { 2127 2127 struct sctp_association *asoc;