[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081030042241.GA15999@x200.localdomain>
Date: Thu, 30 Oct 2008 07:22:41 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: netdev@...r.kernel.org, containers@...r.kernel.org
Subject: dynamically allocated dst_ops
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.
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