lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 15 Apr 2008 00:35:35 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	xemul@...nvz.org
Cc:	netdev@...r.kernel.org, dlezcano@...ibm.com,
	paulmck@...ux.vnet.ibm.com
Subject: Re: [PATCH net-2.6.26 1/2][NETNS]: The net-subsys IDs generator.

From: Pavel Emelyanov <xemul@...nvz.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@...nvz.org>

Applied.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ