[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081029.223617.130281870.davem@davemloft.net>
Date: Wed, 29 Oct 2008 22:36:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: netdev@...r.kernel.org, containers@...r.kernel.org
Subject: Re: dynamically allocated dst_ops
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Thu, 30 Oct 2008 07:22:41 +0300
> They are bogus and should be implanted into struct net directly.
> In garbage collector hook, just use container_of() (once) to get struct net.
> ->dst_net is useless after that.
>
> I'm going to use this trick for xfrm.
This sounds good to me :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists