All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 1/1][NETNS] fix fib_frontend compilation error
       [not found] <20071114142443.794857293@mai.toulouse-stg.fr.ibm.com>
@ 2007-11-14 14:24 ` dlezcano-NmTC/0ZBporQT0dZR+AlfA
       [not found]   ` <20071114142523.283777897-WECHFHqYCmGD/CxQmPlnQ0FT0OZdM7KVQQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: dlezcano-NmTC/0ZBporQT0dZR+AlfA @ 2007-11-14 14:24 UTC (permalink / raw)
  To: den-3ImXcnM4P+0; +Cc: containers-qjLDD68F18O7TbgM5vRIOg

[-- Attachment #1: fix-fib-frontend-compilation.patch --]
[-- Type: text/plain, Size: 843 bytes --]

Added net namespace parameter to fib4_rules_init when statically
defined in fib_frontend.c

Signed-off-by: Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
---
 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]);

-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [patch 1/1][NETNS] fix fib_frontend compilation error
       [not found]   ` <20071114142523.283777897-WECHFHqYCmGD/CxQmPlnQ0FT0OZdM7KVQQ4Iyu8u01E@public.gmane.org>
@ 2007-11-14 16:16     ` Denis V. Lunev
       [not found]       ` <473B1F63.5040105-3ImXcnM4P+0@public.gmane.org>
  2007-11-16 11:33     ` Denis V. Lunev
  1 sibling, 1 reply; 5+ messages in thread
From: Denis V. Lunev @ 2007-11-14 16:16 UTC (permalink / raw)
  To: dlezcano-NmTC/0ZBporQT0dZR+AlfA; +Cc: containers-qjLDD68F18O7TbgM5vRIOg

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-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org wrote:
> Added net namespace parameter to fib4_rules_init when statically
> defined in fib_frontend.c
> 
> Signed-off-by: Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
> ---
>  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]);
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [patch 1/1][NETNS] fix fib_frontend compilation error
       [not found]       ` <473B1F63.5040105-3ImXcnM4P+0@public.gmane.org>
@ 2007-11-14 16:18         ` Daniel Lezcano
       [not found]           ` <473B1FC2.9030003-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Lezcano @ 2007-11-14 16:18 UTC (permalink / raw)
  To: Denis V. Lunev; +Cc: containers-qjLDD68F18O7TbgM5vRIOg

Denis V. Lunev wrote:
> applied... though I am not too familiar with git and the author has been
> set to me rather than you with your signed-off :(

It's ok :)

I think you should specify the --author option when commiting.

By the way, I see that there are some patches without your Signed-off 
and you are in the delivery path, shouldn't you Signed-off all the patches ?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [patch 1/1][NETNS] fix fib_frontend compilation error
       [not found]           ` <473B1FC2.9030003-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
@ 2007-11-15 13:31             ` Eric W. Biederman
  0 siblings, 0 replies; 5+ messages in thread
From: Eric W. Biederman @ 2007-11-15 13:31 UTC (permalink / raw)
  To: Daniel Lezcano; +Cc: containers-qjLDD68F18O7TbgM5vRIOg, Denis V. Lunev

Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org> writes:

> Denis V. Lunev wrote:
>> applied... though I am not too familiar with git and the author has been
>> set to me rather than you with your signed-off :(
>
> It's ok :)
>
> I think you should specify the --author option when commiting.

My normal technique here is to simply save the entire email message
and then do git-am email.txt and git picks it all up from the
headers.

Eric

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [patch 1/1][NETNS] fix fib_frontend compilation error
       [not found]   ` <20071114142523.283777897-WECHFHqYCmGD/CxQmPlnQ0FT0OZdM7KVQQ4Iyu8u01E@public.gmane.org>
  2007-11-14 16:16     ` Denis V. Lunev
@ 2007-11-16 11:33     ` Denis V. Lunev
  1 sibling, 0 replies; 5+ messages in thread
From: Denis V. Lunev @ 2007-11-16 11:33 UTC (permalink / raw)
  To: dlezcano-NmTC/0ZBporQT0dZR+AlfA; +Cc: containers-qjLDD68F18O7TbgM5vRIOg

apparently, the patch is not enough, fib4_rules_init is called from
non-init function. I'll drop this one during port to 2.6.25 tree

dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org wrote:
> Added net namespace parameter to fib4_rules_init when statically
> defined in fib_frontend.c
> 
> Signed-off-by: Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
> ---
>  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]);
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-16 11:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20071114142443.794857293@mai.toulouse-stg.fr.ibm.com>
2007-11-14 14:24 ` [patch 1/1][NETNS] fix fib_frontend compilation error dlezcano-NmTC/0ZBporQT0dZR+AlfA
     [not found]   ` <20071114142523.283777897-WECHFHqYCmGD/CxQmPlnQ0FT0OZdM7KVQQ4Iyu8u01E@public.gmane.org>
2007-11-14 16:16     ` Denis V. Lunev
     [not found]       ` <473B1F63.5040105-3ImXcnM4P+0@public.gmane.org>
2007-11-14 16:18         ` Daniel Lezcano
     [not found]           ` <473B1FC2.9030003-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2007-11-15 13:31             ` Eric W. Biederman
2007-11-16 11:33     ` Denis V. Lunev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.