[PATCH net-next] ipv6: Fix spelling mistakes

From: Zheng Yongjun
Date: Wed Jun 02 2021 - 02:43:15 EST


Fix some spelling mistakes in comments:
wont ==> won't
hight ==> height
execeeds ==> exceeds
accomodate ==> accommodate
informations ==> information
destionation ==> destination

Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
---
net/ipv6/ah6.c | 2 +-
net/ipv6/esp6.c | 4 ++--
net/ipv6/ip6_fib.c | 2 +-
net/ipv6/ip6_vti.c | 2 +-
net/ipv6/output_core.c | 2 +-
net/ipv6/reassembly.c | 2 +-
net/ipv6/udp.c | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c
index 20d492da725a..05176c507fb1 100644
--- a/net/ipv6/ah6.c
+++ b/net/ipv6/ah6.c
@@ -144,7 +144,7 @@ static bool zero_out_mutable_opts(struct ipv6_opt_hdr *opthdr)
/**
* ipv6_rearrange_destopt - rearrange IPv6 destination options header
* @iph: IPv6 header
- * @destopt: destionation options header
+ * @destopt: destination options header
*/
static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt)
{
diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c
index 393ae2b78e7d..e351022ffb24 100644
--- a/net/ipv6/esp6.c
+++ b/net/ipv6/esp6.c
@@ -344,7 +344,7 @@ static struct ip_esp_hdr *esp_output_set_esn(struct sk_buff *skb,
struct esp_output_extra *extra)
{
/* For ESN we move the header forward by 4 bytes to
- * accomodate the high bits. We will move it back after
+ * accommodate the high bits. We will move it back after
* encryption.
*/
if ((x->props.flags & XFRM_STATE_ESN)) {
@@ -894,7 +894,7 @@ static void esp_input_set_header(struct sk_buff *skb, __be32 *seqhi)
struct xfrm_state *x = xfrm_input_state(skb);

/* For ESN we move the header forward by 4 bytes to
- * accomodate the high bits. We will move it back after
+ * accommodate the high bits. We will move it back after
* decryption.
*/
if ((x->props.flags & XFRM_STATE_ESN)) {
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c
index 679699e953f1..50b64fd7ec55 100644
--- a/net/ipv6/ip6_fib.c
+++ b/net/ipv6/ip6_fib.c
@@ -999,7 +999,7 @@ static int fib6_nh_drop_pcpu_from(struct fib6_nh *nh, void *_arg)
static void fib6_drop_pcpu_from(struct fib6_info *f6i,
const struct fib6_table *table)
{
- /* Make sure rt6_make_pcpu_route() wont add other percpu routes
+ /* Make sure rt6_make_pcpu_route() won't add other percpu routes
* while we are cleaning them here.
*/
f6i->fib6_destroying = 1;
diff --git a/net/ipv6/ip6_vti.c b/net/ipv6/ip6_vti.c
index 2d048e21abbb..0e727d38f03f 100644
--- a/net/ipv6/ip6_vti.c
+++ b/net/ipv6/ip6_vti.c
@@ -440,7 +440,7 @@ static bool vti6_state_check(const struct xfrm_state *x,
* vti6_xmit - send a packet
* @skb: the outgoing socket buffer
* @dev: the outgoing tunnel device
- * @fl: the flow informations for the xfrm_lookup
+ * @fl: the flow information for the xfrm_lookup
**/
static int
vti6_xmit(struct sk_buff *skb, struct net_device *dev, struct flowi *fl)
diff --git a/net/ipv6/output_core.c b/net/ipv6/output_core.c
index af36acc1a644..4a51e705c307 100644
--- a/net/ipv6/output_core.c
+++ b/net/ipv6/output_core.c
@@ -32,7 +32,7 @@ static u32 __ipv6_select_ident(struct net *net,
hash = siphash(&combined, sizeof(combined), &net->ipv4.ip_id_key);

/* Treat id of 0 as unset and if we get 0 back from ip_idents_reserve,
- * set the hight order instead thus minimizing possible future
+ * set the height order instead thus minimizing possible future
* collisions.
*/
id = ip_idents_reserve(hash, 1);
diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c
index 28e44782c94d..e6ef5b2622d6 100644
--- a/net/ipv6/reassembly.c
+++ b/net/ipv6/reassembly.c
@@ -182,7 +182,7 @@ static int ip6_frag_queue(struct frag_queue *fq, struct sk_buff *skb,

/* Note : skb->rbnode and skb->dev share the same location. */
dev = skb->dev;
- /* Makes sure compiler wont do silly aliasing games */
+ /* Makes sure compiler won't do silly aliasing games */
barrier();

prev_tail = fq->q.fragments_tail;
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 199b080d418a..0638090214ff 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -304,7 +304,7 @@ struct sock *udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be
EXPORT_SYMBOL_GPL(udp6_lib_lookup);
#endif

-/* do not use the scratch area len for jumbogram: their length execeeds the
+/* do not use the scratch area len for jumbogram: their length exceeds the
* scratch area space; note that the IP6CB flags is still in the first
* cacheline, so checking for jumbograms is cheap
*/
--
2.25.1