public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops.
@ 2008-02-08 11:24 Rami Rosen
  2008-02-08 11:36 ` Denis V. Lunev
  0 siblings, 1 reply; 4+ messages in thread
From: Rami Rosen @ 2008-02-08 11:24 UTC (permalink / raw)
  To: David Miller, den, netdev

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

Hi,
  This patches removes dst_net member (a pointer to struct net)
  of dst_ops (/include/net/dst.h).
	
  Current network namespace implementation does not use it at all.

Denis - any comments ?
	

Regards,
Rami Rosen


Signed-off-by: Rami Rosen <ramirose@gmail.com>

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 284 bytes --]

diff --git a/include/net/dst.h b/include/net/dst.h
index e3ac7d0..ad06622 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -102,7 +102,6 @@ struct dst_ops
 
 	atomic_t		entries;
 	struct kmem_cache 		*kmem_cachep;
-	struct net              *dst_net;
 };
 
 #ifdef __KERNEL__

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

* Re: [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops.
  2008-02-08 11:24 [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops Rami Rosen
@ 2008-02-08 11:36 ` Denis V. Lunev
  2008-02-08 12:33   ` Daniel Lezcano
  0 siblings, 1 reply; 4+ messages in thread
From: Denis V. Lunev @ 2008-02-08 11:36 UTC (permalink / raw)
  To: Rami Rosen; +Cc: David Miller, netdev, dlezcano

This has been added by the Daniel Lezcano <dlezcano@fr.ibm.com> in the
commit d4fa26ff44e31c2636a985e3092e2cd55d8045de. It looks to me a
preparatory staff for IPv6 namespacing.

I think this is not needed in 2.6.25  but will be required in 2.6.26
very soon.

Regards,
	Den

On Fri, 2008-02-08 at 13:24 +0200, Rami Rosen wrote:
> Hi,
>   This patches removes dst_net member (a pointer to struct net)
>   of dst_ops (/include/net/dst.h).
> 	
>   Current network namespace implementation does not use it at all.
> 
> Denis - any comments ?
> 	
> 
> Regards,
> Rami Rosen
> 
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>


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

* Re: [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops.
  2008-02-08 11:36 ` Denis V. Lunev
@ 2008-02-08 12:33   ` Daniel Lezcano
  2008-02-08 12:45     ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Lezcano @ 2008-02-08 12:33 UTC (permalink / raw)
  To: Denis V. Lunev; +Cc: Rami Rosen, David Miller, netdev

Denis V. Lunev wrote:
> This has been added by the Daniel Lezcano <dlezcano@fr.ibm.com> in the
> commit d4fa26ff44e31c2636a985e3092e2cd55d8045de. It looks to me a
> preparatory staff for IPv6 namespacing.
> 
> I think this is not needed in 2.6.25  but will be required in 2.6.26
> very soon.

Yes, this is right, I posted this one just before sending ipv6 routing.
Unfortunately, I posted ipv6 routing per namespace when net-2.6.25 closed.

We can remove it for net-2.6 and I can repost it for net-2.6.26, if you 
want. Or we can just keep it ...

   -- Daniel

ps : thanks Denis :)

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

* Re: [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops.
  2008-02-08 12:33   ` Daniel Lezcano
@ 2008-02-08 12:45     ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2008-02-08 12:45 UTC (permalink / raw)
  To: dlezcano; +Cc: den, ramirose, netdev

From: Daniel Lezcano <dlezcano@fr.ibm.com>
Date: Fri, 08 Feb 2008 13:33:49 +0100

> Denis V. Lunev wrote:
> > This has been added by the Daniel Lezcano <dlezcano@fr.ibm.com> in the
> > commit d4fa26ff44e31c2636a985e3092e2cd55d8045de. It looks to me a
> > preparatory staff for IPv6 namespacing.
> > 
> > I think this is not needed in 2.6.25  but will be required in 2.6.26
> > very soon.
> 
> Yes, this is right, I posted this one just before sending ipv6 routing.
> Unfortunately, I posted ipv6 routing per namespace when net-2.6.25 closed.
> 
> We can remove it for net-2.6 and I can repost it for net-2.6.26, if you 
> want. Or we can just keep it ...

Let's just keep it in there for now.

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

end of thread, other threads:[~2008-02-08 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08 11:24 [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops Rami Rosen
2008-02-08 11:36 ` Denis V. Lunev
2008-02-08 12:33   ` Daniel Lezcano
2008-02-08 12:45     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox