[Devel] [PATCH rh7 05/14] Port diff-ve-allow-taskstats-netlink-in-netns
Vladimir Davydov
vdavydov at parallels.com
Tue Jun 23 09:29:41 PDT 2015
In fact this patch was in 084.9 already, but was committed in kernel-ve,
so this is a move from kernel-ve to kernel-patches.
From: Konstantin Khlebnikov <khlebnikov at openvz.org>
Date: Thu, 12 Sep 2013 15:25:31 +0400
Subject: [vzlin-dev] [PATCH rh6] ve: allow taskstats netlink in netns
This patch adds support for iotop inside containers.
Task-exit notification isn't pidns aware and isn't required by iotop.
https://bugzilla.openvz.org/show_bug.cgi?id=2549
Signed-off-by: Konstantin Khlebnikov <khlebnikov at openvz.org>
Acked-by: Andrew Vagin <avagin at openvz.org>
=============================================================================
Related to https://jira.sw.ru/browse/PSBM-33650
Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
---
kernel/taskstats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/taskstats.c b/kernel/taskstats.c
index 145bb4d3bd4d..05f8030c1e6a 100644
--- a/kernel/taskstats.c
+++ b/kernel/taskstats.c
@@ -46,6 +46,7 @@ static struct genl_family family = {
.name = TASKSTATS_GENL_NAME,
.version = TASKSTATS_GENL_VERSION,
.maxattr = TASKSTATS_CMD_ATTR_MAX,
+ .netnsok = true,
};
static const struct nla_policy taskstats_cmd_get_policy[TASKSTATS_CMD_ATTR_MAX+1] = {
--
2.1.4
More information about the Devel
mailing list