Commit 2d875337 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji

[IPV6]: Fix several comment spelling errors and typos.

parent 03cc059d
...@@ -1338,7 +1338,7 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len) ...@@ -1338,7 +1338,7 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len)
* 2) Configure prefixes with the auto flag set * 2) Configure prefixes with the auto flag set
*/ */
/* Avoid arithemtic overflow. Really, we could /* Avoid arithmetic overflow. Really, we could
save rt_expires in seconds, likely valid_lft, save rt_expires in seconds, likely valid_lft,
but it would require division in fib gc, that it but it would require division in fib gc, that it
not good. not good.
......
...@@ -367,7 +367,7 @@ ipv6_invert_rthdr(struct sock *sk, struct ipv6_rt_hdr *hdr) ...@@ -367,7 +367,7 @@ ipv6_invert_rthdr(struct sock *sk, struct ipv6_rt_hdr *hdr)
Inverted result: Inverted result:
[ H_prev -> ... -> H1 ] daddr =sender [ H_prev -> ... -> H1 ] daddr =sender
Note, that IP output engine will rewrire this rthdr Note, that IP output engine will rewrite this rthdr
by rotating it left by one addr. by rotating it left by one addr.
*/ */
......
...@@ -942,7 +942,7 @@ static void fib6_del_route(struct fib6_node *fn, struct rt6_info **rtp, ...@@ -942,7 +942,7 @@ static void fib6_del_route(struct fib6_node *fn, struct rt6_info **rtp,
} }
fn = fn->parent; fn = fn->parent;
} }
/* No more references are possiible at this point. */ /* No more references are possible at this point. */
if (atomic_read(&rt->rt6i_ref) != 1) BUG(); if (atomic_read(&rt->rt6i_ref) != 1) BUG();
} }
......
...@@ -526,7 +526,7 @@ static void ip6_frag_queue(struct frag_queue *fq, struct sk_buff *skb, ...@@ -526,7 +526,7 @@ static void ip6_frag_queue(struct frag_queue *fq, struct sk_buff *skb,
} else { } else {
struct sk_buff *free_it = next; struct sk_buff *free_it = next;
/* Old fragmnet is completely overridden with /* Old fragment is completely overridden with
* new one drop it. * new one drop it.
*/ */
next = next->next; next = next->next;
......
...@@ -785,7 +785,7 @@ int ip6_route_add(struct in6_rtmsg *rtmsg, struct nlmsghdr *nlh, void *_rtattr) ...@@ -785,7 +785,7 @@ int ip6_route_add(struct in6_rtmsg *rtmsg, struct nlmsghdr *nlh, void *_rtattr)
/* IPv6 strictly inhibits using not link-local /* IPv6 strictly inhibits using not link-local
addresses as nexthop address. addresses as nexthop address.
Otherwise, router will not able to send redirects. Otherwise, router will not able to send redirects.
It is very good, but in some (rare!) curcumstances It is very good, but in some (rare!) circumstances
(SIT, PtP, NBMA NOARP links) it is handy to allow (SIT, PtP, NBMA NOARP links) it is handy to allow
some exceptions. --ANK some exceptions. --ANK
*/ */
...@@ -1365,10 +1365,10 @@ static int rt6_mtu_change_route(struct rt6_info *rt, void *p_arg) ...@@ -1365,10 +1365,10 @@ static int rt6_mtu_change_route(struct rt6_info *rt, void *p_arg)
*/ */
/* /*
If new MTU is less than route PMTU, this new MTU will be the If new MTU is less than route PMTU, this new MTU will be the
lowest MTU in the path, update the route PMTU to refect PMTU lowest MTU in the path, update the route PMTU to reflect PMTU
decreases; if new MTU is greater than route PMTU, and the decreases; if new MTU is greater than route PMTU, and the
old MTU is the lowest MTU in the path, update the route PMTU old MTU is the lowest MTU in the path, update the route PMTU
to refect the increase. In this case if the other nodes' MTU to reflect the increase. In this case if the other nodes' MTU
also have the lowest MTU, TOO BIG MESSAGE will be lead to also have the lowest MTU, TOO BIG MESSAGE will be lead to
PMTU discouvery. PMTU discouvery.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment