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>
This commit is contained in:
Родитель
811a919135
Коммит
67c408cfa8
|
@ -1464,7 +1464,7 @@ static struct rt6_info *__ip6_route_redirect(struct net *net,
|
||||||
struct fib6_node *fn;
|
struct fib6_node *fn;
|
||||||
|
|
||||||
/* Get the "current" route for this destination and
|
/* Get the "current" route for this destination and
|
||||||
* check if the redirect has come from approriate router.
|
* check if the redirect has come from appropriate router.
|
||||||
*
|
*
|
||||||
* RFC 4861 specifies that redirects should only be
|
* RFC 4861 specifies that redirects should only be
|
||||||
* accepted if they come from the nexthop to the target.
|
* 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)
|
||||||
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 reflect 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 discovery.
|
||||||
*/
|
*/
|
||||||
if (rt->dst.dev == arg->dev &&
|
if (rt->dst.dev == arg->dev &&
|
||||||
dst_metric_raw(&rt->dst, RTAX_MTU) &&
|
dst_metric_raw(&rt->dst, RTAX_MTU) &&
|
||||||
|
|
Загрузка…
Ссылка в новой задаче