netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-2.6.25 1/6][CORE] Remove unneeded ifdefs from sysctl_net_core.c
@ 2007-12-01 12:57 Pavel Emelyanov
  2007-12-02  2:05 ` Eric W. Biederman
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Emelyanov @ 2007-12-01 12:57 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Linux Netdev List, devel

They include the whole file, but it is already compiled
out when SYSCTL=n, since it is obj-$(CONFIG_SYSCTL) target
in the Makefile.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

---

diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 113cc72..277c8fa 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -13,8 +13,6 @@
 #include <net/sock.h>
 #include <net/xfrm.h>
 
-#ifdef CONFIG_SYSCTL
-
 ctl_table core_table[] = {
 #ifdef CONFIG_NET
 	{
@@ -151,5 +149,3 @@ ctl_table core_table[] = {
 	},
 	{ .ctl_name = 0 }
 };
-
-#endif
-- 
1.5.3.4


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

* Re: [PATCH net-2.6.25 1/6][CORE] Remove unneeded ifdefs from sysctl_net_core.c
  2007-12-01 12:57 [PATCH net-2.6.25 1/6][CORE] Remove unneeded ifdefs from sysctl_net_core.c Pavel Emelyanov
@ 2007-12-02  2:05 ` Eric W. Biederman
  2007-12-03  8:57   ` Pavel Emelyanov
  0 siblings, 1 reply; 4+ messages in thread
From: Eric W. Biederman @ 2007-12-02  2:05 UTC (permalink / raw)
  To: Pavel Emelyanov; +Cc: Herbert Xu, Linux Netdev List, devel

Pavel Emelyanov <xemul@openvz.org> writes:

> They include the whole file, but it is already compiled
> out when SYSCTL=n, since it is obj-$(CONFIG_SYSCTL) target
> in the Makefile.

Pavel thanks for sending these patches.  Might I ask
for some level of acknowledgement when you rework one of
my patches and send it off.

I suppose this could be a case of duplicate thinking but
this patch looks very familiar.

Eric


> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
>
> ---
>
> diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
> index 113cc72..277c8fa 100644
> --- a/net/core/sysctl_net_core.c
> +++ b/net/core/sysctl_net_core.c
> @@ -13,8 +13,6 @@
>  #include <net/sock.h>
>  #include <net/xfrm.h>
>  
> -#ifdef CONFIG_SYSCTL
> -
>  ctl_table core_table[] = {
>  #ifdef CONFIG_NET
>  	{
> @@ -151,5 +149,3 @@ ctl_table core_table[] = {
>  	},
>  	{ .ctl_name = 0 }
>  };
> -
> -#endif
> -- 
> 1.5.3.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH net-2.6.25 1/6][CORE] Remove unneeded ifdefs from sysctl_net_core.c
  2007-12-02  2:05 ` Eric W. Biederman
@ 2007-12-03  8:57   ` Pavel Emelyanov
  2007-12-03 11:06     ` Eric W. Biederman
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Emelyanov @ 2007-12-03  8:57 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: Herbert Xu, Linux Netdev List, devel

Eric W. Biederman wrote:
> Pavel Emelyanov <xemul@openvz.org> writes:
> 
>> They include the whole file, but it is already compiled
>> out when SYSCTL=n, since it is obj-$(CONFIG_SYSCTL) target
>> in the Makefile.
> 
> Pavel thanks for sending these patches.  Might I ask
> for some level of acknowledgement when you rework one of
> my patches and send it off.

Sure. I though I've been doing exactly this thing. I've said
that unix ctls were from your tree and so on.

> I suppose this could be a case of duplicate thinking but
> this patch looks very familiar.

Hm... Do you mean that this one is from your tree? Sorry then,
I didn't know this. I can resend it with From: <you> if you wish.

> Eric

Thanks,
Pavel

>> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
>>
>> ---
>>
>> diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
>> index 113cc72..277c8fa 100644
>> --- a/net/core/sysctl_net_core.c
>> +++ b/net/core/sysctl_net_core.c
>> @@ -13,8 +13,6 @@
>>  #include <net/sock.h>
>>  #include <net/xfrm.h>
>>  
>> -#ifdef CONFIG_SYSCTL
>> -
>>  ctl_table core_table[] = {
>>  #ifdef CONFIG_NET
>>  	{
>> @@ -151,5 +149,3 @@ ctl_table core_table[] = {
>>  	},
>>  	{ .ctl_name = 0 }
>>  };
>> -
>> -#endif
>> -- 
>> 1.5.3.4
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


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

* Re: [PATCH net-2.6.25 1/6][CORE] Remove unneeded ifdefs from sysctl_net_core.c
  2007-12-03  8:57   ` Pavel Emelyanov
@ 2007-12-03 11:06     ` Eric W. Biederman
  0 siblings, 0 replies; 4+ messages in thread
From: Eric W. Biederman @ 2007-12-03 11:06 UTC (permalink / raw)
  To: Pavel Emelyanov; +Cc: Herbert Xu, Linux Netdev List, devel

Pavel Emelyanov <xemul@openvz.org> writes:

> Eric W. Biederman wrote:
>> Pavel Emelyanov <xemul@openvz.org> writes:
>> 
>>> They include the whole file, but it is already compiled
>>> out when SYSCTL=n, since it is obj-$(CONFIG_SYSCTL) target
>>> in the Makefile.
>> 
>> Pavel thanks for sending these patches.  Might I ask
>> for some level of acknowledgement when you rework one of
>> my patches and send it off.
>
> Sure. I though I've been doing exactly this thing. I've said
> that unix ctls were from your tree and so on.

Ok.  I guess I must have overlooked that attribution.

>> I suppose this could be a case of duplicate thinking but
>> this patch looks very familiar.
>
> Hm... Do you mean that this one is from your tree? Sorry then,
> I didn't know this. I can resend it with From: <you> if you wish.

It is.  But I don't see any of this as needing a resend.  Please
just don't forget me in the future is all I ask.

Eric

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

end of thread, other threads:[~2007-12-03 11:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-01 12:57 [PATCH net-2.6.25 1/6][CORE] Remove unneeded ifdefs from sysctl_net_core.c Pavel Emelyanov
2007-12-02  2:05 ` Eric W. Biederman
2007-12-03  8:57   ` Pavel Emelyanov
2007-12-03 11:06     ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).