summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Nordlund <kim.nordlund@nokia.com>2006-12-14 01:38:29 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-14 01:48:31 +0100
commit8bce65b95ac167693ae2d706b5341409dca0062d (patch)
treed73baf0f20809543a09a2c9cb27c54003af2d460 /net
parent[SCTP]: Add support for SCTP_CONTEXT socket option. (diff)
downloadlinux-8bce65b95ac167693ae2d706b5341409dca0062d.tar.xz
linux-8bce65b95ac167693ae2d706b5341409dca0062d.zip
[IPV6]: Make fib6_node subtree depend on IPV6_SUBTREES
Make fib6_node 'subtree' depend on IPV6_SUBTREES. Signed-off-by: Kim Nordlund <kim.nordlund@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-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 9f80518aacbd..8c3d56871b50 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -494,7 +494,7 @@ do { \
goto out; \
pn = fn->parent; \
if (FIB6_SUBTREE(pn) && FIB6_SUBTREE(pn) != fn) \
- fn = fib6_lookup(pn->subtree, NULL, saddr); \
+ fn = fib6_lookup(FIB6_SUBTREE(pn), NULL, saddr); \
else \
fn = pn; \
if (fn->fn_flags & RTN_RTINFO) \