[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081030042622.GA21196@x200.localdomain>
Date: Thu, 30 Oct 2008 07:26:22 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: netdev@...r.kernel.org, containers@...ts.osdl.org
Cc: benjamin.thery@...l.net, dlezcano@...ibm.com
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