Correct misspelled typos in comments - informations -> information - wont -> won't - upto -> up to - destionation -> destination Signed-off-by: Shi Hao --- changes v2: - Rebased on net-next --- net/ipv6/ah6.c | 2 +- net/ipv6/calipso.c | 4 ++-- net/ipv6/ip6_fib.c | 2 +- net/ipv6/ip6_vti.c | 2 +- net/ipv6/netfilter/nf_conntrack_reasm.c | 2 +- net/ipv6/reassembly.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c index 95372e0f1d21..92e1cf90a6be 100644 --- a/net/ipv6/ah6.c +++ b/net/ipv6/ah6.c @@ -169,7 +169,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/calipso.c b/net/ipv6/calipso.c index df1986973430..220dd432c5bd 100644 --- a/net/ipv6/calipso.c +++ b/net/ipv6/calipso.c @@ -43,7 +43,7 @@ #define CALIPSO_HDR_LEN (2 + 8) /* Maximum size of the calipso option including - * the two-byte TLV header and upto 3 bytes of + * the two-byte TLV header and up to 3 bytes of * leading pad and 7 bytes of trailing pad. */ #define CALIPSO_OPT_LEN_MAX_WITH_PAD (3 + CALIPSO_OPT_LEN_MAX + 7) @@ -713,7 +713,7 @@ static int calipso_pad_write(unsigned char *buf, unsigned int offset, * * Description: * Generate a CALIPSO option using the DOI definition and security attributes - * passed to the function. This also generates upto three bytes of leading + * passed to the function. This also generates up to three bytes of leading * padding that ensures that the option is 4n + 2 aligned. It returns the * number of bytes written (including any initial padding). */ diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index 2111af022d94..bd1107eec89b 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c @@ -1010,7 +1010,7 @@ static int fib6_nh_drop_pcpu_from(struct fib6_nh *nh, void *_arg) static void fib6_drop_pcpu_from(struct fib6_info *f6i) { - /* 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 ad5290be4dd6..cc8d0b142224 100644 --- a/net/ipv6/ip6_vti.c +++ b/net/ipv6/ip6_vti.c @@ -435,7 +435,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/netfilter/nf_conntrack_reasm.c b/net/ipv6/netfilter/nf_conntrack_reasm.c index 64ab23ff559b..fcb17308c7e7 100644 --- a/net/ipv6/netfilter/nf_conntrack_reasm.c +++ b/net/ipv6/netfilter/nf_conntrack_reasm.c @@ -251,7 +251,7 @@ static int nf_ct_frag6_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 = fq->q.fragments_tail; diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c index 25ec8001898d..13540779a2c7 100644 --- a/net/ipv6/reassembly.c +++ b/net/ipv6/reassembly.c @@ -187,7 +187,7 @@ static int ip6_frag_queue(struct net *net, /* 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; -- 2.51.0