From: David Miller <davem@davemloft.net>
To: xemul@openvz.org
Cc: netdev@vger.kernel.org, dlezcano@fr.ibm.com, paulmck@linux.vnet.ibm.com
Subject: Re: [PATCH net-2.6.26 1/2][NETNS]: The net-subsys IDs generator.
Date: Tue, 15 Apr 2008 00:35:35 -0700 (PDT) [thread overview]
Message-ID: <20080415.003535.219653076.davem@davemloft.net> (raw)
In-Reply-To: <480083C2.3050007@openvz.org>
From: Pavel Emelyanov <xemul@openvz.org>
Date: Sat, 12 Apr 2008 13:41:22 +0400
> To make some per-net generic pointers, we need some way to address
> them, i.e. - IDs. This is simple IDA-based IDs generator for pernet
> subsystems.
>
> Addressing questions about potential checkpoint/restart problems:
> these IDs are "lite-offsets" within the net structure and are by no
> means supposed to be exported to the userspace.
>
> Since it will be used in the nearest future by devices only (tun,
> vlan, tunnels, bridge, etc), I make it resemble the functionality
> of register_pernet_device().
>
> The new ids is stored in the *id pointer _before_ calling the init
> callback to make this id available in this callback.
>
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Applied.
prev parent reply other threads:[~2008-04-15 7:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-12 9:41 [PATCH net-2.6.26 1/2][NETNS]: The net-subsys IDs generator Pavel Emelyanov
2008-04-15 7:35 ` David Miller [this message]
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=20080415.003535.219653076.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dlezcano@fr.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=xemul@openvz.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).