[IPV4]: fib hash|trie initialization
Initialization of the slab cache's should be done when IP is initialized to make sure of available memory, and that code can be marked __init. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d717a9a620
commit
7f9b80529b
@@ -231,8 +231,9 @@ extern int fib_sync_down(__be32 local, struct net_device *dev, int force);
|
||||
extern int fib_sync_up(struct net_device *dev);
|
||||
extern __be32 __fib_res_prefsrc(struct fib_result *res);
|
||||
|
||||
/* Exported by fib_hash.c */
|
||||
extern struct fib_table *fib_hash_init(u32 id);
|
||||
/* Exported by fib_{hash|trie}.c */
|
||||
extern void fib_hash_init(void);
|
||||
extern struct fib_table *fib_hash_table(u32 id);
|
||||
|
||||
static inline void fib_combine_itag(u32 *itag, struct fib_result *res)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user