[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <490B094A.1080900@fr.ibm.com>
Date: Fri, 31 Oct 2008 14:34:02 +0100
From: Daniel Lezcano <dlezcano@...ibm.com>
To: Alexey Dobriyan <adobriyan@...il.com>
CC: netdev@...r.kernel.org, containers@...ts.osdl.org,
benjamin.thery@...l.net
Subject: Re: dynamically allocated dst_ops
Alexey Dobriyan wrote:
> They are bogus and should be implanted into struct net directly.
Why they are bogus ?
> In garbage collector hook, just use container_of() (once) to get struct net.
> ->dst_net is useless after that.
Yep, that looks like a better solution.
> I'm going to use this trick for xfrm.
>
> And if someone has ideas on how to overcome header difficulties, please,
> submit a patch.
--
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