summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorAlexander Alemayhu <alexander@alemayhu.com>2017-01-07 17:53:00 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-09 16:34:15 -0500
commit67c408cfa8862fe7e45b3a1f762f7140e03b7217 (patch)
tree453dc399333186f6233cb31b8418093fd2409358 /net/ipv6
parent811a919135b980bac8009d042acdccf10dc1ef5e (diff)
ipv6: fix typos
o s/approriate/appropriate o s/discouvery/discovery Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 8417c41d8ec8..ce5aaf448c54 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -1464,7 +1464,7 @@ static struct rt6_info *__ip6_route_redirect(struct net *net,
1464 struct fib6_node *fn; 1464 struct fib6_node *fn;
1465 1465
1466 /* Get the "current" route for this destination and 1466 /* Get the "current" route for this destination and
1467 * check if the redirect has come from approriate router. 1467 * check if the redirect has come from appropriate router.
1468 * 1468 *
1469 * RFC 4861 specifies that redirects should only be 1469 * RFC 4861 specifies that redirects should only be
1470 * accepted if they come from the nexthop to the target. 1470 * accepted if they come from the nexthop to the target.
@@ -2768,7 +2768,7 @@ static int rt6_mtu_change_route(struct rt6_info *rt, void *p_arg)
2768 old MTU is the lowest MTU in the path, update the route PMTU 2768 old MTU is the lowest MTU in the path, update the route PMTU
2769 to reflect the increase. In this case if the other nodes' MTU 2769 to reflect the increase. In this case if the other nodes' MTU
2770 also have the lowest MTU, TOO BIG MESSAGE will be lead to 2770 also have the lowest MTU, TOO BIG MESSAGE will be lead to
2771 PMTU discouvery. 2771 PMTU discovery.
2772 */ 2772 */
2773 if (rt->dst.dev == arg->dev && 2773 if (rt->dst.dev == arg->dev &&
2774 dst_metric_raw(&rt->dst, RTAX_MTU) && 2774 dst_metric_raw(&rt->dst, RTAX_MTU) &&