[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1499856053-30475-5-git-send-email-zhangjunweimartin@didichuxing.com>
Date: Wed, 12 Jul 2017 18:40:53 +0800
From: martinbj2008@...il.com
To: nhorman@...driver.com, davem@...emloft.net
Cc: netdev@...r.kernel.org, martinbj2008@...il.com,
zhangjunweimartin@...ichuxing.com
Subject: [PATCH v1 net-next 5/5] drop_monitor: increase version when ns support is ready
From: martin Zhang <zhangjunweimartin@...ichuxing.com>
1. increase DM netlink version from 2 to 3, as it now support net ns.
2. netns ok become ture.
Signed-off-by: martin Zhang <zhangjunweimartin@...ichuxing.com>
---
net/core/drop_monitor.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/core/drop_monitor.c b/net/core/drop_monitor.c
index 5828bf2..064128b 100644
--- a/net/core/drop_monitor.c
+++ b/net/core/drop_monitor.c
@@ -489,7 +489,8 @@ static int dropmon_net_event(struct notifier_block *ev_block,
static struct genl_family net_drop_monitor_family __ro_after_init = {
.hdrsize = 0,
.name = "NET_DM",
- .version = 2,
+ .version = 3,
+ .netnsok = 1,
.module = THIS_MODULE,
.ops = dropmon_ops,
.n_ops = ARRAY_SIZE(dropmon_ops),
--
1.8.3.1
Powered by blists - more mailing lists