[IPV6]: Make fib6_node subtree depend on IPV6_SUBTREES

Make fib6_node 'subtree' depend on IPV6_SUBTREES.

Signed-off-by: Kim Nordlund <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Kim Nordlund 2006-12-13 16:38:29 -08:00 • committed by David S. Miller
commit 8bce65b95a
2 changed files with 3 additions and 3 deletions

View file

@ -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) \