OpenVZ Forum


Home » Mailing lists » Devel » [patch 1/1][NETNS] fix fib_frontend compilation error
Re: [patch 1/1][NETNS] fix fib_frontend compilation error [message #23241 is a reply to message #23232] Wed, 14 November 2007 16:14 Go to previous messageGo to previous message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
applied... though I am not too familiar with git and the author has been
set to me rather than you with your signed-off :(

Sorry,
	Den

dlezcano@fr.ibm.com wrote:
> Added net namespace parameter to fib4_rules_init when statically
> defined in fib_frontend.c
> 
> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
> ---
>  net/ipv4/fib_frontend.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux-2.6-netns/net/ipv4/fib_frontend.c
> ===================================================================
> --- linux-2.6-netns.orig/net/ipv4/fib_frontend.c
> +++ linux-2.6-netns/net/ipv4/fib_frontend.c
> @@ -59,7 +59,7 @@ struct fib_table *ip_fib_main_table;
>  #define FIB_TABLE_HASHSZ 1
>  static struct hlist_head fib_table_hash[FIB_TABLE_HASHSZ];
>  
> -static void __init fib4_rules_init(void)
> +static void __init fib4_rules_init(struct net *net)
>  {
>  	ip_fib_local_table = fib_hash_init(RT_TABLE_LOCAL);
>  	hlist_add_head_rcu(&ip_fib_local_table->tb_hlist, &fib_table_hash[0]);
> 

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 2/2] move unneeded data to initdata section
Next Topic: [PATCH 6/6 net-2.6.25][RAW] Consolidate proc interface
Goto Forum:
  


Current Time: Sat Sep 06 21:50:22 GMT 2025

Total time taken to generate the page: 0.11297 seconds