From: Daniel Lezcano <dlezcano@fr.ibm.com>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: netdev@vger.kernel.org, containers@lists.osdl.org,
benjamin.thery@bull.net
Subject: Re: dynamically allocated dst_ops
Date: Fri, 31 Oct 2008 14:34:02 +0100 [thread overview]
Message-ID: <490B094A.1080900@fr.ibm.com> (raw)
In-Reply-To: <20081030042622.GA21196@x200.localdomain>
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.
next prev parent reply other threads:[~2008-10-31 13:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 4:26 dynamically allocated dst_ops Alexey Dobriyan
2008-10-31 13:34 ` Daniel Lezcano [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-10-30 4:22 Alexey Dobriyan
2008-10-30 5:36 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=490B094A.1080900@fr.ibm.com \
--to=dlezcano@fr.ibm.com \
--cc=adobriyan@gmail.com \
--cc=benjamin.thery@bull.net \
--cc=containers@lists.osdl.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).