summaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rw-r--r--include/net/ip6_fib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index f9cde44f93b4..7be4f4e3a0f2 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -50,9 +50,9 @@ struct fib6_node
struct fib6_node *parent;
struct fib6_node *left;
struct fib6_node *right;
-
+#ifdef CONFIG_IPV6_SUBTREES
struct fib6_node *subtree;
-
+#endif
struct rt6_info *leaf;
__u16 fn_bit; /* bit key */