[IPV6] ROUTE: Put SUBTREE() as FIB6_SUBTREE() into ip6_fib.h for future use.
Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: Ville Nuorvala <vnuorval@tcs.hut.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
fefc2a6c20
commit
7fc33165a7
@@ -60,6 +60,11 @@ struct fib6_node
|
||||
__u32 fn_sernum;
|
||||
};
|
||||
|
||||
#ifndef CONFIG_IPV6_SUBTREES
|
||||
#define FIB6_SUBTREE(fn) NULL
|
||||
#else
|
||||
#define FIB6_SUBTREE(fn) ((fn)->subtree)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* routing information
|
||||
|
Reference in New Issue
Block a user