aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-01-10 06:21:09 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:01:24 -0500
commit61a0265344786a548e8a0b26cb668e78a71f9602 (patch)
treecebfe266232678baba5b3d48f46b3e0f160bebdb /include/net/ip_fib.h
parent5fd30ee7c48bf7f9cd16ab44c8a09fa4a57cc21d (diff)
[NETNS]: Add namespace to API for routing /proc entries creation.
This adds netns parameter to fib_proc_init/exit and replaces __init specifier with __net_init. After this, we will not yet have these proc files show info from the specific namespace - this will be done when these tables become namespaced. Acked-by: Benjamin Thery <benjamin.thery@bull.net> Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r--include/net/ip_fib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index d70b9b49f8b1..f74cbb21af45 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -253,8 +253,8 @@ static inline void fib_res_put(struct fib_result *res)
253} 253}
254 254
255#ifdef CONFIG_PROC_FS 255#ifdef CONFIG_PROC_FS
256extern int fib_proc_init(void); 256extern int __net_init fib_proc_init(struct net *net);
257extern void fib_proc_exit(void); 257extern void __net_exit fib_proc_exit(struct net *net);
258#endif 258#endif
259 259
260#endif /* _NET_FIB_H */ 260#endif /* _NET_FIB_H */