[NETNS]: Introduce a netns_core structure.
commit8efa6e93cb2666dceafc4844057fdcb9aa324fb7
authorPavel Emelyanov <xemul@openvz.org>
Tue, 1 Apr 2008 02:41:14 +0000 (31 19:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Apr 2008 02:41:14 +0000 (31 19:41 -0700)
tree3fbf8da25edf1b942411d89896400effd5a83419
parent3edf8fa5ccf10688a9280b5cbca8ed3947c42866
[NETNS]: Introduce a netns_core structure.

There's already some stuff on the struct net, that should better
be folded into netns_core structure. I'm making the per-proto inuse
counter be per-net also, which is also a candidate for this, so
introduce this structure and populate it a bit.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h
include/net/netns/core.h [new file with mode: 0644]
net/core/sysctl_net_core.c
net/socket.c