summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2007-11-13 12:23:21 +0100
committerDavid S. Miller <davem@davemloft.net>2007-11-13 12:23:21 +0100
commited160e839d2e1118529e58b04d52dba703ca629c (patch)
treebe810664611452c2af170116e8deff2baa8cb916 /net/netlink
parent[TEHUTI]: Fix incorrect usage of strncat in bdx_get_drvinfo() (diff)
downloadlinux-ed160e839d2e1118529e58b04d52dba703ca629c.tar.xz
linux-ed160e839d2e1118529e58b04d52dba703ca629c.zip
[NET]: Cleanup pernet operation without CONFIG_NET_NS
If CONFIG_NET_NS is not set, the only namespace is possible. This patch removes list of pernet_operations and cleanups code a bit. This list is not needed if there are no namespaces. We should just call ->init method. Additionally, the ->exit will be called on module unloading only. This case is safe - the code is not discarded. For the in/kernel code, ->exit should never be called. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions