diff options
author | Ville Nuorvala <vnuorval@tcs.hut.fi> | 2006-10-17 01:11:11 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-18 22:55:28 -0400 |
commit | e0eda7bbaae48ea56f1f1943ea90df72d459b9b0 (patch) | |
tree | fc2f0c3c98a201d337a3ef9c67ff44f573b28a65 /net | |
parent | 4251320fa2ef93207fbefeb2eda2d265b84fc116 (diff) |
[IPV6]: Clean up BACKTRACK().
The fn check is unnecessary as fn can never be NULL in BACKTRACK().
Signed-off-by: Ville Nuorvala <vnuorval@tcs.hut.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/route.c | 2 |
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, | |||
484 | do { \ | 484 | do { \ |
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; \ |