aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r--net/ipv6/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index a1b0f075462e..263c057d17c6 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -484,7 +484,7 @@ int rt6_route_rcv(struct net_device *dev, u8 *opt, int len,
484do { \ 484do { \
485 if (rt == &ip6_null_entry) { \ 485 if (rt == &ip6_null_entry) { \
486 struct fib6_node *pn; \ 486 struct fib6_node *pn; \
487 while (fn) { \ 487 while (1) { \
488 if (fn->fn_flags & RTN_TL_ROOT) \ 488 if (fn->fn_flags & RTN_TL_ROOT) \
489 goto out; \ 489 goto out; \
490 pn = fn->parent; \ 490 pn = fn->parent; \